cvs commit: src/usr.sbin/rpc.lockd lock_proc.c

Robert Watson rwatson at FreeBSD.org
Wed May 14 06:50:42 PDT 2003


rwatson     2003/05/14 06:50:40 PDT

  FreeBSD src repository

  Modified files:
    usr.sbin/rpc.lockd   lock_proc.c 
  Log:
  When receiving NLM_GRANTED_RES or NLM4_GRANTED_RES lock granted messages
  from the NFS server, following contention on a lock by this or another
  client, immediately notify the waiting process that the lock has been
  granted via a wakeup.  Without this change, the client rpc.lockd will
  not wakeup the waiting process until it next re-polls the lock (sometime
  in the next ten seconds), which can lead to marked latency across all
  potential lockers, as the lock is held by the client for the duration.
  
  Approved by:    re (scottl)
  Submitted by:   truckman
  Reviewed by:    Andrew P. Lentvorski, Jr <bsder at allcaps.org>
  
  Revision  Changes    Path
  1.11      +7 -2      src/usr.sbin/rpc.lockd/lock_proc.c


More information about the cvs-src mailing list