About --disable-writeback-cache options #1456
-
QuestionHello community, I am currently using Blobfuse2 to mount Azure Blob Storage. I have come across several documents with the following comment: azure-storage-fuse/setup/baseConfig.yaml Lines 16 to 19 in f088b80 What I would like to know is whether setting the I am not very familiar with Unix or FUSE, so at first, I imagined that this flag was related to userland programs writing to a cache SSD mounted on a VM. However, as I looked into the code, I started to doubt my initial understanding. Specifically, I would like to know which data's writeback cache is disabled when enabling the Thank you very much for your assistance. Best regards, |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
"write-back cache" is more inclined to kernel page caching behavior and has nothing to do with how Blobfuse upstream the data to storage container. You can use block-cache mode to upstream data to container as your write (there will be some buffering at client level and a periodic staging of the blocks). However, actual persistence will happen only when you close the file handle or fsync the data. |
Beta Was this translation helpful? Give feedback.
"write-back cache" is more inclined to kernel page caching behavior and has nothing to do with how Blobfuse upstream the data to storage container. You can use block-cache mode to upstream data to container as your write (there will be some buffering at client level and a periodic staging of the blocks). However, actual persistence will happen only when you close the file handle or fsync the data.