All of lore.kernel.org
 help / color / mirror / Atom feed
* Re: [PATCH 0/2] multipath: Stop extra scans on stacked devices
@ 2014-03-11 16:34 Xose Vazquez Perez
  2014-03-12 21:47 ` Christophe Varoqui
  2014-03-12 22:20 ` kpartx fails 4k block partition Ross Anderson
  0 siblings, 2 replies; 6+ messages in thread
From: Xose Vazquez Perez @ 2014-03-11 16:34 UTC (permalink / raw)
  To: Benjamin Marzinski, device-mapper development, Christophe Varoqui

On 02/12/2014 Benjamin Marzinski wrote:

> Whenever there is a DM_DEVICE_RESUME ioctl, a uevent is generated. Right now,
> when multipath is reloading existing devices do to paths going or coming,
> lvmetad will rescan those devices. This is unnecessary, and can cause a lot
> of overhead. Also, multipath devices with no working paths will get scanned.
> These patches make multipath set a new flag, DM_SUBSYSTEM_UDEV_FLAG0, when it
> is reloading devices due to path changes, and lvmetad can safely ignore it.
> They also add a new udev rules file, 11-dm-mpath.rules, to disable scanning
> when it would not be useful.
> 
> Benjamin Marzinski (2):
>   New udev rules to deal with stacked devices
>   Mark reloads with udev flag
> 
>  Makefile.inc                |  1 +
>  kpartx/devmapper.c          |  4 ++--
>  kpartx/devmapper.h          |  8 +++++++-
>  kpartx/kpartx.c             |  8 ++++----
>  libmultipath/configure.c    |  4 ++--
>  libmultipath/devmapper.c    | 26 ++++++++++++++------------
>  libmultipath/devmapper.h    | 10 ++++++++--
>  multipath/11-dm-mpath.rules | 34 ++++++++++++++++++++++++++++++++++
>  multipath/Makefile          |  3 +++
>  multipathd/cli_handlers.c   |  4 ++--
>  10 files changed, 77 insertions(+), 25 deletions(-)
>  create mode 100644 multipath/11-dm-mpath.rules

This set is missing in git.

^ permalink raw reply	[flat|nested] 6+ messages in thread
* [PATCH 0/2] multipath: Stop extra scans on stacked devices
@ 2014-02-12 17:15 Benjamin Marzinski
  0 siblings, 0 replies; 6+ messages in thread
From: Benjamin Marzinski @ 2014-02-12 17:15 UTC (permalink / raw)
  To: device-mapper development; +Cc: Christophe Varoqui

Whenever there is a DM_DEVICE_RESUME ioctl, a uevent is generated. Right now,
when multipath is reloading existing devices do to paths going or coming,
lvmetad will rescan those devices. This is unnecessary, and can cause a lot
of overhead. Also, multipath devices with no working paths will get scanned.
These patches make multipath set a new flag, DM_SUBSYSTEM_UDEV_FLAG0, when it
is reloading devices due to path changes, and lvmetad can safely ignore it.
They also add a new udev rules file, 11-dm-mpath.rules, to disable scanning
when it would not be useful.

Benjamin Marzinski (2):
  New udev rules to deal with stacked devices
  Mark reloads with udev flag

 Makefile.inc                |  1 +
 kpartx/devmapper.c          |  4 ++--
 kpartx/devmapper.h          |  8 +++++++-
 kpartx/kpartx.c             |  8 ++++----
 libmultipath/configure.c    |  4 ++--
 libmultipath/devmapper.c    | 26 ++++++++++++++------------
 libmultipath/devmapper.h    | 10 ++++++++--
 multipath/11-dm-mpath.rules | 34 ++++++++++++++++++++++++++++++++++
 multipath/Makefile          |  3 +++
 multipathd/cli_handlers.c   |  4 ++--
 10 files changed, 77 insertions(+), 25 deletions(-)
 create mode 100644 multipath/11-dm-mpath.rules

-- 
1.8.4.2

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

end of thread, other threads:[~2014-03-13 15:00 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-03-11 16:34 [PATCH 0/2] multipath: Stop extra scans on stacked devices Xose Vazquez Perez
2014-03-12 21:47 ` Christophe Varoqui
2014-03-12 22:20 ` kpartx fails 4k block partition Ross Anderson
2014-03-13 11:01   ` Bryn M. Reeves
2014-03-13 15:00     ` kpartx fails 4k block partition *changed** Ross Anderson
  -- strict thread matches above, loose matches on Subject: below --
2014-02-12 17:15 [PATCH 0/2] multipath: Stop extra scans on stacked devices Benjamin Marzinski

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.