package: move hv_{vss,kvp}_daemon into hyperv-toolsReviewed by: imp, manuPull Request: https://github.com/freebsd/freebsd-src/pull/1170
Remove $FreeBSD$: one-line sh patternRemove /^\s*#[#!]?\s*\$FreeBSD\$.*$\n/
Update/fix Makefile.depend for userland
DIRDEPS_BUILD: Update dependencies.Sponsored by: Dell EMC Isilon
usr.sbin: normalize paths using SRCTOP-relative paths or :H when possibleThis simplifies make logic/outputMFC after: 1 monthSponsored by: Dell EMC Isilon
hyperv/vss: Add driver and tools for VSSVSS stands for "Volume Shadow Copy Service". Unlike virtual machinesnapshot, it only takes snapshot for the virtual disks, so bothfilesystem and applicati
hyperv/vss: Add driver and tools for VSSVSS stands for "Volume Shadow Copy Service". Unlike virtual machinesnapshot, it only takes snapshot for the virtual disks, so bothfilesystem and applications have to aware of it, and cooperate thewhole 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 disabledby editting /etc/devd/hyperv.conf.Submitted by: Hongjiang Zhang <honzhan microsoft com>Reviewed by: kib, mckusickMFC after: 3 weeksSponsored by: MicrosoftDifferential Revision: https://reviews.freebsd.org/D8224
show more ...