blobfuse2 difference between --attr-cache-timeout and --attr-timeout #940
-
If |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
--attr-timeout : how long kernel can cache attributes of a given file |
Beta Was this translation helpful? Give feedback.
-
if i change the file content in storage account, the changes are not reflecting in mount path file. Please suggest |
Beta Was this translation helpful? Give feedback.
--attr-timeout : how long kernel can cache attributes of a given file
--attr-cache-timeout : how long blobfuse attr-cache component can cache the attribute of a given file. If this timeout is greater than kernel timeout even when kernel asks us to refresh the attribute, we can still use our cache instead of asking the storage. This caching is little intelligent compared to kernel one as we keep updating the size and last modified time of a file in local cache as and when file operations are performed. This allows us to reduce GetProperties() call done to storage which are very frequently done by kernel to get metadata of a file.
Also, one major difference about blobfuse caching attribute …