Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 27 Jan 2010 15:22:20 +0000 (UTC)
From:      Rick Macklem <rmacklem@FreeBSD.org>
To:        cvs-src-old@freebsd.org
Subject:   cvs commit: src/sys/nfsclient nfs.h nfs_bio.c nfs_nfsiod.c nfs_subs.c nfs_vnops.c nfsnode.h
Message-ID:  <201001271522.o0RFMd2U067847@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
rmacklem    2010-01-27 15:22:20 UTC

  FreeBSD src repository

  Modified files:
    sys/nfsclient        nfs.h nfs_bio.c nfs_nfsiod.c nfs_subs.c 
                         nfs_vnops.c nfsnode.h 
  Log:
  SVN rev 203072 on 2010-01-27 15:22:20Z by rmacklem
  
  Fix a race that can occur when nfs nfsiod threads are being created.
  Without this patch it was possible for a different thread that calls
  nfs_asyncio() to snitch a newly created nfsiod thread that was
  intended for another caller of nfs_asyncio(), because the nfs_iod_mtx
  mutex was unlocked while the new nfsiod thread was created. This patch
  labels the newly created nfsiod, so that it is not taken by another
  caller of nfs_asyncio(). This is believed to fix the problem reported
  on the freebsd-stable email list under the subject:
  FreeBSD NFS client/Linux NFS server issue.
  
  Tested by:      to DOT my DOT trociny AT gmail DOT com
  Reviewed by:    jhb
  MFC after:      2 weeks
  
  Revision  Changes    Path
  1.111     +1 -1      src/sys/nfsclient/nfs.h
  1.181     +3 -3      src/sys/nfsclient/nfs_bio.c
  1.96      +13 -7     src/sys/nfsclient/nfs_nfsiod.c
  1.165     +2 -2      src/sys/nfsclient/nfs_subs.c
  1.325     +1 -1      src/sys/nfsclient/nfs_vnops.c
  1.68      +14 -1     src/sys/nfsclient/nfsnode.h



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