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

- From: Neil Brown \<hidden\>
- Date: 2008-12-18 06:07:20 
- List: linux-raid
- Page: https://ratatoskr.run/linux-raid/2008/12/6604602
- Thread: https://ratatoskr.run/linux-raid/2008/12/6604602/t.md

```text
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
```
