SCSI Group Reservation

From: chandrasekhar.nagaraj (chandrasekhar.nagaraj@patni.com)
Date: Wed Jan 01 2003 - 06:09:05 EST


Hi ,
I am writing a code in a driver for issuing persistent group reservation to
a SCSI disk.
For this I am using the functions scsi_allocate_request to create the
request packet and then calling scsi_wait_req (with command as
PERSISTENT_RESERVE_OUT and service action as Register) to transport the
command to the SCSI disk.
The problem I am facing is I am not able to send the parameter list
(consisting of Reservation key,Service action reservation key etc).with the
command.
The error message which I get is "Invalid field in parameter list" . I guess
this error came because the parameter list
was not supplied .

Can anybody suggest how to send the command and the parameter list together
i.e. whether the command parameter of scsi_wait_req will have both the
command and parameter list together ?

Thanks and Regards
Chandrasekhar

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Tue Jan 07 2003 - 22:00:14 EST