]> git.ipfire.org Git - thirdparty/mdadm.git/commit - mdadm.h
Grow/bitmap: support adding bitmap via sysfs.
authorNeilBrown <neilb@suse.de>
Fri, 23 Dec 2011 03:10:41 +0000 (14:10 +1100)
committerNeilBrown <neilb@suse.de>
Fri, 23 Dec 2011 03:10:41 +0000 (14:10 +1100)
commitc0c1acd691e3809647f464f88e57405a01e12b30
treedca7eaf66aa8781b799a4294bd0103c9d260325b
parentb6db6fab11aedf2f04831d777e68a557b6d1f450
Grow/bitmap: support adding bitmap via sysfs.

Adding a bitmap via ioctl can only add it at a fixed location.
That location is not suitable for 4K-block devices.

So allow setting the bitmap location via sysfs if kernel supports it
and aim to always use 4K alignments.

Signed-off-by: NeilBrown <neilb@suse.de>
Grow.c
mdadm.h
super0.c
super1.c
sysfs.c