From: Joe Thornber Date: Wed, 28 Mar 2012 17:41:28 +0000 (+0100) Subject: dm thin: prepare to support discard X-Git-Tag: v3.4-rc1~68^2~4 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=eb2aa48d4eb7aee63cba201bf47641dad3e92250;p=pandora-kernel.git dm thin: prepare to support discard This patch contains the ground work needed for dm-thin to support discard. - Adds endio function that replaces shared_read_endio. - Introduce an explicit 'quiesced' flag into the new_mapping structure. Before, this was implicitly indicated by m->list being empty. - The map_info->ptr remains constant for the duration of a bio's trip through the thin target. Make it easier to reason about it. Signed-off-by: Joe Thornber Signed-off-by: Mike Snitzer Signed-off-by: Alasdair G Kergon --- Reading git-diff-tree failed