Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 30 Jun 2008 15:41:57 +0000 (UTC)
From:      Ulf Lilleengen <lulf@FreeBSD.org>
To:        src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org
Subject:   cvs commit: src/sys/fs/fdescfs fdesc.h fdesc_vfsops.c fdesc_vnops.c
Message-ID:  <200806301542.m5UFg0MT081778@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
lulf        2008-06-30 15:41:57 UTC

  FreeBSD src repository

  Modified files:        (Branch: RELENG_7)
    sys/fs/fdescfs       fdesc.h fdesc_vfsops.c fdesc_vnops.c 
  Log:
  SVN rev 180121 on 2008-06-30 15:41:57Z by lulf
  
  MFC rev r179288:
  - Add locking to all filesystem operations in fdescfs and flag it as MPSAFE.
  - Use proper synhronization primitives to protect the internal fdesc node cache
    used in fdescfs.
  - Properly initialize and uninitalize hash.
  - Remove unused functions.
  
  Since fdescfs might recurse on itself, adding proper locking to it needed some
  tricky workarounds in some parts to make it work. For instance, a descriptor in
  fdescfs could refer to an open descriptor to itself, thus forcing the thread to
  recurse on vnode locks. Because of this, other race conditions also had to be
  fixed.
  
  Approved by:    kib (mentor)
  Reviewed by:    kib (mentor)
  Tested by:      pho
  
  Revision   Changes    Path
  1.20.10.1  +7 -2      src/sys/fs/fdescfs/fdesc.h
  1.56.2.1   +34 -10    src/sys/fs/fdescfs/fdesc_vfsops.c
  1.104.2.1  +158 -70   src/sys/fs/fdescfs/fdesc_vnops.c



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