[PATCH 0/4] lvm2: add btrfs support for lvresize

Su Yue <[email protected]> Tue, 13 May 2025 14:14:23 +0800
Newsgroups dev.linux.lists.lvm-devel
Message-ID <[email protected]>
Hi,
  This patchset adds btrfs support for lvresize.
  I tried to split patches as small as minimal for review but 3rd is still
complicated for bisecting.
  The patchset passed shell/lvresize-xfs.sh and shell/lvresize-fs.sh on
CentOS stream, fedora 42 and archlinux to make sure that other fs resize
functionalties are not broken by the feature.

Su Yue (4):
  filesystem: get device uuid in fs_get_blkid
  filesystem: factor out get mount point logic from fs_get_info() into
    _fs_get_mnt()
  lvresize: add btrfs support
  test: addm shell/lvresize-btrfs.sh

 lib/device/dev-type.c         |  10 ++
 lib/device/filesystem.c       | 189 +++++++++++++++++++++-----
 lib/device/filesystem.h       |   2 +
 lib/metadata/lv_manip.c       |  73 ++++++----
 scripts/lvresize_fs_helper.sh | 110 +++++++++++++--
 test/shell/lvresize-btrfs.sh  | 244 ++++++++++++++++++++++++++++++++++
 6 files changed, 556 insertions(+), 72 deletions(-)
 create mode 100644 test/shell/lvresize-btrfs.sh

-- 
2.48.1