mirror of
git://sourceware.org/git/lvm2.git
synced 2024-12-21 13:34:40 +03:00
vdo: fix archived metadata comment
lvm uses 'minimum_io_size' name to exactly match VDO naming here, however in all common cases _size is using 'sector/512b' unit. But in this case the value is in bytes and can have only 2 values: either 512 or 4096. It's probably not worth to rename it internaly, so we can just drop comment - instead of using 1 or 8. Thought let's think about it....
This commit is contained in:
parent
0d142f6514
commit
f87dd7b127
@ -1,5 +1,6 @@
|
||||
Version 2.03.02 -
|
||||
===================================
|
||||
Drop misleadning comment for metadata minimum_io_size for VDO segment.
|
||||
Add device hints to reduce scanning.
|
||||
Introduce LVM_SUPPRESS_SYSLOG to suppress syslog usage by generator.
|
||||
Fix generator quering lvmconfig unpresent config option.
|
||||
|
@ -308,7 +308,7 @@ static int _vdo_pool_text_export(const struct lv_segment *seg, struct formatter
|
||||
if (vtp->use_metadata_hints)
|
||||
outf(f, "use_metadata_hints = 1");
|
||||
|
||||
outsize(f, vtp->minimum_io_size, "minimum_io_size = %u", vtp->minimum_io_size);
|
||||
outf(f, "minimum_io_size = %u", vtp->minimum_io_size);
|
||||
|
||||
outsize(f, vtp->block_map_cache_size_mb * UINT64_C(2 * 1024),
|
||||
"block_map_cache_size_mb = %u", vtp->block_map_cache_size_mb);
|
||||
|
Loading…
Reference in New Issue
Block a user