| 233b3ffb | 18-Feb-2017 |
Imre Vadász <imre@vdsz.com> |
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_rea
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.
show more ...
|
| 6375454f | 28-May-2016 |
Matthew Dillon <dillon@apollo.backplane.com> |
virtio - vtblk_finish_bio() called with serializer held
* vtblk_finish_bio() was being improperly called with the serializer held in the strategy error path.
* Note that biodone() is properly cal
virtio - vtblk_finish_bio() called with serializer held
* vtblk_finish_bio() was being improperly called with the serializer held in the strategy error path.
* Note that biodone() is properly called without the serializer held in the normal completion path.
show more ...
|
| eb55c32f | 28-May-2016 |
Matthew Dillon <dillon@apollo.backplane.com> |
virtio - Fix a few porting issues and bugs
* vtblk_maximum_segments() was really buggy. It was adding the base min segments to blkcfg->seg_max, miscalculating values for the case where the F_SE
virtio - Fix a few porting issues and bugs
* vtblk_maximum_segments() was really buggy. It was adding the base min segments to blkcfg->seg_max, miscalculating values for the case where the F_SEG_MAX feature is not in the feature list.
This could result in virtio imploding on a too-small sglist.
* Fix situations where M_NOWAIT is improperly used.
* At least use 16-byte alignment for contigmalloc()'s.
show more ...
|