[ARVADOS] updated: 2.1.0-2173-gd3aed8ca5
Git user
git at public.arvados.org
Wed Mar 30 01:41:38 UTC 2022
Summary of changes:
services/fuse/arvados_fuse/fusedir.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
via d3aed8ca5cbf876cdd9f3fcb36f4b44191be2066 (commit)
from 5b9ed64a169945cf2f9f2bb5932279aef4678f1d (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
commit d3aed8ca5cbf876cdd9f3fcb36f4b44191be2066
Author: Peter Amstutz <peter.amstutz at curii.com>
Date: Tue Mar 29 21:41:20 2022 -0400
18941: Clamp between 1 and 16 prefetch threads
Arvados-DCO-1.1-Signed-off-by: Peter Amstutz <peter.amstutz at curii.com>
diff --git a/services/fuse/arvados_fuse/fusedir.py b/services/fuse/arvados_fuse/fusedir.py
index 4b2034163..d001e5728 100644
--- a/services/fuse/arvados_fuse/fusedir.py
+++ b/services/fuse/arvados_fuse/fusedir.py
@@ -525,7 +525,7 @@ class CollectionDirectory(CollectionDirectoryBase):
self.collection.update()
new_collection_record = self.collection.api_response()
else:
- get_threads = max((self.api.keep.block_cache.cache_max // (64 * 1024 * 1024)) - 1, 0)
+ get_threads = min(max((self.api.keep.block_cache.cache_max // (64 * 1024 * 1024)) - 1, 1), 16)
# Create a new collection object
if uuid_pattern.match(self.collection_locator):
coll_reader = arvados.collection.Collection(
-----------------------------------------------------------------------
hooks/post-receive
--
More information about the arvados-commits
mailing list