HomeFreeBSD

fusefs: only test for incoherency if FN_SIZECHANGE is set

Description

fusefs: only test for incoherency if FN_SIZECHANGE is set

FUSE emits spurious incoherency warnings in writethrough mode. The
warnings are triggered by setattr calls generated by vnode truncation
turning the cached va_size vattr stale, causing comparisons with the
fresh version provided by the server to fail. Only validate the vnode's
va_size vattr if the FN_SIZECHANGE flag is set.

This is a part of the research work at RCSLab, University of Waterloo.

Reviewed by: asomers
Pull Request: https://github.com/freebsd/freebsd-src/pull/1110

(cherry picked from commit 8758bf0aaec1d4b2ebcb429e8cabc691c2c95461)

Details

Provenance
emil_etsalapatis.comAuthored on Feb 8 2024, 1:13 AM
asomersCommitted on Apr 21 2024, 2:09 PM
Parents
rG43bf62a364c1: aw_gpio: temporarily switch to input function if read in eint mode
Branches
Unknown
Tags
Unknown