summaryrefslogtreecommitdiff
path: root/rust/kernel/interop/git@git.tavy.me:linux-stable.git
diff options
context:
space:
mode:
authorChristoph Hellwig <hch@lst.de>2026-04-07 16:05:26 +0200
committerJens Axboe <axboe@kernel.dk>2026-04-07 08:22:24 -0600
commit6fa747550e35f0a74e649b19d97055988a25b2e4 (patch)
tree6a09feb5565fad13def838ad33bae139b6881bff /rust/kernel/interop/git@git.tavy.me:linux-stable.git
parent65565ca5f99b42fe62b9a10117cca04f4311dc66 (diff)
block: factor out a bio_await helper
Add a new helper to wait for a bio and anything chained off it to complete synchronously after submitting it. This factors common code out of submit_bio_wait and bio_await_chain and will also be useful for file system code and thus is exported. Note that this will now set REQ_SYNC also for the bio_await case for consistency. Nothing should look at the flag in the end_io handler, but if something does having the flag set makes more sense. Signed-off-by: Christoph Hellwig <hch@lst.de> Reviewed-by: Damien Le Moal <dlemoal@kernel.org> Link: https://patch.msgid.link/20260407140538.633364-4-hch@lst.de Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'rust/kernel/interop/git@git.tavy.me:linux-stable.git')
0 files changed, 0 insertions, 0 deletions