You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

21 lines
910 B

  1. # flush-on-close
  2. By default, FUSE would issue a flush before the release of a file
  3. descriptor. This was considered a bit aggressive and a feature added
  4. to give the FUSE server the ability to choose when that happens.
  5. * `flush-on-close=always`
  6. * `flush-on-close=never`
  7. * `flush-on-close=opened-for-write`
  8. * Defaults to `opened-for-write`.
  9. For now it defaults to `opened-for-write` which is less aggressive
  10. than the behavior before this feature was added. It should not be a
  11. problem because the flush is really only relevant when a file is
  12. written to. Given flush is irrelevant for many filesystems in the
  13. future a branch specific flag may be added so only files opened on a
  14. specific branch would be flushed on close.
  15. ## References
  16. * [https://lkml.kernel.org/linux-fsdevel/20211024132607.1636952-1-amir73il@gmail.com/T/](https://lkml.kernel.org/linux-fsdevel/20211024132607.1636952-1-amir73il@gmail.com/T/)