diff options
author | Tejun Heo <tj@kernel.org> | 2011-01-13 19:59:59 +0000 |
---|---|---|
committer | Alasdair G Kergon <agk@redhat.com> | 2011-01-13 19:59:59 +0000 |
commit | 239c8dd533e74de4a7f3c85c4f9f430eb08867c1 (patch) | |
tree | 0dfb9e39aad0f2ab09a4f278a6e7f1b46bf64307 /kernel/rcupdate.c | |
parent | 9c4376de98719d2768dd919553843de34bb094a6 (diff) | |
download | op-kernel-dev-239c8dd533e74de4a7f3c85c4f9f430eb08867c1.zip op-kernel-dev-239c8dd533e74de4a7f3c85c4f9f430eb08867c1.tar.gz |
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 'kernel/rcupdate.c')
0 files changed, 0 insertions, 0 deletions