From 46309994a235bc6139e4db0937e60df7342f0ba3 Mon Sep 17 00:00:00 2001 From: Atemu Date: Wed, 14 Apr 2021 16:14:20 +0000 Subject: [PATCH] --- doc/todo/Fsck_remote_files_in-flight.mdwn | 5 +++++ 1 file changed, 5 insertions(+) create mode 100644 doc/todo/Fsck_remote_files_in-flight.mdwn diff --git a/doc/todo/Fsck_remote_files_in-flight.mdwn b/doc/todo/Fsck_remote_files_in-flight.mdwn new file mode 100644 index 0000000000..1b88fb0b22 --- /dev/null +++ b/doc/todo/Fsck_remote_files_in-flight.mdwn @@ -0,0 +1,5 @@ +When fsck'ing a remote repo, files seem to be copied from the remote to a local dir (thus written to disk), read back again for checksumming and then deleted. + +This is very time-inefficient and wastes precious SSD erase cycles which is especially problematic in the case of special remotes because they can only be fsck'd "remotely" (AFAIK). + +Instead, remote files should be directly piped into an in-memory checksum function and never written to disk on the machine performing the fsck.