HomeFreeBSD

fusefs: quiet some cache-related warnings

Description

fusefs: quiet some cache-related warnings

If the FUSE server does something that would make our cache incoherent,
we should print a warning to the user. However, we previously warned in
some situations when we shouldn't, such as if the file's size changed on
the server _after_ our own attribute cache had expired. This change
suppresses the warning in cases like that. It also moves the warning
logic to a single place within the code.

PR: 256936
Reported by: Agata <chogata@moosefs.pro>
Tested by: Agata <chogata@moosefs.pro>, jSML4ThWwBID69YC@protonmail.com

(cherry picked from commit 5d94aaacb5180798b2f698e33937f068386004eb)

Details

Provenance
asomersAuthored on Oct 3 2021, 4:59 PM
Parents
rGe72fce241f88: RPCBIND: skip ipv6 link local when request is not from link local address
Branches
Unknown
Tags
Unknown