* Some doubts in Persistent Reservation
@ 2006-11-24 7:55 djshetty
2006-11-24 15:02 ` James Bottomley
0 siblings, 1 reply; 2+ messages in thread
From: djshetty @ 2006-11-24 7:55 UTC (permalink / raw)
To: linux-scsi
Hi,
I have been trying to understand PERSISTENT RESERVATION as per SCSI SPC-3
standards. I had the following two doubts:
1. Is persistent reservation applied on a target port or on a particular
LUN connected to a target port. The SCOPE of persistent reservation says
"Entire LOGICAL UNIT", whereas the registration is done for a target PORT.
Hence the confusion.
2. Is there any precise use of the PRGeneration key? I guessed it must be
used for knowing whether any changes have been on the target (with regards
to persistent reservation) since the previous command executed.
Regards,
Dhiraj.
--
View this message in context: http://www.nabble.com/Some-doubts-in-Persistent-Reservation-tf2696285.html#a7519006
Sent from the linux-scsi mailing list archive at Nabble.com.
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: Some doubts in Persistent Reservation
2006-11-24 7:55 Some doubts in Persistent Reservation djshetty
@ 2006-11-24 15:02 ` James Bottomley
0 siblings, 0 replies; 2+ messages in thread
From: James Bottomley @ 2006-11-24 15:02 UTC (permalink / raw)
To: djshetty; +Cc: linux-scsi
On Thu, 2006-11-23 at 23:55 -0800, djshetty wrote:
> 1. Is persistent reservation applied on a target port or on a particular
> LUN connected to a target port. The SCOPE of persistent reservation says
> "Entire LOGICAL UNIT", whereas the registration is done for a target PORT.
> Hence the confusion.
For multi-ported devices it's per LUN per port (unless you specify all
target ports).
> 2. Is there any precise use of the PRGeneration key? I guessed it must be
> used for knowing whether any changes have been on the target (with regards
> to persistent reservation) since the previous command executed.
That's the stated use in section 5.6.5.3 of SPC-3, yes.
James
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2006-11-24 15:02 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-11-24 7:55 Some doubts in Persistent Reservation djshetty
2006-11-24 15:02 ` James Bottomley
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox