[dm-devel] [PATCH v2 0/3] multipathd: avoid unnecessary read-only reloads

Benjamin Marzinski bmarzins at redhat.com
Wed Dec 15 17:44:07 UTC 2021


This patchset is an expanded version of my single patch
"multipathd: avoid unnecessary path read-only reloads" That also
makes some changes to how the multipath dm_info is handled.

changes from v1, (suggested by Martin Wilck):

0001:	This has been completely rewritten to embed the dmi structure in
	the multipath structure. This will require a major version bump
	for libmultipath, which I've not included.

0003:	sysfs_get_ro() has been moved to mutlipathd, and needs_ro_update()
	has been changed to work with the embedded dmi structure.

Benjamin Marzinski (3):
  libmultipath: embed dm_info in multipath structure
  multipathd: update dm_info on multipath change events
  multipathd: avoid unnecessary path read-only reloads

 libmultipath/configure.c          |  7 +++--
 libmultipath/devmapper.c          | 51 +++++++++++--------------------
 libmultipath/devmapper.h          |  3 +-
 libmultipath/libmultipath.version |  1 +
 libmultipath/print.c              | 12 +++++---
 libmultipath/structs.c            | 10 ++----
 libmultipath/structs.h            |  3 +-
 multipathd/main.c                 | 51 +++++++++++++++++++++++++++++--
 8 files changed, 85 insertions(+), 53 deletions(-)

-- 
2.17.2




More information about the dm-devel mailing list