Re: [PATCH] scsi/mptsas: add RAID devices in ascending ID order

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

 



Hi Eric,

thanks for your response.

   The patch makes sure that arrays are added in ascending
   VolumeID order.

Rejected. Ascending ID ordering does not address all cases. There is no guarantee which target ids are assigned by firmware to volumes when volumes are created.

That's what my patch was supposed to handle: No matter what the ordering of IDs by firmware is, the devices are registered in ascending ID order.

I've made similar ordering proposals before to this mailing list. All been rejected.

Do you have a thread reference for me? I'd like to understand the arguments better. I find this strange because scanning in ascending order has always been the common case in drivers as well as in the mid layer, AFAIK.

I suggest that you not map your devices
to /dev/sda, but instead use persistent
device labels or names.  Most distro's
now days ship with Logical Volume Manager
that does this for you.

I know it. The problem is that there are important distros out there that do support persistent device names and LVM, but don't enable them by default. My patch was intended to implement the "principle of least surprise" for users of such distributions with little experience.
More so because mptspi and mptsas behave differently; the problem
I was talking about is currently only encountered with mptsas.

Regards,
Martin

--
Martin Wilck                Phone: +49 5251 8 15113
Fujitsu Siemens Computers   Fax:   +49 5251 8 20409
Heinz-Nixdorf-Ring 1        mailto:Martin.Wilck@xxxxxxxxxxxxxxxxxxx
D-33106 Paderborn           http://www.fujitsu-siemens.com/primergy
-
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