[Bug 216087] NFSv4.1 client recovery from NFSERR_BADSESSION might starve recovery thread

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Sat Jan 14 22:57:45 UTC 2017


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

            Bug ID: 216087
           Summary: NFSv4.1 client recovery from NFSERR_BADSESSION might
                    starve recovery thread
           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 178895
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=178895&action=edit
Patch to give exclusive locker of nfsc_lock priority over shared lockers

When the NFSv4.1 client is doing recovery from a server crash/reboot, the
recovery thread "nfscl" must acquire an exclusive lock on the clientid
(nfsc_lock). This patch gives exclusive lockers priority over shared lockers,
so that the "nfscl" recovery won't be starved out (livelocked) by shared
lockers.

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


More information about the freebsd-bugs mailing list