commit | 694b9e1dade54abe276d35395e7a7b0b34e2f113 | [log] [tgz] |
---|---|---|
author | Vaibhav Rustagi <[email protected]> | Sun Jan 09 12:30:26 2022 -0800 |
committer | COS Cherry Picker <[email protected]> | Sun Jan 09 17:57:34 2022 -0800 |
tree | 22bd4d023f863de7e0af00b0684391ec25cfde63 | |
parent | 90529460ae70a45e823e41e371b45b9d96877a08 [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/213202826 TEST=presubmit RELEASE_NOTE=None SOURCE=UPSTREAM(983d8e60f50806f90534cc5373d0ce867e5aaf79) cos-patch: bug Change-Id: Ic1f18038d8626aaf3ce5703707f621734f386873 Signed-off-by: Vaibhav Rustagi <[email protected]> Reviewed-on: https://cos-review.googlesource.com/c/third_party/kernel/+/27202 Tested-by: Cusky Presubmit Bot <[email protected]> Main-Branch-Verified: Cusky Presubmit Bot <[email protected]>