[Bug 284186] NFS v4.2: improve change_attr_type

From: <bugzilla-noreply_at_freebsd.org>
Date: Mon, 20 Jan 2025 08:12:58 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=284186

            Bug ID: 284186
           Summary: NFS v4.2: improve change_attr_type
           Product: Base System
           Version: Unspecified
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Some People
          Priority: ---
         Component: kern
          Assignee: bugs@FreeBSD.org
          Reporter: richard@kojedz.in

We had a long standing issue with an NFS share being mounted on multiple Linux
hosts, and randomly we encountered caching issues.

https://marc.info/?l=linux-nfs&m=170013171720335

We could not exactly reproduce the issue, howewer, with two different machines
mounting the same share, we have been faced the issue once in a week or two.

With a trial patch thanks to @Rick Macklem, our FreeBSD based TrueNAS now
reports the change_attr_type as NFS4_CHANGE_TYPE_IS_VERSION_COUNTER_NOPNFS, and
for two months now we have not met the issue.

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