opnsense-src/sys/dev/virtio/block
Colin Percival cc25cfc9cf vtblk: Requeue inside vtblk_request_execute
Most virtio_blk requests are launched from vtblk_startio; prior to this
commit, if vtblk_request_execute failed (e.g. due to a lack of space on
the virtio queue) vtblk_startio would requeue the request to be
reattempted later.

Add a flag "vbr_requeue_on_error" to requests and perform the requeuing
from inside vtblk_request_execute instead.

No functional change intended.

Reviewed by:	bryanv, imp
Sponsored by:	https://www.patreon.com/cperciva
Differential Revision:	https://reviews.freebsd.org/D36665
2022-10-17 23:02:21 -07:00
..
virtio_blk.c vtblk: Requeue inside vtblk_request_execute 2022-10-17 23:02:21 -07:00
virtio_blk.h virtio_blk: Add modern (V1) support 2021-01-19 04:55:24 +00:00