All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/2] Add suspended state check for target messages
@ 2009-11-13  8:06 Mike Anderson
  2009-11-13  8:06 ` [PATCH 1/2] dm: Add accessor dm_table_md_suspended Mike Anderson
                   ` (2 more replies)
  0 siblings, 3 replies; 12+ messages in thread
From: Mike Anderson @ 2009-11-13  8:06 UTC (permalink / raw)
  To: dm-devel

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 <andmike@linux.vnet.ibm.com>

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

end of thread, other threads:[~2009-11-16 13:23 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-11-13  8:06 [PATCH 0/2] Add suspended state check for target messages Mike Anderson
2009-11-13  8:06 ` [PATCH 1/2] dm: Add accessor dm_table_md_suspended Mike Anderson
2009-11-13 14:19   ` Mike Snitzer
2009-11-13  8:06 ` [PATCH 2/2] dm: Add suspended check to multipath_message Mike Anderson
2009-11-13 18:35   ` malahal
2009-11-13 10:22 ` [PATCH 0/2] Add suspended state check for target messages Kiyoshi Ueda
2009-11-13 14:19   ` Alasdair G Kergon
2009-11-13 18:30     ` malahal
2009-11-13 18:47     ` Mike Anderson
2009-11-16  7:25     ` Kiyoshi Ueda
2009-11-16  7:43       ` Mike Anderson
2009-11-16 13:23       ` Alasdair G Kergon

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.