All of lore.kernel.org
 help / color / mirror / Atom feed
* [RFC] [PATCH 0/3] dm-multipath: New features
@ 2012-05-08 14:18 Hannes Reinecke
  2012-05-08 14:18 ` [PATCH 1/3] scsi_dh: Allow NULL hardware handler name in scsi_dh_attach() Hannes Reinecke
  0 siblings, 1 reply; 9+ messages in thread
From: Hannes Reinecke @ 2012-05-08 14:18 UTC (permalink / raw)
  To: dm-devel; +Cc: Babu Moger, Mike Snitzer

This patchset implements two new features, 'no_partitions'
and 'default_hw_handler'.
The 'no_partition' feature is just a marker for kpartx
to not attempt partitions scanning on these devices.

The 'default_hw_handler' feature allows for a 'default'
hardware handler. Problem is that multipath-tools only has
a static setting for the hardware handler of a device. The
kernel, however, is able to distinguish between various
possible hardware handler and might already have attached
a different one.
So by specifying the feature 'default_hw_handler'
the dm-multipath module is instructed to use the
currently selected one, and not the one specified
during table creation.

This is an alternative implementation to Mike Snitzers
'default' hardware handler implementation.

Hannes Reinecke (3):
  scsi_dh: Allow NULL hardware handler name in scsi_dh_attach()
  dm-multipath: disable partition scan feature
  dm-multipath: 'default_hw_handler' feature

 drivers/md/dm-mpath.c                 |   36 ++++++++++++++++++++++++++++++--
 drivers/scsi/device_handler/scsi_dh.c |    8 +++++-
 2 files changed, 39 insertions(+), 5 deletions(-)

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

end of thread, other threads:[~2012-05-08 21:12 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-05-08 14:18 [RFC] [PATCH 0/3] dm-multipath: New features Hannes Reinecke
2012-05-08 14:18 ` [PATCH 1/3] scsi_dh: Allow NULL hardware handler name in scsi_dh_attach() Hannes Reinecke
2012-05-08 14:18   ` [PATCH 2/3] dm-multipath: disable partition scan feature Hannes Reinecke
2012-05-08 14:18     ` [PATCH 3/3] dm-multipath: 'default_hw_handler' feature Hannes Reinecke
2012-05-08 14:46       ` Mike Snitzer
2012-05-08 17:30         ` Hannes Reinecke
2012-05-08 17:56           ` Moger, Babu
2012-05-08 21:12           ` Chandra Seetharaman
2012-05-08 14:27   ` [PATCH 1/3] scsi_dh: Allow NULL hardware handler name in scsi_dh_attach() Mike Snitzer

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.