]> git.ipfire.org Git - thirdparty/mdadm.git/commit
imsm: refactor mpb handling into parse and coalesce
authorDan Williams <dan.j.williams@intel.com>
Fri, 25 Jul 2008 23:59:47 +0000 (16:59 -0700)
committerDan Williams <dan.j.williams@intel.com>
Fri, 25 Jul 2008 23:59:47 +0000 (16:59 -0700)
commit949c47a0fa2d0f4bab839b5f0bcd14fb9c105c8f
tree24433200bcec67a8caed80e8bb47db55fa634603
parent16ddab0dafa2545aacf5361ce51cf10e150d2173
imsm: refactor mpb handling into parse and coalesce

Maintaining a single global buffer is unwieldly when extending/rewriting
sections of the metadata.  Parse the metadata into component data
structures upon reading and coalesce to a coherent buffer before
writing.

Signed-off-by: Dan Williams <dan.j.williams@intel.com>
super-intel.c