dm-devel.redhat.com archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/5] Use uevent for thin pool events
@ 2016-03-16 23:27 Andy Grover
  2016-03-16 23:27 ` [PATCH 1/5] dm: Do not export dm_send_uevents Andy Grover
                   ` (4 more replies)
  0 siblings, 5 replies; 6+ messages in thread
From: Andy Grover @ 2016-03-16 23:27 UTC (permalink / raw)
  To: dm-devel

uevents both let us attach additional info to the event, and also
allow interested user processes to receive them without having to
create and manage threads to sit in DEV_WAIT ioctls for each target
we're interested in.

dm-mpath already supports generating uevents. This patchset
generalizes this code a little to allow another target to also
generate uevents, dm-thin, as a first step for what we might like to
do for all targets' events. DEV_WAIT ioctl support is unchanged.

Andy Grover (5):
  dm: Do not export dm_send_uevents
  dm: Move multipath-specific stuff out of dm-uevent.c
  dm: Inline dm_build_path_uevent into dm_path_uevent
  dm: Add uevent support for dm-thin
  dm: Update dm-uevent.txt

 Documentation/device-mapper/dm-uevent.txt | 48 ++++++++++++++++---
 drivers/md/dm-mpath.c                     | 56 +++++++++++++++++++++++
 drivers/md/dm-thin.c                      | 18 ++++++++
 drivers/md/dm-uevent.c                    | 76 +++----------------------------
 drivers/md/dm-uevent.h                    | 30 +++++++++---
 drivers/md/dm.c                           |  1 +
 6 files changed, 147 insertions(+), 82 deletions(-)

-- 
2.5.0

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

end of thread, other threads:[~2016-03-16 23:27 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-03-16 23:27 [PATCH 0/5] Use uevent for thin pool events Andy Grover
2016-03-16 23:27 ` [PATCH 1/5] dm: Do not export dm_send_uevents Andy Grover
2016-03-16 23:27 ` [PATCH 2/5] dm: Move multipath-specific stuff out of dm-uevent.c Andy Grover
2016-03-16 23:27 ` [PATCH 3/5] dm: Inline dm_build_path_uevent into dm_path_uevent Andy Grover
2016-03-16 23:27 ` [PATCH 4/5] dm: Add uevent support for dm-thin Andy Grover
2016-03-16 23:27 ` [PATCH 5/5] dm: Update dm-uevent.txt Andy Grover

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