Make Git router teardown process-bounded

This commit is contained in:
ms2k 2026-07-19 23:34:06 +09:00
commit e60baad993

View file

@ -7,10 +7,17 @@ use fuser::{Config, LockOwner, MountOption};
use nix::fcntl::{FcntlArg, fcntl};
use super::nodes::{OpenFile, fuse_lock, record_lock};
use super::{Classification, IgnoredWorkspace};
use super::{Classification, IgnoredWorkspace, mount_config};
static SEQUENCE: AtomicU64 = AtomicU64::new(0);
#[test]
fn multithreaded_router_uses_independent_fuse_channels() {
let config = mount_config(8);
assert_eq!(config.n_threads, Some(8));
assert!(config.clone_fd);
}
#[test]
fn posix_lock_owners_use_distinct_backing_lock_domains() {
let fixture = Fixture::new();