]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
block: unify the synchronous bi_end_io callbacks
authorChristoph Hellwig <hch@lst.de>
Tue, 7 Apr 2026 14:05:25 +0000 (16:05 +0200)
committerJens Axboe <axboe@kernel.dk>
Tue, 7 Apr 2026 14:22:24 +0000 (08:22 -0600)
commit65565ca5f99b42fe62b9a10117cca04f4311dc66
tree17ae22a0c40497f1746addca006a0700cb70145d
parent452c8f6cbd0ef1408474a875c5c4149a02c7610f
block: unify the synchronous bi_end_io callbacks

Put the bio in bio_await_chain after waiting for the completion, and
share the now identical callbacks between submit_bio_wait and
bio_await_chain.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Bart Van Assche <bvanassche@acm.org>
Reviewed-by: Damien Le Moal <dlemoal@kernel.org>
Link: https://patch.msgid.link/20260407140538.633364-3-hch@lst.de
Signed-off-by: Jens Axboe <axboe@kernel.dk>
block/bio.c