diff options
| author | Joe Thornber <[email protected]> | 2012-07-27 15:08:06 +0100 |
|---|---|---|
| committer | Alasdair G Kergon <[email protected]> | 2012-07-27 15:08:06 +0100 |
| commit | 8d44c98aac540cdf3cb5385bc6ef8d56930c7d70 (patch) | |
| tree | abc7ac2ad9e95a8110374596001c0af40db33683 /tools/perf/scripts/python | |
| parent | 600497013687516153cb82637acfe56f7eb9308a (diff) | |
dm persistent data: always unlock superblock in dm_bm_flush_and_unlock
Unlock the superblock even if initial dm_bufio_write_dirty_buffers fails.
Also, remove redundant flush calls. dm_bm_flush_and_unlock's calls to
dm_bufio_write_dirty_buffers already result in dm_bufio_issue_flush
being called.
This avoids warnings about unflushed dirty buffers from bufio.
Signed-off-by: Joe Thornber <[email protected]>
Signed-off-by: Mike Snitzer <[email protected]>
Signed-off-by: Alasdair G Kergon <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions