diff options
author | Alan Somers <asomers@FreeBSD.org> | 2021-10-03 16:59:04 +0000 |
---|---|---|
committer | Alan Somers <asomers@FreeBSD.org> | 2021-10-06 20:07:33 +0000 |
commit | 5d94aaacb5180798b2f698e33937f068386004eb (patch) | |
tree | a05da44937436c03d363470448a5280c192325e6 /tests/sys | |
parent | a76de17715ab689b0b53a1012e22d8a08470b6e4 (diff) | |
download | src-5d94aaacb5180798b2f698e33937f068386004eb.tar.gz src-5d94aaacb5180798b2f698e33937f068386004eb.zip |
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
MFC after: 2 weeks
Diffstat (limited to 'tests/sys')
0 files changed, 0 insertions, 0 deletions