[linux-lvm] automatically filter disks with imsm or ddf superblocks
Miquel van Smoorenburg
mikevs at xs4all.net
Wed Sep 5 15:47:53 UTC 2012
An earlier version of this patch was sent to the debian bugsystem (bug
684712). I am now submitting this as an RFC to the upstream maintainers.
The linux md raid subsystem supports more than just MD formatted
superblocks - it also works with DDF and IMSM (Intel Matrix RAID)
superblocks.
Because of that I added reckognition of those types of superblocks to
lvm, similar to what is already being done for md.
Note that dev-ddf.c and dev-imsm.c have "Copyright: Miquel van
Smoorenburg" headers.. it looks like lvm only has redhat copyrighted
stuff in it. Feel free to remove my copyright there, and/or add redhat
copyright. The contents of those files aren't really original anyway,
mostly copied from dev-md.c.
Questions:
- mdadm calls this format "imsm", should we keep that name or use
"matrix", or perhaps "(Intel) RST" since Intel renamed "matrix
raid" to "Rapid Storage Technology" last year.
- right now the md_component_detection configuration option also
turns on/off ddf and imsm detection. I think that is fine as in
linux it is the "md" driver that supports those formats. Or should
this option be renamed, or perhaps different options for each
superblock type (not my preference).
Thanks
Mike.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: filter-md-ddf-imsm.patch
Type: text/x-patch
Size: 6466 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/linux-lvm/attachments/20120905/ad1953ee/attachment.bin>
More information about the linux-lvm
mailing list