[arvados] updated: 2.7.0-6106-g66e7b6244a

git repository hosting git at public.arvados.org
Thu Mar 7 00:43:28 UTC 2024


Summary of changes:
 services/fuse/arvados_fuse/command.py | 6 ++++++
 services/fuse/arvados_fuse/fusedir.py | 4 ++--
 2 files changed, 8 insertions(+), 2 deletions(-)

       via  66e7b6244a81e8b335d1da7ce8de0105f60b798c (commit)
      from  5882d86c3b0b98c4bc8ac23f6faea350016e5077 (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 66e7b6244a81e8b335d1da7ce8de0105f60b798c
Author: Peter Amstutz <peter.amstutz at curii.com>
Date:   Wed Mar 6 19:42:11 2024 -0500

    21541: Do cap_cache before we release the entries we just created
    
    The goal is to avoid throwing out inodes that we just loaded.
    
    Arvados-DCO-1.1-Signed-off-by: Peter Amstutz <peter.amstutz at curii.com>

diff --git a/services/fuse/arvados_fuse/command.py b/services/fuse/arvados_fuse/command.py
index c24e4f7764..74d28a9e8a 100644
--- a/services/fuse/arvados_fuse/command.py
+++ b/services/fuse/arvados_fuse/command.py
@@ -18,6 +18,12 @@ import sys
 import time
 import resource
 
+# This is speculative, but we're having low frequency SSL crashes
+# early in the execution and so I thought maybe importing the SSL module
+# before we start any threads might be helpful.
+# On the other hand, I've still had it crash on me.
+import _ssl
+
 import arvados.commands._util as arv_cmd
 from arvados_fuse import crunchstat
 from arvados_fuse import *
diff --git a/services/fuse/arvados_fuse/fusedir.py b/services/fuse/arvados_fuse/fusedir.py
index b202493e4a..00b9d8b547 100644
--- a/services/fuse/arvados_fuse/fusedir.py
+++ b/services/fuse/arvados_fuse/fusedir.py
@@ -211,13 +211,13 @@ class Directory(FreshBase):
             self.inodes.invalidate_inode(self)
             self._mtime = time.time()
 
+        self.inodes.inode_cache.cap_cache()
+
         for ent in self._entries.values():
            ent.dec_use()
 
         self.fresh()
 
-        self.inodes.inode_cache.cap_cache()
-
     def in_use(self):
         if super(Directory, self).in_use():
             return True

-----------------------------------------------------------------------


hooks/post-receive
-- 




More information about the arvados-commits mailing list