From: Alasdair G Kergon Date: Fri, 27 Jul 2012 14:08:16 +0000 (+0100) Subject: dm thin: commit before gathering status X-Git-Tag: v3.6-rc1~56^2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=1f4e0ff07980820977f45d6a5dbc81d3bb9ce4d3;p=pandora-kernel.git dm thin: commit before gathering status Commit outstanding metadata before returning the status for a dm thin pool so that the numbers reported are as up-to-date as possible. The commit is not performed if the device is suspended or if the DM_NOFLUSH_FLAG is supplied by userspace and passed to the target through a new 'status_flags' parameter in the target's dm_status_fn. The userspace dmsetup tool will support the --noflush flag with the 'dmsetup status' and 'dmsetup wait' commands from version 1.02.76 onwards. Tested-by: Mike Snitzer Signed-off-by: Alasdair G Kergon --- Reading git-diff-tree failed