]> git.apps.os.sepia.ceph.com Git - xfstests-dev.git/commit
generic, xfs: test scatter-gather atomic file updates
authorDarrick J. Wong <djwong@kernel.org>
Wed, 1 Mar 2023 02:59:26 +0000 (18:59 -0800)
committerZorro Lang <zlang@kernel.org>
Thu, 2 Mar 2023 08:23:48 +0000 (16:23 +0800)
commit81cbafc4597a0cc59e87eeae99ab7a1c8f2a70e8
tree4bf3f03282dcf44b3d8739f1a090983dec0e866f
parent815ea93652305f0ebba36b3e0ed48602235b9b1c
generic, xfs: test scatter-gather atomic file updates

Make sure that FILE_SWAP_RANGE_SKIP_FILE1_HOLES does what we want it to
do -- provide a means to implement scatter-gather atomic file writes.
That means we create a temporary file, write whatever sparse bits to it
that we want, and swap the non-hole parts of the temp file.

Signed-off-by: Darrick J. Wong <djwong@kernel.org>
Reviewed-by: Zorro Lang <zlang@redhat.com>
Signed-off-by: Zorro Lang <zlang@kernel.org>
common/xfs
tests/generic/724 [new file with mode: 0755]
tests/generic/724.out [new file with mode: 0644]
tests/generic/725 [new file with mode: 0755]
tests/generic/725.out [new file with mode: 0644]
tests/xfs/791 [new file with mode: 0755]
tests/xfs/791.out [new file with mode: 0644]
tests/xfs/792 [new file with mode: 0755]
tests/xfs/792.out [new file with mode: 0644]