diff options
author | John Garry <[email protected]> | 2024-11-04 16:14:04 -0800 |
---|---|---|
committer | Darrick J. Wong <[email protected]> | 2024-11-04 16:22:10 -0800 |
commit | f096207d327692a066954435dafb4bedbc031d9e (patch) | |
tree | 7555bf813722d62fb5e9f8fdba0cdc7fca78052e /scripts/generate_rust_analyzer.py | |
parent | 6432c6e723fffd93e5cb65117ff48a3aa734e259 (diff) |
xfs: Validate atomic writes
Validate that an atomic write adheres to length/offset rules. Currently
we can only write a single FS block.
For an IOCB with IOCB_ATOMIC set to get as far as xfs_file_write_iter(),
FMODE_CAN_ATOMIC_WRITE will need to be set for the file; for this,
ATOMICWRITES flags would also need to be set for the inode.
Reviewed-by: Christoph Hellwig <[email protected]>
Reviewed-by: "Darrick J. Wong" <[email protected]>
Signed-off-by: John Garry <[email protected]>
Signed-off-by: Darrick J. Wong <[email protected]>
Diffstat (limited to 'scripts/generate_rust_analyzer.py')
0 files changed, 0 insertions, 0 deletions