moby/daemon/graphdriver/copy
Rob Murray a3fdad84ad graphdriver/copy: faster copy of hard links
The DirCopy() function in "graphdriver/copy/copy.go" has a special case for
skip file-attribute copying when making a hard link to an already-copied
file, if "copyMode == Hardlink". Do the same for copies of hard-links in
the source filesystem.

Significantly speeds up vfs's copy of a BusyBox filesystem (which
consists mainly of hard links to a single binary), making moby's
integration tests run more quickly and more reliably in a dev container.

Fixes #46810

Signed-off-by: Rob Murray <rob.murray@docker.com>
2023-11-13 18:22:03 +00:00
..
copy.go graphdriver/copy: faster copy of hard links 2023-11-13 18:22:03 +00:00
copy_test.go remove some remaining pre-go1.17 build-tags 2023-08-24 17:51:07 +02:00