X-Git-Url: https://git.arvados.org/arvados.git/blobdiff_plain/0821f5481edd016a3744bb50d97a9e5b99cd1a0f..36e23b3761e43231789df66dc441727c000a2ffc:/services/fuse/arvados_fuse/fusefile.py diff --git a/services/fuse/arvados_fuse/fusefile.py b/services/fuse/arvados_fuse/fusefile.py index 81fcd405ad..5855361760 100644 --- a/services/fuse/arvados_fuse/fusefile.py +++ b/services/fuse/arvados_fuse/fusefile.py @@ -1,3 +1,7 @@ +# Copyright (C) The Arvados Authors. All rights reserved. +# +# SPDX-License-Identifier: AGPL-3.0 + import json import llfuse import logging @@ -118,12 +122,11 @@ class FuncToJSONFile(StringFile): super(FuncToJSONFile, self).__init__(parent_inode, "", 0) self.func = func - # invalidate_inode() and invalidate_entry() are asynchronous - # with no callback to wait for. In order to guarantee - # userspace programs don't get stale data that was generated - # before the last invalidate(), we must disallow dirent + # invalidate_inode() is asynchronous with no callback to wait for. In + # order to guarantee userspace programs don't get stale data that was + # generated before the last invalidate(), we must disallow inode # caching entirely. - self.allow_dirent_cache = False + self.allow_attr_cache = False def size(self): self._update()