Repository navigation
Fix virtiofs deleted-file revalidation, offline kiri domains, netns takeover, 429 manifest retries, and WSL storage/context (#190, #269, #399, #744) - #1002
Merged
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
#399): Revalidate cached positive leaf dentries onLOOKUP_CREATEforcaller_ownervirtiofs mounts, drop & invalidate stale dentries returning-EOPENSTALEwhenfuse_do_openreceives-ENOENT/-ESTALEso VFS retries cleanly viaLOOKUP_REVAL, wakekiri-watchimmediately on Mac bind starts, and retain recently unmounted bind sources for 3 s across back-to-backdocker run --rm -vgaps. Also fix recursive globalpclobbering inguest/kernel/build.shpatch unapply.kiri domains set&reset(#744): Allowkiri domains setandkiri domains reset(including--json) to update/resetdomains.jsonoffline when the daemon is stopped (including/var/lib/kiri-daemon/.kiri/domains.jsonfor Linux'skiri.service, and without auto-starting the daemon on Windows viawsl.rs), while keepingkiri domainsreporting a clear daemon-not-running message.net::claim_host_netns()hitsEADDRINUSEand this data directory's ownagent.lockis held (e.g., by a frozen container child left behind when the previouskiri-initdied before closing inherited fds), runtake_over+ cgroup sweep for this data directory before retryingclaim_host_netns(), preserving#443isolation when another engine owns a separate data directory.429manifest retries: Retrytransient(&e)(HTTP 429,408,5xx, and transient I/O) inClient::manifest_withwith bounded exponential backoff, matching blob downloads.#190,#269): Subtractf_bfreeinstead off_bavailinstatvfs_usageso ext4's 5% root-reserved free blocks on sparseext4.vhdxdisks are not counted as used space, and fixKIRI_CONTEXT_HASHinwslsync.rsto matchsha256("kiri").DEFAULT_NSintests/e2e.shwithtransport.rs::host_dnsfor127.0.0.53, restricthostnet-published-localhost(-p 127.0.0.1:...) to macOS, avoidmvEBUSYon bind-mounted/etc/resolv.confintests/linux-host.sh, usecurl -vto assertEACCESacross curl versions, and avoid trailing newline insystempaths-symlink-escape.