diff options
author | Jan Kara <[email protected]> | 2016-04-24 00:56:08 -0400 |
---|---|---|
committer | Theodore Ts'o <[email protected]> | 2016-04-24 00:56:08 -0400 |
commit | ee0876bc69ee8d24d524fb2e9e41e3682aaebb11 (patch) | |
tree | 4a3b6725cf029b704f47018ff8fbce41a84be1b3 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | 41617e1a8dec9fe082ba5dec26bacb154eb55482 (diff) |
ext4: do not ask jbd2 to write data for delalloc buffers
Currently we ask jbd2 to write all dirty allocated buffers before
committing a transaction when doing writeback of delay allocated blocks.
However this is unnecessary since we move all pages to writeback state
before dropping a transaction handle and then submit all the necessary
IO. We still need the transaction commit to wait for all the outstanding
writeback before flushing disk caches during transaction commit to avoid
data exposure issues though. Use the new jbd2 capability and ask it to
only wait for outstanding writeback during transaction commit when
writing back data in ext4_writepages().
Tested-by: "HUANG Weller (CM/ESW12-CN)" <[email protected]>
Signed-off-by: Jan Kara <[email protected]>
Signed-off-by: Theodore Ts'o <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions