commit | 039c42fd952defd42331ea6464f45801bc52603e | [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:59:53 2022 +0000 |
tree | 0d4585e84d4d8211f5575ae21b18f213f266489b | |
parent | 9292e1ca5db49a8044d43210cd2c7bedb8e0722d [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/213202984 TEST=presubmit RELEASE_NOTE=None SOURCE=UPSTREAM(983d8e60f50806f90534cc5373d0ce867e5aaf79) cos-patch: bug 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: Ib2a7319bf82409ad5d079e44b6c293fc8b1522f6 Reviewed-on: https://cos-review.googlesource.com/c/third_party/kernel/+/27201 Tested-by: Cusky Presubmit Bot <[email protected]> Main-Branch-Verified: Cusky Presubmit Bot <[email protected]>