diff options
author | Darrick J. Wong <djwong@kernel.org> | 2022-01-28 14:35:13 -0800 |
---|---|---|
committer | Darrick J. Wong <djwong@kernel.org> | 2022-01-30 09:36:28 -0800 |
commit | 7ae9f5cb676afbf7121e417f9bde71a2a2819a5c (patch) | |
tree | 36803e245ef0fa5a06bce92067bdea74cdfa7d05 /tools | |
parent | ed133bb8ccba2d833688c4d808b6549186b53bd1 (diff) |
xfs: flush log after fallocate for sync mounts and sync inodes
Since we've started treating fallocate more like a file write, we should
flush the log to disk if the user has asked for synchronous writes
either by setting it via fcntl flags, or inode flags, or with the sync
mount option. We've already got a helper for this, so use it.
Signed-off-by: Darrick J. Wong <djwong@kernel.org>
Diffstat (limited to 'tools')
0 files changed, 0 insertions, 0 deletions