[ARVADOS] updated: b74a8ad7711b44e76be5a6aab2a6e0c8c2eb1427

Git user git at public.curoverse.com
Wed Sep 21 16:36:31 EDT 2016


Summary of changes:
 services/fuse/arvados_fuse/__init__.py | 7 ++++++-
 1 file changed, 6 insertions(+), 1 deletion(-)

       via  b74a8ad7711b44e76be5a6aab2a6e0c8c2eb1427 (commit)
      from  cf4baf70d54b20fd232f5eecaae435df295d8f46 (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 b74a8ad7711b44e76be5a6aab2a6e0c8c2eb1427
Author: Peter Amstutz <peter.amstutz at curoverse.com>
Date:   Wed Sep 21 16:36:27 2016 -0400

    Add debugging.

diff --git a/services/fuse/arvados_fuse/__init__.py b/services/fuse/arvados_fuse/__init__.py
index 9ef6fa2..a3a1173 100644
--- a/services/fuse/arvados_fuse/__init__.py
+++ b/services/fuse/arvados_fuse/__init__.py
@@ -160,14 +160,19 @@ class InodeCache(object):
             obj.cache_uuid = None
         if clear:
             _logger.debug("InodeCache cleared inode %i total now %i", obj.inode, self._total)
+        else:
+            _logger.debug("InodeCache remove inode %i", obj.inode)
         return True
 
     def cap_cache(self):
         if self._total > self.cap:
-            for ent in self._entries.values():
+            entries = self._entries.values()
+            _logger.debug("InodeCache start cap_cache %s", entries)
+            for ent in entries:
                 if self._total < self.cap or len(self._entries) < self.min_entries:
                     break
                 self._remove(ent, True)
+            _logger.debug("InodeCache finish cap_cache")
 
     def manage(self, obj):
         if obj.persisted():

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


hooks/post-receive
-- 




More information about the arvados-commits mailing list