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

This patch adds a accessor function that allows determining if a
mapped_device is in the deleting state and then adds this check to the
target_message function. The result of this change would be that all
targets would not be allowed to process messages post a mapped device
entering the deleting state.

As previously described in the email at the archive url provided below the
target_message ioctl can result in new work / activities being started
post the mapped device entering states that new target work could cause
issues.

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

This patch depends on the previous patch that added dm_suspended_check due
to proximity of changes in common files.

---

Mike Anderson (3):
      dm: Add dm_deleting accesor function
      dm: Add accessor dm_table_md_deleting
      dm: Add deleting check to target_message


 drivers/md/dm-ioctl.c         |    6 ++++++
 drivers/md/dm-table.c         |    6 ++++++
 drivers/md/dm.c               |    5 +++++
 include/linux/device-mapper.h |    2 ++
 4 files changed, 19 insertions(+), 0 deletions(-)

--
-andmike

Michael Anderson <andmike@linux.vnet.ibm.com>

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

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

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-11-13  8:04 [PATCH 0/3] Add deleting state check for target messages Mike Anderson
2009-11-13  8:04 ` [PATCH 1/3] dm: Add dm_deleting accesor function Mike Anderson
2009-11-13  8:04 ` [PATCH 2/3] dm: Add accessor dm_table_md_deleting Mike Anderson
2009-11-13  8:04 ` [PATCH 3/3] dm: Add deleting check to target_message Mike Anderson
2009-11-13 18:32   ` malahal
2009-11-16  2:14 ` [PATCH 0/3] Add deleting state check for target messages Kiyoshi Ueda
2009-11-16  7:38   ` Mike Anderson
2009-11-16 15:00     ` 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.