git: vkernel - Add COW image capability
Matthew Dillon
dillon at crater.dragonflybsd.org
Sun Oct 9 16:48:27 PDT 2016
commit 54ea00b82d152a53ab88ac074ccc89b7790dc4a8
Author: Matthew Dillon <dillon at backplane.com>
Date: Sun Oct 9 16:41:17 2016 -0700
vkernel - Add COW image capability
* Add a copy-on-write disk image feature. This allows a vkernel
to mount a disk image RO or R+W but does not try to write changes
back to the image file.
This allows multiple vkernel instances to use the same image
file.
* Note that when the vkernel operates on an image in this mode,
modifications will eat up system memory and swap, so the user
should be cognizant of the use-case. Still, the flexiblity of
being able to mount the image R+W should not be underestimated.
Summary of changes:
share/man/man7/vkernel.7 | 33 ++++++++++++++++++-
sys/dev/virtual/vkernel/disk/vdisk.c | 56 +++++++++++++++++++++++++++------
sys/platform/vkernel64/include/md_var.h | 2 ++
sys/platform/vkernel64/platform/init.c | 44 ++++++++++++++++----------
4 files changed, 108 insertions(+), 27 deletions(-)
http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/54ea00b82d152a53ab88ac074ccc89b7790dc4a8
--
DragonFly BSD source repository
More information about the Commits
mailing list