Page MenuHomeFreeBSD

FUSE: Only "dirty" cached file size when data is dirty
AbandonedPublic

Authored by cem on Feb 12 2019, 9:40 AM.
Tags
None
Referenced Files
Unknown Object (File)
Feb 19 2024, 10:08 PM
Unknown Object (File)
Feb 10 2024, 9:36 PM
Unknown Object (File)
Nov 24 2023, 7:49 PM
Unknown Object (File)
Jul 15 2023, 9:07 PM
Unknown Object (File)
Jul 15 2023, 8:15 AM
Unknown Object (File)
Jun 30 2023, 5:49 PM
Unknown Object (File)
Jun 8 2023, 6:23 AM
Unknown Object (File)
May 18 2023, 9:49 PM

Details

Reviewers
None
Summary

Most users of fuse_vnode_setsize() set the cached fvdat->filesize and update
the buf cache bounds as a result of either a read from the underlying FUSE
filesystem, or as part of a write-through type operation (like truncate =>
VOP_SETATTR). In these cases, do not set the FN_SIZECHANGE flag, which
indicates that an inode's data is dirty (in particular, that the local buf
cache and fvdat->filesize have dirty extended data).

Diff Detail

Lint
Lint Passed
Unit
No Test Coverage
Build Status
Buildable 22460
Build 21615: arc lint + arc unit