Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F146982293
D38855.id118382.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
411 B
Referenced Files
None
Subscribers
None
D38855.id118382.diff
View Options
diff --git a/usr.sbin/bhyve/block_if.c b/usr.sbin/bhyve/block_if.c
--- a/usr.sbin/bhyve/block_if.c
+++ b/usr.sbin/bhyve/block_if.c
@@ -1009,7 +1009,7 @@
pthread_cond_wait(&bc->bc_work_done_cond, &bc->bc_mtx);
pthread_mutex_unlock(&bc->bc_mtx);
- if (blockif_flush_bc(bc))
+ if (!bc->bc_rdonly && blockif_flush_bc(bc))
fprintf(stderr, "%s: [WARN] failed to flush backing file.\r\n",
__func__);
}
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Sun, Mar 8, 8:08 AM (44 m, 26 s)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
29400016
Default Alt Text
D38855.id118382.diff (411 B)
Attached To
Mode
D38855: bhyve: [snapshot] Do not flush readonly device at blockif_pause()
Attached
Detach File
Event Timeline
Log In to Comment