You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
vm debug shared none of createVM's capability gate list and had drifted
(missing fc+windows and windows-requires-cloudimg); both now call the same
validators. ExtractTar's per-file fsync goes away: clone/restore streams
follow the #160 no-sync contract and snapshot Create/Import rely on the
SyncTree barrier — Import previously never made dir entries durable before
the record committed, so it gains that barrier. Multiprocess storm tests
share one spawn/wait harness in contracttest instead of four copies.
fmt.Fprintln(os.Stderr, "warning: --data-disk is ignored in debug mode (debug only prints the hypervisor launch command; data disks need PrepareDataDisks to materialize)")
// validateBackendFlags fast-fails flag combinations the selected backend can never launch; boot-mode-dependent checks live in validateBootCompat. Shared by create and debug so the capability gate list cannot drift.
// ExtractTar extracts flat tar entries into dir; entries matching any skip predicate are dropped.
57
+
// ExtractTar extracts flat tar entries into dir; entries matching any skip predicate are dropped. It never fsyncs — callers needing durability follow with SyncTree.
58
58
funcExtractTar(dirstring, r io.Reader, skip...func(namestring) bool) error {
59
59
tr:=tar.NewReader(r)
60
60
for {
@@ -112,17 +112,17 @@ func tarFileFrom(tw *tar.Writer, f *os.File, fi os.FileInfo, nameInTar string) e
112
112
}
113
113
114
114
// extractFileSparse restores a sparse file from its segment map.
115
-
funcextractFileSparse(pathstring, r io.Reader, perm os.FileMode, realSizeint64, mapJSONstring) error {
115
+
funcextractFileSparse(pathstring, r io.Reader, perm os.FileMode, realSizeint64, mapJSONstring) (errerror) {
0 commit comments