git: kernel -- virtio: Implement virtio-layer lwkt_serializer for devices
Samuel Greear
sjg at crater.dragonflybsd.org
Wed Jan 23 22:44:27 PST 2013
commit 2f1382ca4436ff154f87b32ee59432b0302f3aae
Author: Venkatesh Srinivas <me at endeavour.zapto.org>
Date: Sat Jan 19 01:43:03 2013 -0800
kernel -- virtio: Implement virtio-layer lwkt_serializer for devices
* Switch virtio device targets (currently only -blk) to use a
serializer for synchronizing per-target state. Thread the
serializer through virtqueue_notify (release around kick) and
into the bus interrupt setup code.
* Remove dump support from virtio-blk for now; it doesn't work and
results in further panics from an incorrectly setup bio.
* Other cleanups of virtio-blk (de-indirect locks).
Summary of changes:
sys/dev/virtual/virtio/block/virtio_blk.c | 224 ++++----------------------
sys/dev/virtual/virtio/pci/virtio_pci.c | 21 +--
sys/dev/virtual/virtio/virtio/virtio.c | 31 ++--
sys/dev/virtual/virtio/virtio/virtio.h | 3 +-
sys/dev/virtual/virtio/virtio/virtio_bus_if.m | 31 ++--
sys/dev/virtual/virtio/virtio/virtqueue.c | 9 +-
sys/dev/virtual/virtio/virtio/virtqueue.h | 4 +-
7 files changed, 75 insertions(+), 248 deletions(-)
http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/2f1382ca4436ff154f87b32ee59432b0302f3aae
--
DragonFly BSD source repository
More information about the Commits
mailing list