Skip to content

dm: alternate solution to reloading with failed paths

Mike Snitzer dm-devel 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v2 Latest2 patches 2 repliesIn review

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2dm mpath: stop queueing IO when no valid paths existdrivers/md/dm-mpath.c+3 -10 replies
2/2dm: allow active and inactive tables to share dm_devsdrivers/md/dm-ioctl.c drivers/md/dm-table.c drivers/md/dm.c +2 more+167 -721 reply

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/2] dm: alternate solution to reloading with failed paths

Hi Hannes,

Here is v2 of Ben's approach to fixing the inability to reload a multipath table that includes failed paths. I've staged it in linux-dm.git's 'for-next' branch.

But I wanted to send this v2 out to verify this approach works for you. This approach is focused on allowing failed paths to be pushed down in a multipath table.

It does _not_ allow non-existent devices to be listed in an mpath table like your patchset did. So the aggressive dev_loss_tmo case isn't covered... but Ben said that case is already handled by multipathd getting a change event and pushing the table down without the removed SCSI device(s).

Thoughts?
Mike

Benjamin Marzinski (2):
dm mpath: stop queueing IO when no valid paths exist
dm: allow active and inactive tables to share dm_devs

 drivers/md/dm-ioctl.c         |   2 +-
 drivers/md/dm-mpath.c         |   4 +-
 drivers/md/dm-table.c         | 102 ++++++++++++----------------------
 drivers/md/dm.c               | 126 ++++++++++++++++++++++++++++++++++++++++++
 drivers/md/dm.h               |   5 +-
 include/uapi/linux/dm-ioctl.h |   4 +-
 6 files changed, 170 insertions(+), 73 deletions(-)
Signature · 1 line
1.9.3