summaryrefslogtreecommitdiff
path: root/include/linux/timerqueue.h
diff options
context:
space:
mode:
authorDaejun Park <daejun7.park@samsung.com>2026-10-29 11:22:59 +0900
committerCarlos Maiolino <cem@kernel.org>2026-11-03 15:14:20 +0100
commitf3ca3498dfe624f9b604c934263538a3acd55af5 (patch)
treef66b4b6a2de1199eb6dd1786b2eb0042af403e7f /include/linux/timerqueue.h
parent8b8e265991556d99b6d721697f148975a7c68767 (diff)
xfs: add a flag to convert unwritten extents without allocating blocks
xfs_bmapi_write() with XFS_BMAPI_CONVERT also allocates blocks for holes and delalloc extents in the range. Add XFS_BMAPI_CONVERT_ONLY for callers that may only convert already allocated blocks. It stops at a hole or delalloc extent, and returns -ENOSR if it stops before mapping anything. Marked for stable because "xfs: refuse a pNFS LAYOUTCOMMIT of a range without blocks" needs it. Suggested-by: Christoph Hellwig <hch@lst.de> Link: https://lore.kernel.org/r/20261013120359.GB2944@lst.de Cc: stable@vger.kernel.org Signed-off-by: Daejun Park <daejun7.park@samsung.com> Reviewed-by: Christoph Hellwig <hch@lst.de> Reviewed-by: Pankaj Raghav <p.raghav@samsung.com> Signed-off-by: Carlos Maiolino <cem@kernel.org>
Diffstat (limited to 'include/linux/timerqueue.h')
0 files changed, 0 insertions, 0 deletions