Lines Matching +full:only +full:- +full:1 +full:- +full:8 +full:v

7 .\" 1. Redistributions of source code must retain the above copyright
29 .Nd Hyper-V Volume Shadow Copy Service API
32 .Bd -literal
46 uint32_t status; /* 0 for success, 1 for error */
55 But for VM guest running on Hyper-V, the corresponding VSS is
59 But it is not aware of the freeze/thaw notification from Hyper-V host.
63 Thus, it plays a role of broker to forward the freeze/thaw command from Hyper-V host
66 VM, and sends the result back to Hyper-V host.
69 .Xr hv_vss_daemon 8
72 When Hyper-V host wants to take a snapshot of the
81 Only after
84 .Xr hv_vss_daemon 8
88 will inform Hyper-V host that VSS is not supported.
89 In addition, there is a default timeout limit before sending response to Hyper-V host.
91 .Xr hv_vss_daemon 8
93 will occur and VSS unsupported is responded to Hyper-V host.
95 After Hyper-V host confirmed the
103 .Xr hv_vss_daemon 8 .
105 .Xr hv_vss_daemon 8
108 will inform Hyper-V host that freezing is done.
112 If there is any error occurs or timeout happened, the freezing is failed on Hyper-V side.
114 Hyper-V host will send thaw request after taking the snapshot, typically, this period is
118 .Xr hv_vss_daemon 8 ,
121 There is also a timeout check before sending response to Hyper-V host.
127 only support UFS currently.
131 only support backup for file system level consistent.
134 an error (-1) will be returned, and errno was set.
137 .Xr hv_vss_daemon 8
143 .Bd -literal
165 #define FREEZE (1)
170 if (is_debugging == 1) { \\
171 if (is_daemon == 1) \\
177 if (is_daemon == 1) \\
185 #define CHECK_TIMEOUT 1
187 #define FREEZE_TIMEOUT 1
189 #define THAW_TIMEOUT 1
192 static int is_daemon = 1;
235 "%s -f <0|1|2>: simulate app freeze."
236 " 0: successful, 1: freeze timeout, 2: freeze failed\\n"
237 " -c <0|1|2>: simulate vss feature check"
238 " -t <0|1|2>: simulate app thaw."
239 " 0: successful, 1: freeze timeout, 2: freeze failed\\n"
240 " -d : enable debug mode\\n"
241 " -n : run this tool under non-daemon mode\\n", cmd);
248 struct pollfd app_vss_fd[1];
251 while ((ch = getopt(argc, argv, "f:c:t:dnh")) != -1) {
264 is_debugging = 1;
278 if (is_daemon == 1)
279 daemon(1, 0);
294 while (1) {
295 r = poll(app_vss_fd, 1, INFTIM);
364 .Xr hv_vss_daemon 8
368 .An -nosplit