summaryrefslogtreecommitdiffstats
path: root/drivers/md/dm-snap.c
diff options
context:
space:
mode:
authorTejun Heo <tj@kernel.org>2011-01-13 20:59:59 +0100
committerAlasdair G Kergon <agk@redhat.com>2011-01-13 20:59:59 +0100
commit239c8dd533e74de4a7f3c85c4f9f430eb08867c1 (patch)
tree0dfb9e39aad0f2ab09a4f278a6e7f1b46bf64307 /drivers/md/dm-snap.c
parentdm: use non reentrant workqueues if equivalent (diff)
downloadlinux-239c8dd533e74de4a7f3c85c4f9f430eb08867c1.tar.xz
linux-239c8dd533e74de4a7f3c85c4f9f430eb08867c1.zip
dm snapshot: persistent make metadata_wq multithreaded
metadata_wq serves on-stack work items from chunk_io(). Even if multiple chunk_io() are simultaneously in progress, each is independent and queued only once, so multithreaded workqueue can be safely used. Switch metadata_wq to multithread and flush the work item instead of the workqueue in chunk_io(). Signed-off-by: Tejun Heo <tj@kernel.org> Signed-off-by: Mike Snitzer <snitzer@redhat.com> Signed-off-by: Alasdair G Kergon <agk@redhat.com>
Diffstat (limited to 'drivers/md/dm-snap.c')
0 files changed, 0 insertions, 0 deletions