aboutsummaryrefslogtreecommitdiffstats
path: root/fs/xfs/xfs_exchrange.c
diff options
context:
space:
mode:
authorChristoph Hellwig <[email protected]>2025-01-13 14:12:16 +0000
committerCarlos Maiolino <[email protected]>2025-01-14 10:38:15 +0000
commit819f29cc7be6a9d949e017ca3f5ccc772a80daef (patch)
tree2986d16fd852d57714196a6c80ba262a5e0e8b60 /fs/xfs/xfs_exchrange.c
parentxfs: remove the extra buffer reference in xfs_buf_submit (diff)
downloadkernel-819f29cc7be6a9d949e017ca3f5ccc772a80daef.tar.gz
kernel-819f29cc7be6a9d949e017ca3f5ccc772a80daef.zip
xfs: always complete the buffer inline in xfs_buf_submit
xfs_buf_submit now only completes a buffer on error, or for in-memory buftargs. There is no point in using a workqueue for the latter as the completion will just wake up the caller. Optimize this case by avoiding the workqueue roundtrip. Signed-off-by: Christoph Hellwig <[email protected]> Reviewed-by: Darrick J. Wong <[email protected]> Acked-by: Dave Chinner <[email protected]> Signed-off-by: Carlos Maiolino <[email protected]>
Diffstat (limited to 'fs/xfs/xfs_exchrange.c')
0 files changed, 0 insertions, 0 deletions