Re: [mdadm git pull] platform support v2 and other fixes

From
Neil Brown <hidden>
Date
2008-12-18 06:07:20
On Monday December 8, dan.j.williams@intel.com wrote:
Hi Neil,

So here is a second attempt at platform support.  I asked around about
scanning for the option-rom and the solution I settled on was to port
the kernel's "Adapter ROM" detection code to userspace (probe_roms.c
from arch/x86/kernel/probe_roms_32.c).  This at least makes mdadm bug
compatible with the kernel, and avoids scanning the entire region
indiscriminately.

Create support got two major fixes:
1/ calculating a common start offset by merging get_extents() results
2/ explicitly passing the target member disks in the metadata update
message

Despite the platform support and these fixes I am still investigating
whether mdadm can create configurations that the option-rom does not
understand.  Stay tuned...

Lastly I added a regression test to stress the overlapping create case,
it adds some infrastructure for tests to define their own environment.

As always, please have a look.
Thanks.
I confess I haven't read all of the details, but I've looked at the
"interesting" parts (for some value of 'interesting') and they seem to
make sense.
Pulled and pushed.

Thanks.
NeilBrown
Thread (1 message) 1 message, 1 author, last reply 2008-12-18
Keyboard shortcuts
hback out one level
jnext message in thread / next series-diff position
kprevious message in thread / previous series-diff position
ldrill in
Escclose help / fold thread tree
?toggle this help