Add deleting state check for target messages
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest3 patches 4 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/3 | dm: Add dm_deleting accesor functiondrivers/ include/ | +6 | 0 replies | |
| 2/3 | dm: Add accessor dm_table_md_deletingdrivers/ include/ | +7 | 0 replies | |
| 3/3 | dm: Add deleting check to target_messagedrivers/ | +6 | 1 reply |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [PATCH 0/3] Add deleting state check for target messages
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 <[email protected]>