git: virtio_blk: Enable dump support. Partial sync with FreeBSD up to r252707.

Imre Vadasz ivadasz at crater.dragonflybsd.org
Wed Dec 3 11:47:59 PST 2014


commit 58db6936f55c0c33a6c9ac01882c4a979b4a99f6
Author: Imre Vadasz <imre at vdsz.com>
Date:   Sat Nov 22 09:58:51 2014 +0100

    virtio_blk: Enable dump support. Partial sync with FreeBSD up to r252707.
    
    * Adds support for dumping to the virtio_blk driver.
    
    * The dev.vtblk.X.writecache_mode sysctl can now be used to toggle write
      caching by the virtual-machine host.
    
    * Add a workaround in sys/dev/virtual/virtio/virtio/virtqueue.c to avoid
      a serializer exit/enter pair while dumping.
    
    * Reduce diff relative to FreeBSD's virtio_blk.c version.
    
    * Adapt manpage, comment out description of the hw.vtblk.no_ident tunable.
    
    * Updates are taken from FreeBSD's r252707, r252703 and r247829.

Summary of changes:
 share/man/man4/virtio_blk.4               |  36 ++-
 sys/dev/virtual/virtio/block/virtio_blk.c | 472 +++++++++++++++++++++++++-----
 sys/dev/virtual/virtio/block/virtio_blk.h |  25 +-
 sys/dev/virtual/virtio/virtio/virtqueue.c |   6 +-
 4 files changed, 448 insertions(+), 91 deletions(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/58db6936f55c0c33a6c9ac01882c4a979b4a99f6


-- 
DragonFly BSD source repository



More information about the Commits mailing list