diff options
author | Heinz Mauelshagen <heinzm@redhat.com> | 2015-08-05 15:56:43 +0200 |
---|---|---|
committer | Heinz Mauelshagen <heinzm@redhat.com> | 2015-08-05 15:56:43 +0200 |
commit | 6437aae20ce5d82b4a4a2cefd5cd12ea28ac9361 (patch) | |
tree | 3d542cea722576079f2258506e5da0dfed80fe05 | |
parent | 926c81ed235f13ed1ffd8aeb06136ad0f53b37d1 (diff) | |
download | lvm2-dev-lvmguy-raid-takeover-reshape-resize-fix-striped-cli.tar.gz |
lv_manip: _adjust_region_size() commentdev-lvmguy-raid-takeover-reshape-resize-fix-striped-cli
-rw-r--r-- | lib/metadata/lv_manip.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/lib/metadata/lv_manip.c b/lib/metadata/lv_manip.c index d384e122a..3ca5c2ba7 100644 --- a/lib/metadata/lv_manip.c +++ b/lib/metadata/lv_manip.c @@ -3782,7 +3782,10 @@ static int _lv_insert_empty_sublvs(struct logical_volume *lv, } /* - * Helper to adjust @region_size for @seg of @lv in case of large LV sizes + * The MD bitmap is limited to being able to track 2^21 regions. + * The region_size must be adjusted to meet that criteria. + * + * the "raid0" personality does not utilize a bitmap. */ static uint64_t max_raid_bitmap_entries = 1 << 21; static uint64_t _max_lv_size_for_region_size(uint32_t region_size) |