[PATCH v2 0/2] dm: alternate solution to reloading with failed paths

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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(-)

-- 
1.9.3

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




[Index of Archives]     [DM Crypt]     [Fedora Desktop]     [ATA RAID]     [Fedora Marketing]     [Fedora Packaging]     [Fedora SELinux]     [Yosemite Discussion]     [KDE Users]     [Fedora Docs]

  Powered by Linux