diff options
author | 2021-12-22 14:19:18 -0800 | |
---|---|---|
committer | 2021-12-22 14:19:18 -0800 | |
commit | 983d8e60f50806f90534cc5373d0ce867e5aaf79 (patch) | |
tree | 46c024d77d514ea47e4af91e4314cd29e67deeab /tools/testing/selftests/bpf/prog_tests/autoload.c | |
parent | Linux 5.16-rc5 (diff) | |
download | linux-dev-983d8e60f50806f90534cc5373d0ce867e5aaf79.tar.xz linux-dev-983d8e60f50806f90534cc5373d0ce867e5aaf79.zip |
xfs: map unwritten blocks in XFS_IOC_{ALLOC,FREE}SP just like fallocate
The old ALLOCSP/FREESP ioctls in XFS can be used to preallocate space at
the end of files, just like fallocate and RESVSP. Make the behavior
consistent with the other ioctls.
Reported-by: Kirill Tkhai <ktkhai@virtuozzo.com>
Signed-off-by: Darrick J. Wong <djwong@kernel.org>
Signed-off-by: Darrick J. Wong <darrick.wong@oracle.com>
Reviewed-by: Dave Chinner <dchinner@redhat.com>
Reviewed-by: Eric Sandeen <sandeen@redhat.com>
Diffstat (limited to 'tools/testing/selftests/bpf/prog_tests/autoload.c')
0 files changed, 0 insertions, 0 deletions