1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-12-17 10:26:15 +00:00
freebsd/sys/dev/virtio
Bryan Venteicher 4dbc384845 Only set the barrier flag if the feature was negotiated
When the VirtIO barrier feature is not negotiated, the driver
must enforce the proper ordering for BIO_ORDERED BIOs. All the
in-flight BIOs must complete before starting the BIO, and the
ordered BIO must complete before subsequent BIOs can start.

Also fix a few whitespace nits.

Reported by:	neel
Approved by:	grehan (mentor)
MFC after:	3 days
2013-03-05 07:00:05 +00:00
..
balloon Various VirtIO improvements 2012-07-11 02:57:19 +00:00
block Only set the barrier flag if the feature was negotiated 2013-03-05 07:00:05 +00:00
network virtio: Start taskqueues threads after attach cannot fail 2012-12-14 05:27:56 +00:00
pci Various VirtIO improvements 2012-07-11 02:57:19 +00:00
scsi Reform the busdma API so that new types may be added without modifying 2013-02-12 16:57:20 +00:00
virtio_bus_if.m
virtio_if.m
virtio_ring.h Various VirtIO improvements 2012-07-11 02:57:19 +00:00
virtio.c Virtio SCSI driver 2012-10-11 23:41:18 +00:00
virtio.h Virtio SCSI driver 2012-10-11 23:41:18 +00:00
virtqueue.c Patch from Bryan to fix a virtqueue issue: 2012-10-11 23:03:42 +00:00
virtqueue.h Various VirtIO improvements 2012-07-11 02:57:19 +00:00