Re: refactor submit_bio_wait and bio await helpers v3

Jens Axboe
2026-04-07T14:22:40Z

On Tue, 07 Apr 2026 16:05:23 +0200, Christoph Hellwig wrote:
> this series factors common code between submit_bio_wait and
> bio_await_chain into a common helper, and then uses that in XFS
> as well instead of open coding such functionality. It also
> cleans up the submit or kill logic in the ioctl handlers to
> share more code.
>
> There is another places in btrfs that could be refactored to
> use this, although it is non-trivial, and I plan to add more
> users of this helper to XFS in the future.
>
> [...]

Applied, thanks!

[1/5] xfs: fix number of GC bvecs
commit: 452c8f6cbd0ef1408474a875c5c4149a02c7610f
[2/5] block: unify the synchronous bi_end_io callbacks
commit: 65565ca5f99b42fe62b9a10117cca04f4311dc66
[3/5] block: factor out a bio_await helper
commit: 6fa747550e35f0a74e649b19d97055988a25b2e4
[4/5] block: add a bio_submit_or_kill helper
commit: 92c3737a2473ff5b83f90f5c1b353a27492a10f2
[5/5] xfs: use bio_await in xfs_zone_gc_reset_sync
commit: 2d148a214b24b4a2525f649cced0c3e9e57281cd

Best regards,
--
Jens Axboe