freebsd-skq/sys/dev/virtio/block
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
..
virtio_blk.c Only set the barrier flag if the feature was negotiated 2013-03-05 07:00:05 +00:00
virtio_blk.h Do not include <sys/types.h> in the local headers. The .c files including 2012-07-03 15:15:41 +00:00