]> git.proxmox.com Git - mirror_ubuntu-hirsute-kernel.git/commit
md: Support write-intent bitmaps with externally managed metadata.
authorNeilBrown <neilb@suse.de>
Mon, 14 Dec 2009 01:49:56 +0000 (12:49 +1100)
committerNeilBrown <neilb@suse.de>
Mon, 14 Dec 2009 01:51:41 +0000 (12:51 +1100)
commitece5cff0da9e696c360fff592cb5f51b6419e4d6
tree1c5cab0e89ae466be9edb476ceb91e5c898fafa6
parent624ce4f5658fa3e0303c1217bba2706142fe7568
md: Support write-intent bitmaps with externally managed metadata.

In this case, the metadata needs to not be in the same
sector as the bitmap.
md will not read/write any bitmap metadata.  Config must be
done via sysfs and when a recovery makes the array non-degraded
again, writing 'true' to 'bitmap/can_clear' will allow bits in
the bitmap to be cleared again.

Signed-off-by: NeilBrown <neilb@suse.de>
Documentation/md.txt
drivers/md/bitmap.c
drivers/md/bitmap.h
drivers/md/md.h