Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 21 Apr 2011 19:56:06 +0000 (UTC)
From:      Rick Macklem <rmacklem@FreeBSD.org>
To:        cvs-src-old@freebsd.org
Subject:   cvs commit: src/sys/fs/nfsclient nfs_clbio.c
Message-ID:  <201104211956.p3LJuTb9062310@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
rmacklem    2011-04-21 19:56:06 UTC

  FreeBSD src repository

  Modified files:
    sys/fs/nfsclient     nfs_clbio.c 
  Log:
  SVN rev 220928 on 2011-04-21 19:56:06Z by rmacklem
  
  Remove the nm_mtx mutex locking from the test for
  nm_maxfilesize. This value rarely, if ever, changes
  and the nm_mtx mutex is locked/unlocked earlier in
  the function, which should be sufficient to avoid
  getting a stale cached value for it. There is a
  discussion w.r.t. what these tests should be, but
  I've left them basically the same as the regular
  NFS client for now.
  
  Suggested by:   pjd
  MFC after:      2 weeks
  
  Revision  Changes    Path
  1.22      +1 -5      src/sys/fs/nfsclient/nfs_clbio.c



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201104211956.p3LJuTb9062310>