From: Tejun Heo Date: Thu, 13 Jan 2011 19:59:59 +0000 (+0000) Subject: dm snapshot: persistent make metadata_wq multithreaded X-Git-Tag: v2.6.38-rc1~221^2~7 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=239c8dd533e74de4a7f3c85c4f9f430eb08867c1;p=pandora-kernel.git 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 Signed-off-by: Mike Snitzer Signed-off-by: Alasdair G Kergon --- Reading git-diff-tree failed