mrc0mmand / rpms / lvm2

Forked from rpms/lvm2 2 years ago
Clone

Blame SOURCES/lvm2-2_03_03-vdo-fix-archived-metadata-comment.patch

146ac4
 WHATS_NEW     | 1 +
146ac4
 lib/vdo/vdo.c | 2 +-
146ac4
 2 files changed, 2 insertions(+), 1 deletion(-)
146ac4
146ac4
diff --git a/WHATS_NEW b/WHATS_NEW
146ac4
index 152fa5e..6ccc090 100644
146ac4
--- a/WHATS_NEW
146ac4
+++ b/WHATS_NEW
146ac4
@@ -1,5 +1,6 @@
146ac4
 Version 2.03.03 - 
146ac4
 ====================================
146ac4
+  Drop misleadning comment for metadata minimum_io_size for VDO segment.
146ac4
   Improve -lXXX%VG modifier which improves cache segment estimation.
146ac4
   Ensure migration_threshold for cache is at least 8 chunks.
146ac4
   Move VDO support towards V2 target (6.2) support.
146ac4
diff --git a/lib/vdo/vdo.c b/lib/vdo/vdo.c
146ac4
index c34eb93..ed051fc 100644
146ac4
--- a/lib/vdo/vdo.c
146ac4
+++ b/lib/vdo/vdo.c
146ac4
@@ -308,7 +308,7 @@ static int _vdo_pool_text_export(const struct lv_segment *seg, struct formatter
146ac4
 	if (vtp->use_metadata_hints)
146ac4
 		outf(f, "use_metadata_hints = 1");
146ac4
 
146ac4
-	outsize(f, vtp->minimum_io_size, "minimum_io_size = %u", vtp->minimum_io_size);
146ac4
+	outf(f, "minimum_io_size = %u", vtp->minimum_io_size);
146ac4
 
146ac4
 	outsize(f, vtp->block_map_cache_size_mb * UINT64_C(2 * 1024),
146ac4
 		"block_map_cache_size_mb = %u", vtp->block_map_cache_size_mb);