[dm-devel] [PATCH RFC 0/4] dm-zoned: Metadata V2

Hannes Reinecke hare at suse.de
Fri Mar 27 07:14:55 UTC 2020


Hi all,

here's a patchset to add UUIDs and labels to the metadata,
increasing the metadata version number to 2.
This allows to identify the various devices, and also to
have a persistent device-mapper name based on the label.
To handle and generate these new values I've also send
a pull request to the upstream dm-zoned-tools git repository.

This patchset requires the previous patch to add status
and message callbacks.

As usual, comments and reviews are welcome.

Hannes Reinecke (4):
  dm-zoned: store zone id within the zone structure
  dm-zoned: use array for superblock zones
  dm-zoned: V2 metadata handling
  dm-zoned: allow for device size smaller than the capacity

 drivers/md/dm-zoned-metadata.c | 117 ++++++++++++++++++++++++++++++-----------
 drivers/md/dm-zoned-target.c   |   4 +-
 drivers/md/dm-zoned.h          |   3 ++
 3 files changed, 91 insertions(+), 33 deletions(-)

-- 
2.16.4





More information about the dm-devel mailing list