virtio_blk - Clean up some unneeded functionalities.
authorImre Vadász <imre@vdsz.com>
Sat, 18 Feb 2017 23:19:09 +0000 (00:19 +0100)
committerImre Vadász <imre@vdsz.com>
Sun, 2 Apr 2017 08:02:18 +0000 (10:02 +0200)
commit233b3ffb4437baae7a66e1bc808dd50716650ddc
treec1f241752182f19079648b4a2b3bb518ecd97905
parentdfa408369ca6b7b1718558ba44e558dfc9053414
virtio_blk - Clean up some unneeded functionalities.

* Get rid of remaining code for handling the B_ORDERED flag.
  B_ORDERED doesn't even exist anymore in DragonFly.

* Get rid of sc->vtblk_req_ready request list. We can just use
  bioqdisksort() to add a request - that we failed to enqueue ino the
  virtqueue - back into the bioq.

* Rename req->vbr_bp field to req->vbr_bio.

* Switch vtblk_req_free list from TAILQ to SLIST. A small optimization,
  none of the additional features of the TAILQ are needed here.
sys/dev/virtual/virtio/block/virtio_blk.c