Added persistent reservation ownership tests.

Created tests for all persistent reservation types that
verifies reservation ownership based on reservation
type.
This commit is contained in:
Lee Duncan
2013-02-20 13:09:01 -08:00
committed by Ronnie Sahlberg
parent c4df17e794
commit 8493ec5837
6 changed files with 208 additions and 3 deletions
+1
View File
@@ -192,6 +192,7 @@ int prout_reserve(struct iscsi_context *iscsi, int lun,
unsigned long long key, enum scsi_persistent_out_type pr_type);
int prout_release(struct iscsi_context *iscsi, int lun,
unsigned long long key, enum scsi_persistent_out_type pr_type);
int prin_verify_not_reserved(struct iscsi_context *iscsi, int lun);
int prin_verify_reserved_as(struct iscsi_context *iscsi, int lun,
unsigned long long key, enum scsi_persistent_out_type pr_type);
int verify_read_works(struct iscsi_context *iscsi, int lun, unsigned char *buf);