Re: More Hot Unplug/Plug work

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

 



Neil Brown wrote:
I'm not sure how this fits with imposing platform constraints.
As platform constraints are closely tied to metadata types, it might be OK
to have a metadata-specific tags (imsm=???) and leave to details to the
metadata handler???

Dan: help me understand these platform constraints: what is the most complex
  constraint that you can think of that you might want to impose?

At this point we really only need one constraint: prevent controller spanning. If for example I take an existing imsm member off of ahci and reattach it via a usb-to-sata enclosure mdadm needs a policy to prevent associating that drive with anything on ahci.

In a pinch this policy can be disabled, but you wouldn't want to rebuild across usb or any other controller because the option-rom only talks ahci and will mark the drive missing.

So something like DOMAIN spanning=imsm, to tell mdadm to follow imsm rules for this domain. Where 'spanning' is policy tag??

--
Dan

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

[Index of Archives]     [Linux RAID Wiki]     [ATA RAID]     [Linux SCSI Target Infrastructure]     [Linux Block]     [Linux IDE]     [Linux SCSI]     [Linux Hams]     [Device Mapper]     [Device Mapper Cryptographics]     [Kernel]     [Linux Admin]     [Linux Net]     [GFS]     [RPM]     [git]     [Yosemite Forum]


  Powered by Linux