summaryrefslogtreecommitdiffstats
path: root/drivers/md/dm-ioctl.c
diff options
context:
space:
mode:
authorMike Snitzer <snitzer@redhat.com>2014-11-07 21:09:46 +0100
committerMike Snitzer <snitzer@redhat.com>2014-11-19 17:25:36 +0100
commit80e96c5484be788f277eead9cabf88cf8e430419 (patch)
tree25054660674523866c2410ac9f79fa28414afceb /drivers/md/dm-ioctl.c
parentdm: add presuspend_undo hook to target_type (diff)
downloadlinux-80e96c5484be788f277eead9cabf88cf8e430419.tar.xz
linux-80e96c5484be788f277eead9cabf88cf8e430419.zip
dm thin: do not allow thin device activation while pool is suspended
Otherwise IO could be issued to the pool while it is suspended. Care was taken to properly interlock between the thin and thin-pool targets when accessing the pool's 'suspended' flag. The thin_ctr will not add a new thin device to the pool's active_thins list if the pool is susepended. Signed-off-by: Mike Snitzer <snitzer@redhat.com> Acked-by: Joe Thornber <ejt@redhat.com>
Diffstat (limited to 'drivers/md/dm-ioctl.c')
0 files changed, 0 insertions, 0 deletions