mirror of
git://sourceware.org/git/lvm2.git
synced 2025-03-13 00:58:47 +03:00
vdo: fix conversion of large virtual sizes
Properly accept virtual sizes above 2TiB. (cherry picked from commit 4afe872fd6c43fcfcd519c862574d010cdbda653)
This commit is contained in:
parent
6621116b61
commit
70467e905c
@ -5462,7 +5462,7 @@ static int _lvconvert_to_vdopool_single(struct cmd_context *cmd,
|
||||
return_0;
|
||||
|
||||
lvc.virtual_extents = extents_from_size(cmd,
|
||||
arg_uint_value(cmd, virtualsize_ARG, 0),
|
||||
arg_uint64_value(cmd, virtualsize_ARG, UINT64_C(0)),
|
||||
vg->extent_size);
|
||||
|
||||
if (!(lvc.segtype = get_segtype_from_string(cmd, SEG_TYPE_NAME_VDO)))
|
||||
|
Loading…
x
Reference in New Issue
Block a user