commit | a6cabb3f4285b80af46bb363b830bcd5f0eb5001 | [log] [tgz] |
---|---|---|
author | Darrick J. Wong <[email protected]> | Wed Dec 22 14:19:18 2021 -0800 |
committer | Vaibhav Rustagi <[email protected]> | Mon Jan 10 00:58:16 2022 +0000 |
tree | 4c62505b8741b1eaf48020f1ee43f0a08241b1f9 | |
parent | 0268efd555438e2e7ca5b676154a9d599474e03e [diff] |
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. BUG=b/213202891 TEST=presubmit RELEASE_NOTE=None SOURCE=UPSTREAM(983d8e60f50806f90534cc5373d0ce867e5aaf79) Reported-by: Kirill Tkhai <[email protected]> Signed-off-by: Darrick J. Wong <[email protected]> Signed-off-by: Darrick J. Wong <[email protected]> Reviewed-by: Dave Chinner <[email protected]> Reviewed-by: Eric Sandeen <[email protected]> (cherry picked from commit 983d8e60f50806f90534cc5373d0ce867e5aaf79) Signed-off-by: Vaibhav Rustagi <[email protected]> Change-Id: I8ffb605b45383667a7a7f4bdf4855970511ca729 Reviewed-on: https://cos-review.googlesource.com/c/third_party/kernel/+/27200 Tested-by: Cusky Presubmit Bot <[email protected]>