Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F140127948
D22313.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
753 B
Referenced Files
None
Subscribers
None
D22313.diff
View Options
Index: sys/dev/hyperv/utilities/hv_snapshot.c
===================================================================
--- sys/dev/hyperv/utilities/hv_snapshot.c
+++ sys/dev/hyperv/utilities/hv_snapshot.c
@@ -70,6 +70,8 @@
#define VSS_FWVER VMBUS_IC_VERSION(VSS_FWVER_MAJOR, 0)
#define TIMEOUT_LIMIT (15) // seconds
+#define VSS_FREEZE_TIMEOUT (15 * 60) // seconds
+
enum hv_vss_op {
VSS_OP_CREATE = 0,
VSS_OP_DELETE,
@@ -778,7 +780,8 @@
hv_vss_notify(&sc->app_sc, reqp);
else
hv_vss_notify(&sc->daemon_sc, reqp);
- callout_reset(&reqp->callout, TIMEOUT_LIMIT * hz,
+ callout_reset(&reqp->callout, opt == VSS_OP_FREEZE ?
+ VSS_FREEZE_TIMEOUT * hz : TIMEOUT_LIMIT * hz,
hv_vss_timeout, reqp);
break;
case VSS_OP_THAW:
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Sun, Dec 21, 3:01 PM (11 h, 23 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
27114813
Default Alt Text
D22313.diff (753 B)
Attached To
Mode
D22313: hv_snapshot: port Linux patch, increase timeout of vss backup operations
Attached
Detach File
Event Timeline
Log In to Comment