dm-devel.redhat.com archive mirror
 help / color / mirror / Atom feed
* [dm-devel] [PATCH 0/3] multipath: fixes for SAS expanders and root FS access
@ 2021-01-28 20:45 mwilck
  2021-01-28 20:45 ` [dm-devel] [PATCH 1/3] libmultipath: use 3rd digit as transport_id for expanders mwilck
                   ` (3 more replies)
  0 siblings, 4 replies; 10+ messages in thread
From: mwilck @ 2021-01-28 20:45 UTC (permalink / raw)
  To: Christophe Varoqui, Benjamin Marzinski; +Cc: dm-devel, Martin Wilck

From: Martin Wilck <mwilck@suse.com>

Hi Christophe, hi Ben,

here are 3 patches I'd like to get reviewed before we create a pull
request. The first two are related to complex SAS setups, the second
one is to avoid accessing the root file system in a possible dangerous
situation.

Wrt 2/3: while testing it, I discovered that "I_T_nexus_loss_timeout"
is a read-only sysfs attribute, therefore this code does nothing.
I considered removing it altogether, observing that the attribute has
been read-only as long as it existed (v2.6.17, 2006). I'd like some
feedback beforehand, though, perhaps some distros use patched kernels
that make this attribute r/w?

Regards
Martin

Martin Wilck (3):
  libmultipath: use 3rd digit as transport_id for expanders
  libmultipath: sysfs_set_nexus_loss_tmo(): support SAS expanders
  multipathd: add code to initalize unwinder

 libmultipath/discovery.c   | 35 ++++++++++++++++++++++++++++-------
 multipathd/Makefile        |  2 +-
 multipathd/init_unwinder.c | 34 ++++++++++++++++++++++++++++++++++
 multipathd/init_unwinder.h | 21 +++++++++++++++++++++
 multipathd/main.c          |  2 ++
 5 files changed, 86 insertions(+), 8 deletions(-)
 create mode 100644 multipathd/init_unwinder.c
 create mode 100644 multipathd/init_unwinder.h

-- 
2.29.2


--
dm-devel mailing list
dm-devel@redhat.com
https://www.redhat.com/mailman/listinfo/dm-devel


^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2021-02-02  9:34 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-01-28 20:45 [dm-devel] [PATCH 0/3] multipath: fixes for SAS expanders and root FS access mwilck
2021-01-28 20:45 ` [dm-devel] [PATCH 1/3] libmultipath: use 3rd digit as transport_id for expanders mwilck
2021-02-02  2:22   ` Benjamin Marzinski
2021-02-02  9:28     ` Martin Wilck
2021-01-28 20:45 ` [dm-devel] [PATCH 2/3] libmultipath: sysfs_set_nexus_loss_tmo(): support SAS expanders mwilck
2021-02-02  4:00   ` Benjamin Marzinski
2021-01-28 20:45 ` [dm-devel] [PATCH 3/3] multipathd: add code to initalize unwinder mwilck
2021-02-02  4:10   ` Benjamin Marzinski
2021-02-02  3:15 ` [dm-devel] [PATCH 0/3] multipath: fixes for SAS expanders and root FS access Benjamin Marzinski
2021-02-02  9:33   ` Martin Wilck

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).