diff options
author | Christoph Hellwig <hch@lst.de> | 2025-01-13 15:12:16 +0100 |
---|---|---|
committer | Carlos Maiolino <cem@kernel.org> | 2025-01-14 11:38:15 +0100 |
commit | 819f29cc7be6a9d949e017ca3f5ccc772a80daef (patch) | |
tree | 2986d16fd852d57714196a6c80ba262a5e0e8b60 /tools/perf/scripts/python/task-analyzer.py | |
parent | 6dca5abb3d10e27e919e5344ac07e057f443c318 (diff) |
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 <hch@lst.de>
Reviewed-by: Darrick J. Wong <djwong@kernel.org>
Acked-by: Dave Chinner <dchinner@redhat.com>
Signed-off-by: Carlos Maiolino <cem@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/task-analyzer.py')
0 files changed, 0 insertions, 0 deletions