DragonFly BSD
DragonFly commits List (threaded) for 2013-01
[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]

git: kernel -- virtio: Implement virtio-layer lwkt_serializer for devices


From: Samuel Greear <sjg@xxxxxxxxxxxxxxxxxxxxxxx>
Date: Wed, 23 Jan 2013 22:44:27 -0800 (PST)

commit 2f1382ca4436ff154f87b32ee59432b0302f3aae
Author: Venkatesh Srinivas <me@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



[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]