The goal is to avoid throwing out inodes that we just loaded.
Arvados-DCO-1.1-Signed-off-by: Peter Amstutz <peter.amstutz@curii.com>
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 *
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