Skip to content

Ignore path devices in multipath setups

Nikolay Borisov linux-btrfs 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v2 Latest3 patches 1 replyIn review

Changes in v2 from the cover letter

* Split build system related changes to the first patch of the series.

* Eliminated function names starting with __

* Instead of defining an 'if' always implement sane behavior of is_path_device based on the state of the systems

* Eliminated special constant and started using PATH_MAX.

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3btrfs-progs: Add optional dependency on libudevMakefile Makefile.inc.in configure.ac+11 -20 replies
2/3btrfs-progs: Ignore devices representing paths in multipathcommon/device-scan.c+47 -00 replies
3/3btrfs-progs: Add fallback code for path device ignore for static buildcommon/device-scan.c+46 -90 replies

Reviews trailers per patch

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

Read the v2 thread

Cover letter [PATCH v2 0/3] Ignore path devices in multipath setups

This patch set improves the scanning behavior of btrfs-progs such that devices which represent paths to a multipath device will be ignored when scanning. There was an internal report that this causes problems with libstorage-ng. The behavior of showing path devices diverges from the kernel, where on mounted filesystem only the actual multipath device will be shown.

Changes in V2:

* Split build system related changes to the first patch of the series.

* Eliminated function names starting with __

* Instead of defining an 'if' always implement sane behavior of is_path_device based on the state of the systems

* Eliminated special constant and started using PATH_MAX.

Nikolay Borisov (3):
btrfs-progs: Add optional dependency on libudev
btrfs-progs: Ignore devices representing paths in multipath
btrfs-progs: Add fallback code for path device ignore for static build

 Makefile             |  2 +-
 Makefile.inc.in      |  2 +-
 common/device-scan.c | 84 ++++++++++++++++++++++++++++++++++++++++++++
 configure.ac         |  9 +++++
 4 files changed, 95 insertions(+), 2 deletions(-)

--
2.17.1