freebsd-dev/share
Sepherosa Ziehau 168fce73b5 hyperv/vss: Add driver and tools for VSS
VSS stands for "Volume Shadow Copy Service".  Unlike virtual machine
snapshot, it only takes snapshot for the virtual disks, so both
filesystem and applications have to aware of it, and cooperate the
whole VSS process.

This driver exposes two device files to the userland:

    /dev/hv_fsvss_dev

    Normally userland programs should _not_ mess with this device file.
    It is currently used by the hv_vss_daemon(8), which freezes and
    thaws the filesystem.  NOTE: currently only UFS is supported, if
    the system mounts _any_ other filesystems, the hv_vss_daemon(8)
    will veto the VSS process.

    If hv_vss_daemon(8) was disabled, then this device file must be
    opened, and proper ioctls must be issued to keep the VSS working.

    /dev/hv_appvss_dev

    Userland application can opened this device file to receive the
    VSS freeze notification, hold the VSS for a while (mainly to flush
    application data to filesystem), release the VSS process, and
    receive the VSS thaw notification i.e. applications can run again.

    The VSS will still work, even if this device file is not opened.
    However, only filesystem consistency is promised, if this device
    file is not opened or is not operated properly.

hv_vss_daemon(8) is started by devd(8) by default.  It can be disabled
by editting /etc/devd/hyperv.conf.

Submitted by:	Hongjiang Zhang <honzhan microsoft com>
Reviewed by:	kib, mckusick
MFC after:	3 weeks
Sponsored by:	Microsoft
Differential Revision:	https://reviews.freebsd.org/D8224
2016-11-15 02:36:12 +00:00
..
colldef Add the forgotten "svn mv" from r302329 2016-07-03 19:31:21 +00:00
ctypedef Posixify the locales name for variants 2016-07-03 18:21:11 +00:00
dict Add META_MODE support. 2015-06-13 19:20:56 +00:00
doc Remove reference to RCS from PSD titles 2016-10-22 23:09:06 +00:00
dtrace Remove redefinitions of some kernel types from mbuf.d. 2016-09-03 20:43:59 +00:00
examples Attempt to make the parts that people are supposed to change stand out more 2016-11-13 17:28:32 +00:00
i18n Fix building on read-only source trees. 2016-08-22 22:50:58 +00:00
keys META MODE: Update dependencies with 'the-lot' and add missing directories. 2015-12-01 05:23:19 +00:00
man hyperv/vss: Add driver and tools for VSS 2016-11-15 02:36:12 +00:00
me Add META_MODE support. 2015-06-13 19:20:56 +00:00
misc Add myself (def) as a src committer and pjd as my mentor. 2016-11-12 18:04:03 +00:00
mk Fix 'rebuild during install' error to only trigger on 'make install'. 2016-11-13 00:11:09 +00:00
monetdef Posixify the locales name for variants 2016-07-03 18:21:11 +00:00
msgdef Posixify the locales name for variants 2016-07-03 18:21:11 +00:00
numericdef Posixify the locales name for variants 2016-07-03 18:21:11 +00:00
security META MODE: These need object directories to handle staging. 2015-11-26 01:14:27 +00:00
sendmail Update share/examples/* to properly install /usr/share/examples. 2016-05-10 00:51:50 +00:00
skel Use more appropriate ${SHAREDIR} rather than /usr/share. 2015-10-27 23:35:02 +00:00
snmp Add META_MODE support. 2015-06-13 19:20:56 +00:00
syscons DIRDEPS_BUILD: Run the staged bootstrap-tools version of build-tools. 2016-05-09 22:21:09 +00:00
tabset Add META_MODE support. 2015-06-13 19:20:56 +00:00
termcap Replace ln -s calls with INSTALL_SYMLINK 2015-12-04 03:17:14 +00:00
tests Merge ^/user/ngie/release-pkg-fix-tests to unbreak how test files are installed 2016-05-04 23:20:53 +00:00
timedef Suffix short month names with "월" and replace %b with %_m for date formats. 2016-09-07 23:35:38 +00:00
vt Remove uudecode make rule for vt fonts 2016-02-29 18:35:16 +00:00
zoneinfo Reimplement r301944 using the correct install(1) invocation, which again 2016-06-16 13:34:20 +00:00
Makefile Posixify the locales name for variants 2016-07-03 18:21:11 +00:00
Makefile.inc