diff options
author | Mike Snitzer <snitzer@redhat.com> | 2014-11-07 15:09:46 -0500 |
---|---|---|
committer | Mike Snitzer <snitzer@redhat.com> | 2014-11-19 11:25:36 -0500 |
commit | 80e96c5484be788f277eead9cabf88cf8e430419 (patch) | |
tree | 25054660674523866c2410ac9f79fa28414afceb /drivers/md/dm.h | |
parent | d67ee213fa5700c7da526fe5bcccd485cfa63d8b (diff) |
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.h')
0 files changed, 0 insertions, 0 deletions