Re: [Iscsitarget-devel] stgt does not preempt SCSI-2 reservations; may break MS Cluster Service failover

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Tue, Sep 08, 2009 at 07:54:55AM +0900, FUJITA Tomonori wrote:
> On Mon, 07 Sep 2009 10:16:06 +0200
> Florian Haas <florian.haas@xxxxxxxxxx> wrote:
> 
> > I am also failing to understand why the MS initiator would use the
> > SERVICE ACTION IN detour when upon initial login it just uses standard
> > INQUIRY commands and READ CAPACITY.
> 
> Linux kernel also tries READ_CAPACITY_16 first (it doesn't if it knows
> that READ_CAPACITY_16 doesn't work with a device).
> 
> I think that rejecting READ_CAPACITY_16 with Reservation Conflict is
> a bug. Can you try the following patch.

Being a SCSI illiterate myself,
I certainly will not argue with someone working in the SCSI field
for years about compliance with (already superseded) SCSI specs.

SCSI2 9.1.7 Reservations says
 ... READ CAPACITY ... is unaffected by _extent_ reservations.

Now, a LUN reservation is or is not an extent reservation?

Is this a bug in the target implementation, or is it a bug in the
initiator, trying a READ CAPACITY before a reservation?

If it is actually an initiator bug, we probably still need to work
around it, because it is the MS initiator, and the work around is
harmless in this case?

> I guess, if READ_CAPACITY_16 succeeds, MSCS goes forward.

Thanks, we will see where it wants to go today ;)

-- 
: Lars Ellenberg
: LINBIT | Your Way to High Availability
: DRBD/HA support and consulting http://www.linbit.com

DRBD® and LINBIT® are registered trademarks of LINBIT, Austria.
--
To unsubscribe from this list: send the line "unsubscribe stgt" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux SCSI]     [Linux RAID]     [Linux Clusters]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]

  Powered by Linux