mirror of
git://sourceware.org/git/lvm2.git
synced 2024-12-21 13:34:40 +03:00
lvconvert/lvcreate: raise maximum number of raid images
Because of contraints in renaming shifted rimage/rmeta LV names the current RaidLV limit is a maximum of 10 SubLV pairs. With the previous introduction of reshaping infratructure that constriant got removed. Kernel supports 253 since dm-raid target 1.9.0, older kernels 64. Raise the maximum number of RaidLV rimage/rmeta pairs to 64. If we want to raise past 64, we have to introdce a check for the kernel supporting it in lvcreate/lvconvert. Related: rhbz834579 Related: rhbz1191935 Related: rhbz1191978
This commit is contained in:
parent
34caf83172
commit
64a2fad5d6
@ -71,8 +71,8 @@
|
|||||||
* FIXME: Increase these to 64 and further to the MD maximum
|
* FIXME: Increase these to 64 and further to the MD maximum
|
||||||
* once the SubLVs split and name shift got enhanced
|
* once the SubLVs split and name shift got enhanced
|
||||||
*/
|
*/
|
||||||
#define DEFAULT_RAID1_MAX_IMAGES 10
|
#define DEFAULT_RAID1_MAX_IMAGES 64
|
||||||
#define DEFAULT_RAID_MAX_IMAGES 10
|
#define DEFAULT_RAID_MAX_IMAGES 64
|
||||||
#define DEFAULT_ALLOCATION_STRIPE_ALL_DEVICES 0 /* Don't stripe across all devices if not -i/--stripes given */
|
#define DEFAULT_ALLOCATION_STRIPE_ALL_DEVICES 0 /* Don't stripe across all devices if not -i/--stripes given */
|
||||||
|
|
||||||
#define DEFAULT_RAID_FAULT_POLICY "warn"
|
#define DEFAULT_RAID_FAULT_POLICY "warn"
|
||||||
|
Loading…
Reference in New Issue
Block a user