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)
Sat, Jan 10, 10:47 PM
Unknown Object (File)
Dec 21 2025, 5:44 AM
Unknown Object (File)
Dec 10 2025, 5:46 AM
Unknown Object (File)
Nov 26 2025, 8:51 AM
Unknown Object (File)
Nov 11 2025, 1:37 AM
Unknown Object (File)
Nov 5 2025, 11:33 PM
Unknown Object (File)
Oct 22 2025, 1:13 AM
Unknown Object (File)
Oct 13 2025, 9:59 AM

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