Alasdair G Kergon 1f4e0ff079 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 <snitzer@redhat.com>
Signed-off-by: Alasdair G Kergon <agk@redhat.com>
2012-07-27 15:08:16 +01:00
..
2012-03-28 18:41:29 +01:00
2012-03-28 18:41:29 +01:00
2012-03-07 19:09:37 +00:00
2007-10-20 02:01:26 +01:00
2010-08-12 04:14:12 +01:00
2012-07-27 15:08:03 +01:00
2012-07-27 15:08:16 +01:00
2012-03-19 12:46:39 +11:00
2012-03-28 18:43:38 +01:00
2012-07-03 17:45:31 +10:00
2012-05-22 13:55:05 +10:00
2012-07-04 09:35:35 +10:00
2012-05-22 13:53:47 +10:00