diff options
author | Christoph Hellwig <[email protected]> | 2019-06-28 19:27:21 -0700 |
---|---|---|
committer | Darrick J. Wong <[email protected]> | 2019-06-28 19:27:21 -0700 |
commit | 1f9489be025732fa210de4e6cfd9bd4440741f74 (patch) | |
tree | 90a07886d3f93aa67a44da8cd753442d63a41197 /fs/xfs/xfs_dir2_readdir.c | |
parent | 366fc4b898b3ca999b26d7c9fab92cb31ce4ad2b (diff) |
xfs: don't use REQ_PREFLUSH for split log writes
If we have to split a log write because it wraps the end of the log we
can't just use REQ_PREFLUSH to flush before the first log write,
as the writes might get reordered somewhere in the I/O stack. Issue
a manual flush in that case so that the ordering of the two log I/Os
doesn't matter.
Signed-off-by: Christoph Hellwig <[email protected]>
Reviewed-by: Dave Chinner <[email protected]>
Reviewed-by: Darrick J. Wong <[email protected]>
Signed-off-by: Darrick J. Wong <[email protected]>
Diffstat (limited to 'fs/xfs/xfs_dir2_readdir.c')
0 files changed, 0 insertions, 0 deletions