Linux RAID subsystem development
 help / color / mirror / Atom feed
* Implementing --detail-platform for DDF
@ 2013-09-11 21:00 Martin Wilck
  2013-09-12  6:00 ` NeilBrown
  2013-09-13  0:18 ` Dan Williams
  0 siblings, 2 replies; 5+ messages in thread
From: Martin Wilck @ 2013-09-11 21:00 UTC (permalink / raw)
  To: linux-raid, NeilBrown

Hi Neil,

I thought I might come up with an implementation of mdadm
--detail-platform for DDF, but I encountered a problem I'd like to discuss.

For DDF, we can't scan PCI devices like IMSM does, because we don't know
all controllers supporting DDF. Thus I considered scanning block devices
instead and looking at "foreign" vendor strings in the meta data;
possibly also filtering by device names or types. It occured to me that
it might be elegant to simply call conf_get_devs() for a list of devices
to be scanned. But if I do that, config.o and its dependencies must be
linked with mdmon, blowing up its size considerably. I figure that
that's a no-go. But I'm also reluctant to write my own DDF-specific
block device scanning code while there is conf_get_devs() already.

Perhaps I am misunderstanding the purpose of --detail-platform?
I wouldn't bother with it if YaST2/libstorage didn't call it in order to
check if a "fake RAID" platform is present.

Regards
Martin

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2013-09-13 17:25 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-09-11 21:00 Implementing --detail-platform for DDF Martin Wilck
2013-09-12  6:00 ` NeilBrown
2013-09-12 18:14   ` Martin Wilck
2013-09-13  0:18 ` Dan Williams
2013-09-13 17:25   ` Martin Wilck

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox