mirror of
https://github.com/versity/scoutfs.git
synced 2026-01-07 12:35:28 +00:00
Support O_TMPFILE: Create an unlinked file and put it on the orphan list. If it ever gains a link, take it off the orphan list. Change MOVE_BLOCKS ioctl to allow moving blocks into offline extent ranges. Ioctl callers must set a new flag to enable this operation mode. RH-compat: tmpfile support it actually backported by RH into 3.10 kernel. We need to use some of their kabi-maintaining wrappers to use it: use a struct inode_operations_wrapper instead of base struct inode_operations, set S_IOPS_WRAPPER flag in i_flags. This lets RH's modified vfs_tmpfile() find our tmpfile fn pointer. Add a test that tests both creating tmpfiles as well as moving their contents into a destination file via MOVE_BLOCKS. xfstests common/004 now runs because tmpfile is supported. Signed-off-by: Andy Grover <agrover@versity.com>
34 lines
765 B
Plaintext
34 lines
765 B
Plaintext
export-get-name-parent.sh
|
|
basic-block-counts.sh
|
|
inode-items-updated.sh
|
|
simple-inode-index.sh
|
|
simple-staging.sh
|
|
simple-release-extents.sh
|
|
setattr_more.sh
|
|
offline-extent-waiting.sh
|
|
move-blocks.sh
|
|
srch-basic-functionality.sh
|
|
simple-xattr-unit.sh
|
|
lock-refleak.sh
|
|
lock-shrink-consistency.sh
|
|
lock-pr-cw-conflict.sh
|
|
lock-revoke-getcwd.sh
|
|
createmany-parallel.sh
|
|
createmany-large-names.sh
|
|
createmany-rename-large-dir.sh
|
|
stage-release-race-alloc.sh
|
|
stage-multi-part.sh
|
|
stage-tmpfile.sh
|
|
basic-posix-consistency.sh
|
|
dirent-consistency.sh
|
|
lock-ex-race-processes.sh
|
|
lock-conflicting-batch-commit.sh
|
|
cross-mount-data-free.sh
|
|
persistent-item-vers.sh
|
|
setup-error-teardown.sh
|
|
mount-unmount-race.sh
|
|
createmany-parallel-mounts.sh
|
|
archive-light-cycle.sh
|
|
block-stale-reads.sh
|
|
xfstests.sh
|