aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/bin/export-to-postgresql-report
diff options
context:
space:
mode:
authorDarrick J. Wong <[email protected]>2020-09-04 10:20:16 -0700
committerDarrick J. Wong <[email protected]>2020-09-15 20:52:42 -0700
commit5ffce3cc22a0e89813ed0c7162a68b639aef9ab6 (patch)
treed68ee1f987d446ad538ad04d8e71e127dc03c684 /tools/perf/scripts/python/bin/export-to-postgresql-report
parente01b7eed5d0a9b101da53701e92136c3985998af (diff)
xfs: force the log after remapping a synchronous-writes file
Commit 5833112df7e9 tried to make it so that a remap operation would force the log out to disk if the filesystem is mounted with mandatory synchronous writes. Unfortunately, that commit failed to handle the case where the inode or the file descriptor require mandatory synchronous writes. Refactor the check into into a helper that will look for all three conditions, and now we can treat reflink just like any other synchronous write. Fixes: 5833112df7e9 ("xfs: reflink should force the log out if mounted with wsync") Signed-off-by: Darrick J. Wong <[email protected]> Reviewed-by: Brian Foster <[email protected]> Reviewed-by: Christoph Hellwig <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/bin/export-to-postgresql-report')
0 files changed, 0 insertions, 0 deletions