Unused const `FUSE_WRITE_CACHE`
KongzhangHao opened this issue · comments
The function documentation of write_back()
in file //src/mount_options.rs
says that the write flag FUSE_WRITE_CACHE
should be enabled to use the write back cache for buffered writes. However, it seems that flag FUSE_WRITE_CACHE
in file //src/raw/abi.rs
doesn't appear referenced anywhere else except in this comment. I'm wondering how this actually works to enable the write buffer?
that's a doc bug, when enable the write_back
feature, the FUSE_WRITEBACK_CACHE
flag is set, not FUSE_WRITE_CACHE
FUSE_WRITE_CACHE
is used to determine whether the write operation is a delay write or not