Searched hist:"3486237 c" (Results 1 – 1 of 1) sorted by relevance
/openbmc/linux/fs/iomap/ |
H A D | direct-io.c | 3486237c Wed Jul 19 10:34:27 CDT 2023 Jens Axboe <axboe@kernel.dk> iomap: cleanup up iomap_dio_bio_end_io()
Make the logic a bit easier to follow:
1) Add a release_bio out path, as everybody needs to touch that, and have our bio ref check jump there if it's non-zero. 2) Add a kiocb local variable. 3) Add comments for each of the three conditions (sync, inline, or async workqueue punt).
No functional changes in this patch.
Reviewed-by: Darrick J. Wong <djwong@kernel.org> Reviewed-by: Christoph Hellwig <hch@lst.de> Reviewed-by: Dave Chinner <dchinner@redhat.com> Signed-off-by: Jens Axboe <axboe@kernel.dk>
|