diff options
author | Darrick J. Wong <djwong@kernel.org> | 2021-12-20 11:49:02 -0800 |
---|---|---|
committer | Darrick J. Wong <djwong@kernel.org> | 2022-01-11 15:16:04 -0800 |
commit | dae453444b73d94ad41bd58f21d6bf5561d7795f (patch) | |
tree | 7c03408ec0ad40048f43cee4b17a20ce9b9a7e8c /ipc | |
parent | 65552b02a10acea68127081faf414b84a65d1855 (diff) |
xfs: map unwritten blocks in XFS_IOC_{ALLOC,FREE}SP just like fallocatexfs-5.16-fixes_2022-01-11
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 'ipc')
0 files changed, 0 insertions, 0 deletions