]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
xfs: simplify __xfs_buf_ioend
authorChristoph Hellwig <hch@lst.de>
Thu, 25 Jun 2026 13:58:36 +0000 (15:58 +0200)
committerCarlos Maiolino <cem@kernel.org>
Wed, 1 Jul 2026 10:29:50 +0000 (12:29 +0200)
commite4281086ae6caf006b6ef0670479eb5f96880fb9
tree18f4c6940f8a3d87f34ae3f968f194e08c163b2c
parent93e21ef2a819348fce899bd1bd1303979bba3f1d
xfs: simplify __xfs_buf_ioend

__xfs_buf_ioend can only resubmit the buffer for asynchronous
writes, which means the retry handling xfs_buf_iowait is not needed.

Because of this can stop returning a value from __xfs_buf_ioend and
just release the buffer for async I/O that does not require retries.

Also drop the __-prefix now that the semantics are straight forward.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Carlos Maiolino <cmaiolino@redhat.com>
Reviewed-by: "Darrick J. Wong" <djwong@kernel.org>
Signed-off-by: Carlos Maiolino <cem@kernel.org>
fs/xfs/xfs_buf.c