Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 06 Oct 2021 20:09:02 +0000
From:      bugzilla-noreply@freebsd.org
To:        fs@FreeBSD.org
Subject:   [Bug 256936] Buggy filesystem detected - message wrongly triggered by FUSE filesystems
Message-ID:  <bug-256936-3630-wNvFNGZOQk@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-256936-3630@https.bugs.freebsd.org/bugzilla/>
References:  <bug-256936-3630@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D256936

--- Comment #15 from commit-hook@FreeBSD.org ---
A commit in branch main references this bug:

URL:
https://cgit.FreeBSD.org/src/commit/?id=3D5d94aaacb5180798b2f698e33937f0683=
86004eb

commit 5d94aaacb5180798b2f698e33937f068386004eb
Author:     Alan Somers <asomers@FreeBSD.org>
AuthorDate: 2021-10-03 16:59:04 +0000
Commit:     Alan Somers <asomers@FreeBSD.org>
CommitDate: 2021-10-06 20:07:33 +0000

    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

 sys/fs/fuse/fuse_internal.c | 74 +++++++++++++++++++++++++++++++----------=
----
 sys/fs/fuse/fuse_internal.h |  3 +-
 sys/fs/fuse/fuse_io.c       |  4 +--
 sys/fs/fuse/fuse_node.c     | 19 ++++++++++--
 sys/fs/fuse/fuse_node.h     |  2 +-
 sys/fs/fuse/fuse_vfsops.c   | 40 +-----------------------
 sys/fs/fuse/fuse_vnops.c    | 41 ++-----------------------
 7 files changed, 76 insertions(+), 107 deletions(-)

--=20
You are receiving this mail because:
You are the assignee for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-256936-3630-wNvFNGZOQk>