[Bug 215887] The NFSv4 client code erroneously mapped NFSERR_STALEWRITEVERF to EIO

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Sun Jan 8 22:52:38 UTC 2017


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=215887

            Bug ID: 215887
           Summary: The NFSv4 client code erroneously mapped
                    NFSERR_STALEWRITEVERF to EIO
           Product: Base System
           Version: CURRENT
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Some People
          Priority: ---
         Component: kern
          Assignee: freebsd-bugs at FreeBSD.org
          Reporter: rmacklem at FreeBSD.org

Created attachment 178642
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=178642&action=edit
Don't map NFSER_STALEWRITEVERF or other fake errors

The NFSv4 client erroneously mapped NFSERR_STALEWRITEVERF to EIO.
This would break recovery from a server reboot with uncommitted
data, possibly resulting in data loss in this case.

The attached 1 line patch fixes this.

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


More information about the freebsd-bugs mailing list