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
F111011050: D19161.id53834.diff
Wed, Feb 26, 4:37 AM
F111009612: D19161.diff
Wed, Feb 26, 4:07 AM
Unknown Object (File)
Sun, Feb 23, 5:17 PM
Unknown Object (File)
Sat, Feb 22, 4:53 AM
Unknown Object (File)
Fri, Feb 21, 5:09 PM
Unknown Object (File)
Dec 10 2024, 11:01 PM
Unknown Object (File)
Oct 8 2024, 2:09 PM
Unknown Object (File)
Oct 8 2024, 2:09 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