Skip to content

Add suspended state check for target messages

Mike Anderson dm-devel 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 9 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2dm: Add accessor dm_table_md_suspendeddrivers/md/dm-table.c include/linux/device-mapper.h+7 -01 reply
2/2dm: Add suspended check to multipath_messagedrivers/md/dm-mpath.c+3 -01 reply

Reviews trailers per patch

1 of 2 patches has a Reviewed-by or Acked-by.

PatchMike Snitzer
1/2A-b
2/2

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [PATCH 0/2] Add suspended state check for target messages

This patch adds a accessor function that allows determining if a mapped_device is in the suspended state and then adds this check to the multipath targets multipath_message function.

As previously described in the email at the archive url provided below the target_message ioctl can call into the target after suspend completes. This can cause new work to be queued and actions to be taken by the target that should be prevented in the suspended state.

http://permalink.gmane.org/gmane.linux.kernel.device-mapper.devel/10486

---

Mike Anderson (2):
dm: Add accessor dm_table_md_suspended
dm: Add suspended check to multipath_message

 drivers/md/dm-mpath.c         |    3 +++
 drivers/md/dm-table.c         |    6 ++++++
 include/linux/device-mapper.h |    1 +
 3 files changed, 10 insertions(+), 0 deletions(-)

--
-andmike

Michael Anderson <[email protected]>