summaryrefslogtreecommitdiffstats
path: root/Documentation/device-mapper/thin-provisioning.txt
diff options
context:
space:
mode:
authorJoe Thornber <ejt@redhat.com>2014-03-03 16:52:28 +0100
committerMike Snitzer <snitzer@redhat.com>2014-03-05 21:26:59 +0100
commit738211f70a1d0c7ff7dc965395f7b8a436365ebd (patch)
treec18a2183962a4498ef247c01dac98c54f5c95108 /Documentation/device-mapper/thin-provisioning.txt
parentdm thin: fix deadlock in __requeue_bio_list (diff)
downloadlinux-738211f70a1d0c7ff7dc965395f7b8a436365ebd.tar.xz
linux-738211f70a1d0c7ff7dc965395f7b8a436365ebd.zip
dm thin: fix noflush suspend IO queueing
i) by the time DM core calls the postsuspend hook the dm_noflush flag has been cleared. So the old thin_postsuspend did nothing. We need to use the presuspend hook instead. ii) There was a race between bios leaving DM core and arriving in the deferred queue. thin_presuspend now sets a 'requeue' flag causing all bios destined for that thin to be requeued back to DM core. Then it requeues all held IO, and all IO on the deferred queue (destined for that thin). Finally postsuspend clears the 'requeue' flag. Signed-off-by: Joe Thornber <ejt@redhat.com> Signed-off-by: Mike Snitzer <snitzer@redhat.com>
Diffstat (limited to '')
0 files changed, 0 insertions, 0 deletions