diff options
author | Mike Snitzer <snitzer@redhat.com> | 2014-10-28 20:58:45 -0400 |
---|---|---|
committer | Mike Snitzer <snitzer@redhat.com> | 2014-11-19 12:34:08 -0500 |
commit | 583024d248f486e21479d1912aa2093565455770 (patch) | |
tree | 1bd3b82b4a6db8fff1fb6fa4aa58e5a6596263a0 /drivers/md/dm-cache-policy-internal.h | |
parent | ffcc39364160663cda1a3c358f4537302a92459b (diff) | |
download | op-kernel-dev-583024d248f486e21479d1912aa2093565455770.zip op-kernel-dev-583024d248f486e21479d1912aa2093565455770.tar.gz |
dm thin: suspend/resume active thin devices when reloading thin-pool
Before this change it was expected that userspace would first suspend
all active thin devices, reload/resize the thin-pool target, then resume
all active thin devices. Now the thin-pool suspend/resume will trigger
the suspend/resume of all active thins via appropriate calls to
dm_internal_suspend and dm_internal_resume.
Store the mapped_device for each thin device in struct thin_c to make
these calls possible.
Signed-off-by: Mike Snitzer <snitzer@redhat.com>
Acked-by: Joe Thornber <ejt@redhat.com>
Diffstat (limited to 'drivers/md/dm-cache-policy-internal.h')
0 files changed, 0 insertions, 0 deletions