From: Joe Thornber Date: Fri, 10 Oct 2014 14:27:16 +0000 (+0100) Subject: dm thin: remap the bios in a cell immediately X-Git-Tag: omap-for-v3.19/fixes-for-merge-window~22^2~35 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=2d759a46b4d65e1392843cf9df7101897af87008;p=pandora-kernel.git dm thin: remap the bios in a cell immediately This use of direct submission in process_prepared_mapping() reduces latency for submitting bios in a cell by avoiding adding those bios to the deferred list and waiting for the next iteration of the worker. But this direct submission exposes the potential for a race between releasing a cell and incrementing deferred set. Fix this by introducing dm_cell_visit_release() and refactoring inc_remap_and_issue_cell() accordingly. Signed-off-by: Joe Thornber Signed-off-by: Mike Snitzer --- Reading git-diff-tree failed