Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 25 Dec 2010 21:56:25 +0000 (UTC)
From:      Rick Macklem <rmacklem@FreeBSD.org>
To:        cvs-src-old@freebsd.org
Subject:   cvs commit: src/sys/fs/nfs nfs.h nfs_commonsubs.c nfs_var.h src/sys/fs/nfsserver nfs_nfsdport.c nfs_nfsdserv.c nfs_nfsdsocket.c
Message-ID:  <201012252156.oBPLuaxd088419@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
rmacklem    2010-12-25 21:56:25 UTC

  FreeBSD src repository

  Modified files:
    sys/fs/nfs           nfs.h nfs_commonsubs.c nfs_var.h 
    sys/fs/nfsserver     nfs_nfsdport.c nfs_nfsdserv.c 
                         nfs_nfsdsocket.c 
  Log:
  SVN rev 216700 on 2010-12-25 21:56:25Z by rmacklem
  
  Modify the experimental NFS server so that it uses LK_SHARED
  for RPC operations when it can. Since VFS_FHTOVP() currently
  always gets an exclusively locked vnode and is usually called
  at the beginning of each RPC, the RPCs for a given vnode will
  still be serialized. As such, passing a lock type argument to
  VFS_FHTOVP() would be preferable to doing the vn_lock() with
  LK_DOWNGRADE after the VFS_FHTOVP() call.
  
  Reviewed by:    kib
  MFC after:      2 weeks
  
  Revision  Changes    Path
  1.8       +1 -0      src/sys/fs/nfs/nfs.h
  1.7       +48 -46    src/sys/fs/nfs/nfs_commonsubs.c
  1.19      +2 -2      src/sys/fs/nfs/nfs_var.h
  1.31      +16 -8     src/sys/fs/nfsserver/nfs_nfsdport.c
  1.11      +4 -3      src/sys/fs/nfsserver/nfs_nfsdserv.c
  1.7       +31 -19    src/sys/fs/nfsserver/nfs_nfsdsocket.c



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