]> git.baikalelectronics.ru Git - kernel.git/commit
dm raid: add region_size parameter
authorJonathan Brassow <jbrassow@redhat.com>
Tue, 2 Aug 2011 11:32:07 +0000 (12:32 +0100)
committerAlasdair G Kergon <agk@redhat.com>
Tue, 2 Aug 2011 11:32:07 +0000 (12:32 +0100)
commitfa69fc55022d253d64ad0ea7d717ce63c54f6879
treeecdefcf24dd88f4c19a873fa5d26039a0edf03a7
parent671015acf804354eaf0b3d0a91e50d4a76e1c3af
dm raid: add region_size parameter

Allow the user to specify the region_size.

Ensures that the supplied value meets md's constraints, viz. the number of
regions does not exceed 2^21.

Signed-off-by: Jonathan Brassow <jbrassow@redhat.com>
Signed-off-by: Alasdair G Kergon <agk@redhat.com>
Documentation/device-mapper/dm-raid.txt
drivers/md/dm-raid.c