containerd/snapshots
Danny Canter 13ff185ba0 Blockfile: Enlighten blockfile copy on Darwin
The Go stdlib does not seem to have an efficient os.File.ReadFrom
routine for other platforms like it does on Linux with
copy_file_range. For Darwin at least we can use clonefile
in its place, otherwise if we have a sparse file we'd have
a fun surprise with the io.Copy approach..

We should see if there's other platforms that we can enhance here.
I've forgotten what's the right route on Windows.

Signed-off-by: Danny Canter <danny@dcantah.dev>
2023-08-31 20:18:48 -07:00
..
benchsuite chore: use go fix to cleanup old +build buildtag 2022-12-29 14:25:14 +08:00
blockfile Blockfile: Enlighten blockfile copy on Darwin 2023-08-31 20:18:48 -07:00
btrfs snapshots|pkg: umount without DETACH and nosync after umount 2023-06-15 23:53:47 +08:00
devmapper Remove unnecessary joinError unwrap 2023-08-21 19:03:41 -07:00
lcow snapshots: refactor metastore transaction 2023-01-05 15:53:23 +08:00
native Fix misspelling of 'Native' as 'Naive' 2023-03-31 06:15:18 -07:00
overlay Add WithMetaStore to overlay snapshotter to allow bringing your own 2023-08-17 19:28:44 +01:00
proxy Snapshots: Add From/ToProto helpers for types 2023-06-28 12:17:52 -07:00
storage snapshots: replace some fmt.Sprintfs with strconv 2023-08-23 10:10:59 +02:00
testsuite snapshots|pkg: umount without DETACH and nosync after umount 2023-06-15 23:53:47 +08:00
windows Use RunWithPrivileges 2023-04-06 17:06:50 -07:00
snapshotter.go Snapshots: Add From/ToProto helpers for types 2023-06-28 12:17:52 -07:00