[dm-devel] [RFC PATCH 0/2] multipath: change default devnode blacklist
Benjamin Marzinski
bmarzins at redhat.com
Fri Jun 5 00:30:58 UTC 2020
I recently got a request to add the Oracle ASM filer driver devices to
multipath's builtin devnode blacklist. However, instead of having to do
always this for each device type individually, I decided to make
multipath blacklist all non scsi, nvme, and dasd devnodes by default.
This is what the multipath udev rules already do. If people don't like
this solution, the alternative is to add another line to the default
devnode blacklist like "^(asm/|oracleafd/|ofsctl)".
Benjamin Marzinski (2):
libmultipath: change filter_devnode arguments
libmultipath: change how default devnode blacklist works
libmultipath/blacklist.c | 21 +++++++---------
libmultipath/blacklist.h | 2 +-
libmultipath/config.c | 5 ++++
libmultipath/config.h | 1 +
libmultipath/discovery.c | 4 +--
libmultipath/print.c | 12 ++++++---
libmultipath/uevent.c | 3 +--
multipath/main.c | 3 +--
multipath/multipath.conf.5 | 11 +++++---
multipathd/cli_handlers.c | 3 +--
tests/blacklist.c | 51 ++++++++++++++++++++++++++++++++------
11 files changed, 80 insertions(+), 36 deletions(-)
--
2.17.2
More information about the dm-devel
mailing list