Skip to content

Use uevent for thin pool events

Andy Grover dm-devel 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest5 patches 0 repliesNew

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/5dm: Do not export dm_send_ueventsdrivers/md/dm-uevent.c+0 -10 replies
2/5dm: Move multipath-specific stuff out of dm-uevent.cdrivers/md/dm-mpath.c drivers/md/dm-uevent.c drivers/md/dm-uevent.h +1 more+103 -740 replies
3/5dm: Inline dm_build_path_uevent into dm_path_ueventdrivers/md/dm-mpath.c+22 -370 replies
4/5dm: Add uevent support for dm-thindrivers/md/dm-thin.c+18 -00 replies
5/5dm: Update dm-uevent.txtDocumentation/device-mapper/dm-uevent.txt+41 -70 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/5] Use uevent for thin pool events

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(-)
Signature · 1 line
2.5.0