diff options
Diffstat (limited to 'include')
-rw-r--r-- | include/fuse_lowlevel.h | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/include/fuse_lowlevel.h b/include/fuse_lowlevel.h index 0ae7734..7b007e7 100644 --- a/include/fuse_lowlevel.h +++ b/include/fuse_lowlevel.h @@ -248,7 +248,15 @@ struct fuse_lowlevel_ops { void (*forget) (fuse_req_t req, fuse_ino_t ino, uint64_t nlookup); /** - * Get file attributes + * Get file attributes. + * + * If writeback caching is enabled, the kernel may have a + * better idea of a file's length than the FUSE file system + * (eg if there has been a write that extended the file size, + * but that has not yet been passed to the filesystem.n + * + * In this case, the st_size value provided by the file system + * will be ignored. * * Valid replies: * fuse_reply_attr |