]> git.ipfire.org Git - thirdparty/mdadm.git/commit
Support restore_stripes() from the given buffer
authorAdam Kwolek <adam.kwolek@intel.com>
Wed, 8 Jun 2011 06:24:48 +0000 (16:24 +1000)
committerNeilBrown <neilb@suse.de>
Wed, 8 Jun 2011 06:24:48 +0000 (16:24 +1000)
commit2fcb75aea1378acb22c3ecacb7dfdafe093104fe
tree399ec7445b7e77feb39e6580b3ae0365df41367f
parent8e59f3d88286e3c782a561e8179f5a8a702db2a0
Support restore_stripes() from the given buffer

For external metadata backup location and saving methods depends
on metadata specific implementation details. Currently restore_stripes()
function is able to restore data only from the given backup file handles
and it is used only for assembling partially reshaped arrays.
As this function will be very helpful for external metadata backup
mechanism, add the support for restoring data from the given source buffer.
Add possibility for save_stripes() to work without designation targets.
Save_stripes() can now prepare data for restore_stripes() only.

Signed-off-by: Maciej Trela <maciej.trela@intel.com>
Signed-off-by: Adam Kwolek <adam.kwolek@intel.com>
Signed-off-by: Krzysztof Wojcik <krzysztof.wojcik@intel.com>
Signed-off-by: NeilBrown <neilb@suse.de>
Grow.c
mdadm.h
restripe.c