Ignore path devices in multipath setups
Get series with b4
b4 am [email protected]Versions newest first
- 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 files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/3 | btrfs-progs: Add optional dependency on libudevMakefile Makefile.inc.in configure.ac | +11 | 0 replies | |
| 2/3 | btrfs-progs: Ignore devices representing paths in multipathcommon/ | +47 | 0 replies | |
| 3/3 | btrfs-progs: Add fallback code for path device ignore for static buildcommon/ | +46 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v2 yet.
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