aboutsummaryrefslogtreecommitdiff
path: root/src/zenserver/cache/cachedisklayer.cpp
diff options
context:
space:
mode:
authorStefan Boberg <[email protected]>2026-03-16 10:16:46 +0100
committerGitHub Enterprise <[email protected]>2026-03-16 10:16:46 +0100
commite5b97e8e769108ba45d6a064a46f892b68f1e950 (patch)
treec0d9abb1191b0caf3d35fdaa1c1f267c17a0bf85 /src/zenserver/cache/cachedisklayer.cpp
parentadd buildid updates to oplog and builds test scripts (#838) (diff)
downloadzen-e5b97e8e769108ba45d6a064a46f892b68f1e950.tar.xz
zen-e5b97e8e769108ba45d6a064a46f892b68f1e950.zip
block/file cloning support for macOS / Linux (#786)
- Add block cloning (copy-on-write) support for Linux and macOS to complement the existing Windows (ReFS) implementation - **Linux**: `TryCloneFile` via `FICLONE` ioctl, `CloneQueryInterface` with range cloning via `FICLONERANGE` (Btrfs/XFS) - **macOS**: `TryCloneFile` via `clonefile()` syscall (APFS), `SupportsBlockRefCounting` via `VOL_CAP_INT_CLONE`. `CloneQueryInterface` is not implemented as macOS lacks a sub-file range clone API - Promote `ScopedFd` to file scope for broader use in filesystem code - Add test scripts for block cloning validation on Linux (Btrfs via loopback) and macOS (APFS) - Also added test script for testing on Windows (ReFS)
Diffstat (limited to 'src/zenserver/cache/cachedisklayer.cpp')
0 files changed, 0 insertions, 0 deletions