summaryrefslogtreecommitdiff
path: root/tools/tracing/rtla/tests/scripts/lib/git@git.tavy.me:linux.git
diff options
context:
space:
mode:
authorPankaj Raghav <p.raghav@samsung.com>2026-07-06 10:41:16 +0200
committerCarlos Maiolino <cem@kernel.org>2026-07-22 15:12:10 +0200
commit86e332447d726127e042b28f7c65ca3784443794 (patch)
tree27d071f599912fbc122b7da038928a3370c61fea /tools/tracing/rtla/tests/scripts/lib/git@git.tavy.me:linux.git
parentb28d23c51635b646784a2a62c71ba99458c07d5e (diff)
xfs: add an allocation mode to xfs_alloc_file_space()
xfs_alloc_file_space() hardcodes XFS_BMAPI_PREALLOC to preallocate unwritten extents across a range. In preparation for FALLOC_FL_WRITE_ZEROES, add an explicit allocation mode argument, enum xfs_alloc_file_space_mode, and derive the xfs_bmapi flags from it. The only mode for now is XFS_ALLOC_FILE_SPACE_PREALLOC, which preallocates unwritten extents and marks the inode as preallocated exactly as before, so there is no functional change. Reviewed-by: Christoph Hellwig <hch@lst.de> Reviewed-by: "Darrick J. Wong" <djwong@kernel.org> Signed-off-by: Pankaj Raghav <p.raghav@samsung.com> Signed-off-by: Carlos Maiolino <cem@kernel.org>
Diffstat (limited to 'tools/tracing/rtla/tests/scripts/lib/git@git.tavy.me:linux.git')
0 files changed, 0 insertions, 0 deletions