storj/storagenode/pieces
Clement Sam f076238748 storagenode: run used-space filewalker as a low IO subprocess
As part of fixing the IO priority of filewalker related
processes such as the garbage collection and used-space
calculation, this  change allows the initial used-space
calculation to run as a separate subprocess with lower
IO priority.

This can be enabled with the `--storage2.enable-lazy-filewalker`
config item. It falls back to the old behaviour when the
subprocess fails.

Updates https://github.com/storj/storj/issues/5349

Change-Id: Ia6ee98ce912de3e89fc5ca670cf4a30be73b36a6
2023-04-14 04:16:14 +00:00
..
lazyfilewalker storagenode: run used-space filewalker as a low IO subprocess 2023-04-14 04:16:14 +00:00
cache_test.go storagenode: run used-space filewalker as a low IO subprocess 2023-04-14 04:16:14 +00:00
cache.go storagenode/blobstore: move blob store logic 2023-04-05 18:06:20 +00:00
db_test.go storagenode/storagenodedb/storagenodedbtest: pass ctx as an argument 2020-01-20 16:56:12 +02:00
deleter_test.go storagenode: run used-space filewalker as a low IO subprocess 2023-04-14 04:16:14 +00:00
deleter.go storagenode/pieces: send piece deletions to trash 2021-04-07 16:52:10 +00:00
doc.go storagenode: add doc.go files for sno packages 2021-09-29 08:24:56 +00:00
filewalker.go storagenode: run used-space filewalker as a low IO subprocess 2023-04-14 04:16:14 +00:00
pieceexpiration_test.go storagenode/storagenodedb/storagenodedbtest: pass ctx as an argument 2020-01-20 16:56:12 +02:00
readwrite_test.go storagenode: run used-space filewalker as a low IO subprocess 2023-04-14 04:16:14 +00:00
readwrite.go storagenode/blobstore: move blob store logic 2023-04-05 18:06:20 +00:00
store_test.go storagenode: run used-space filewalker as a low IO subprocess 2023-04-14 04:16:14 +00:00
store.go storagenode: run used-space filewalker as a low IO subprocess 2023-04-14 04:16:14 +00:00
trashchore.go storagenode/pieces: fix log line 2023-01-17 11:04:47 +02:00