Skip to content

LVM2 topology autodetect support (patchset 2)

Mike Snitzer lvm-devel 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest5 patches 0 repliesNew

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/5Add devices/data_alignment_offset_detection to lvm.conf.WHATS_NEW doc/example.conf lib/config/defaults.h +5 more+106 -20 replies
2/5Add devices/data_alignment_detection to lvm.conf.WHATS_NEW doc/example.conf lib/config/defaults.h +4 more+118 -90 replies
3/5Improve ability to lookup primary device associated with partitionlib/device/device.c+56 -50 replies
4/5Retrieve MD sysfs attributes for MD partitionslib/device/dev-md.c lib/device/device.c lib/device/device.h+21 -70 replies
5/5Add MD, partition and topology tests to the LVM2 test-suitetest/t-pvcreate-operation-md.sh test/t-pvcreate-usage.sh test/test-utils.sh+104 -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/5] LVM2 topology autodetect support (patchset 2)

This is the second LVM2 topology patchset; it adds the ability to autodetect Linux's I/O topology attributes that are associated with a device.

It should be noted that the changes to lib/device/device.c were the basis for the upstream libblkid's topology support. Moving forward we may look to use libblkid directly but the topology-aware libblkkid isn't yet available upstream.

Mike Snitzer (5):
Add devices/data_alignment_offset_detection to lvm.conf. Add devices/data_alignment_detection to lvm.conf. Improve ability to lookup primary device associated with partition. Retrieve MD sysfs attributes for MD partitions.
Add MD, partition and topology tests to the LVM2 test-suite.

 WHATS_NEW                       |    2 +
 doc/example.conf                |   21 ++++-
 lib/config/defaults.h           |    2 +
 lib/device/dev-md.c             |   13 ++-
 lib/device/device.c             |  193 +++++++++++++++++++++++++++++++++++++++
 lib/device/device.h             |   12 +++
 lib/format_text/format-text.c   |    6 +-
 lib/metadata/metadata.c         |   27 ++++++
 man/lvm.conf.5.in               |   22 ++++-
 test/t-pvcreate-operation-md.sh |   91 ++++++++++++++++++
 test/t-pvcreate-usage.sh        |   12 +++
 test/test-utils.sh              |    2 +-
 12 files changed, 392 insertions(+), 11 deletions(-)
 create mode 100644 test/t-pvcreate-operation-md.sh