commit | 2538c7acef84c478bae83fcea4564be38d290176 | [log] [tgz] |
---|---|---|
author | Tejun Heo <tj@kernel.org> | Sun Dec 12 19:55:49 2010 +0100 |
committer | Tejun Heo <tj@kernel.org> | Sun Dec 12 19:55:49 2010 +0100 |
tree | 80bd78f71365c44327ed00582baee239913a1345 | |
parent | 4118fd1da8ce21f4c86fd3d09ccc7dc3a2da37ce [diff] |
dm-snap-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> Cc: Mike Snitzer <snitzer@redhat.com> Cc: dm-devel@redhat.com