Re: [PATCH 2/2] dm mpath: attach scsi_dh during table resume

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

 



On 04/25/2013 03:50 PM, Mikulas Patocka wrote:
On Thu, 25 Apr 2013, Mike Snitzer wrote:
The handler that is automatically attached _should_ be the correct
handler.  We now have the .match() hook for scsi_dh and it has made for
reliable scsi_dh attachment of the correct handler.

The EMC devices work with both ALUA and EMC handlers - so there is no one
"correct" handler, the correct handler is the one that the user specified
in multipath configuration.

I think it's more absolute than that; if a Clariion array is in failover mode 4 (ALUA) then it's incorrect to use scsi_dh_emc and vice-versa.

The user can configure this in multipath.conf but it does not make it correct. The correct handler is the one that matches the configured failover mode of the array.

The ALUA handler scsi_device_tgps() in its match function but since the scsi_dh_emc match function only looks at the vendor/product it's impossible for it to make the correct decision.

The array can tell us what mode it's running in - teaching scsi_dh_emc to do this would seem to be an improvement.

Regards,
Bryn.

--
To unsubscribe from this list: send the line "unsubscribe linux-scsi" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [SCSI Target Devel]     [Linux SCSI Target Infrastructure]     [Kernel Newbies]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Linux IIO]     [Samba]     [Device Mapper]
  Powered by Linux