Skip to content

Only write metadata_copies to if explicitly set or read

Dave Wysochanski lvm-devel 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest1 patch 0 repliesNew

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/1Only write metadata_copies to vg metadata if read or non-zero.lib/format_text/export.c lib/format_text/import_vsn1.c lib/metadata/metadata-exported.h +1 more+9 -10 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/1] Only write metadata_copies to if explicitly set or read

This patch only writes the new "metadata_copies" field in the vg metadata if a new value is explicitly set, or the value was already in the vg metadata.

Personally, I don't think this patch is necessary, given the fact that previous versions of LVM don't parse fields they doesn't understand. However I can add this patch to the previous metadata balance patch set if others feel it is a requirement.