]> git.ipfire.org Git - thirdparty/mdadm.git/commit
Allow a metadata update to have a linked list of allocated spaces.
authorNeilBrown <neilb@suse.de>
Thu, 16 Dec 2010 01:10:01 +0000 (12:10 +1100)
committerNeilBrown <neilb@suse.de>
Thu, 16 Dec 2010 01:10:01 +0000 (12:10 +1100)
commitcb23f1f4c33d495c05a37ded7acecdeaebdabf14
treeef44ad4804091344644379ed6504a73faafea204
parent78b10e663c35a301406facbda3f5be02973e2ba4
Allow a metadata update to have a linked list of allocated spaces.

Sometimes one metadata update will require allocating several
larger data structures.  As 'monitor' cannot allocate, 'manager'
must, so it must be able to attach a list of allocates to the
update, and importantly it must be able to easily free them.

So add a 'space_list' element to metadata updates where each
element on the list starts with a pointer to the next.

Signed-off-by: NeilBrown <neilb@suse.de>
managemon.c
mdadm.h
super-intel.c
util.c