Jonathan Brassow 3a0f9aaee0 dm raid: round region_size to power of two
If the user does not supply a bitmap region_size to the dm raid target,
a reasonable size is computed automatically.  If this is not a power of 2,
the md code will report an error later.

This patch catches the problem early and rounds the region_size to the
next power of two.

Signed-off-by: Jonathan Brassow <jbrassow@redhat.com>
Signed-off-by: Alasdair G Kergon <agk@redhat.com>
2012-12-21 20:23:33 +00:00
..
2012-11-22 09:14:54 -10:00
2012-10-15 14:45:51 -04:00
2012-11-23 14:32:55 +01:00
2012-12-03 10:53:25 -08:00
2012-09-26 22:28:21 -04:00
2012-10-10 20:15:24 +09:00
2012-10-17 15:53:03 -05:00
2012-10-09 16:11:46 +09:00
2012-10-10 20:15:24 +09:00
2012-11-16 14:33:04 -08:00
2012-10-28 11:13:54 -07:00
2012-11-22 09:14:54 -10:00
2012-11-23 12:01:02 -10:00
2012-10-01 12:09:59 -07:00
2012-11-20 18:52:01 -10:00
2012-10-01 18:46:13 -07:00
2012-10-16 18:07:12 -07:00