lkml.org 
[lkml]   [2003]   [Jan]   [1]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectSCSI Group Reservation
Date
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/

\
 
 \ /
  Last update: 2005-03-22 13:32    [W:0.097 / U:0.572 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site