diff options
author | Mike Snitzer <snitzer@redhat.com> | 2014-10-29 01:13:31 +0100 |
---|---|---|
committer | Mike Snitzer <snitzer@redhat.com> | 2014-11-19 17:24:59 +0100 |
commit | d67ee213fa5700c7da526fe5bcccd485cfa63d8b (patch) | |
tree | 9ba735535bac6b904191702006275ec8115d9803 /drivers/md/dm.h | |
parent | dm: return earlier from dm_blk_ioctl if target doesn't implement .ioctl (diff) | |
download | linux-d67ee213fa5700c7da526fe5bcccd485cfa63d8b.tar.xz linux-d67ee213fa5700c7da526fe5bcccd485cfa63d8b.zip |
dm: add presuspend_undo hook to target_type
The DM thin-pool target now must undo the changes performed during
pool_presuspend() so introduce presuspend_undo hook in target_type.
Signed-off-by: Mike Snitzer <snitzer@redhat.com>
Acked-by: Joe Thornber <ejt@redhat.com>
Diffstat (limited to 'drivers/md/dm.h')
-rw-r--r-- | drivers/md/dm.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/md/dm.h b/drivers/md/dm.h index 988c7fb7b145..781994093bf5 100644 --- a/drivers/md/dm.h +++ b/drivers/md/dm.h @@ -65,6 +65,7 @@ void dm_table_set_restrictions(struct dm_table *t, struct request_queue *q, struct queue_limits *limits); struct list_head *dm_table_get_devices(struct dm_table *t); void dm_table_presuspend_targets(struct dm_table *t); +void dm_table_presuspend_undo_targets(struct dm_table *t); void dm_table_postsuspend_targets(struct dm_table *t); int dm_table_resume_targets(struct dm_table *t); int dm_table_any_congested(struct dm_table *t, int bdi_bits); |