]> git.ipfire.org Git - thirdparty/mdadm.git/commit - super1.c
super1: put bitmap on a 4K boundary when possible.
authorNeilBrown <neilb@suse.de>
Wed, 24 Feb 2010 00:31:48 +0000 (11:31 +1100)
committerNeilBrown <neilb@suse.de>
Wed, 24 Feb 2010 00:31:48 +0000 (11:31 +1100)
commita31128d2de3c3b60e6cbcceef391479ad3c0cfb4
treeb8694b007a1f0ee89c2b9da6f9ab4acdb0971dfd
parentb179246f4f519082158279b2f45e5fd51842cc42
super1: put bitmap on a 4K boundary when possible.

Some devices have 4K sector sizes.  So try to align the bitmap
on a 4K boundary.
This isn't possible when hot-adding a bitmap, but will be once
we add support for configuring the bitmap via sysfs.

Signed-off-by: NeilBrown <neilb@suse.de>
super1.c