HomeFreeBSD

vdev_disk: use bio_chain() to submit multiple BIOs

Description

vdev_disk: use bio_chain() to submit multiple BIOs

Simplifies our code a lot, so we don't have to wait for each and
reassemble them.

Reviewed-by: Alexander Motin <mav@FreeBSD.org>
Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov>
Signed-off-by: Rob Norris <rob.norris@klarasystems.com>
Sponsored-by: Klara, Inc.
Sponsored-by: Wasabi Technology, Inc.
Closes #15533
Closes #15588
(cherry picked from commit 72fd834c47558cb10d847948d1a4615e894c77c3)

Details

Provenance
rob.norris_klarasystems.comAuthored on Feb 21 2024, 12:07 AM
Brian Behlendorf <behlendorf1@llnl.gov>Committed on Mar 28 2024, 8:29 PM
Parents
rGaf3a5bb40d89: vdev_disk: add module parameter to select BIO submission method
Branches
Unknown
Tags
Unknown