public inbox for linux-scsi@vger.kernel.org
 help / color / mirror / Atom feed
* SCSI reserve/release
@ 2003-02-27 20:51 Linda Lee
  2003-02-27 22:53 ` Kurt Garloff
  2003-02-27 23:21 ` Doug Ledford
  0 siblings, 2 replies; 4+ messages in thread
From: Linda Lee @ 2003-02-27 20:51 UTC (permalink / raw)
  To: linux-scsi


I'd like to simulate the SCSI-3 Persistent Group
Reservation of Solaris on Linux using Linux
reserve/release mechanism.  My understanding is that
to make reservation on the device on Linux, I can
issue ioctl() with SCSI_IOCTL_SEND_COMMAND along with
SCSI command "RESERVE" as part of the input data. It
is similar for the release mechanism.  Instead of
"RESERVE" command in the ioctl, put "RELEASE" instead.

Regarding the SCSI reset, I can issue ioctl() with
SG_SCSI_RESET.

Is my approach correct?  Does anyone had done this
before?

Thanks,

Linda

__________________________________________________
Do you Yahoo!?
Yahoo! Tax Center - forms, calculators, tips, more
http://taxes.yahoo.com/

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2003-02-27 23:32 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-02-27 20:51 SCSI reserve/release Linda Lee
2003-02-27 22:53 ` Kurt Garloff
2003-02-27 23:32   ` Doug Ledford
2003-02-27 23:21 ` Doug Ledford

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox