DragonFly BSD
DragonFly commits List (threaded) for 2010-07
[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]

git: unmount - fix issue with process refs on unmount


From: Alex Hornung <alexh@xxxxxxxxxxxxxxxxxxxxxxx>
Date: Fri, 2 Jul 2010 13:40:01 -0700 (PDT)

commit 32b7c8fd87be7c51dc88c41996a6a847e11ceede
Author: Alex Hornung <ahornung@gmail.com>
Date:   Fri Jul 2 21:29:17 2010 +0100

    unmount - fix issue with process refs on unmount
    
    * The p_textnch introduction made this issue appear, as some processes
      are still alive at system shutdown and their p_textnch were holding
      these references to the mount nch.
    
    * On unmount of a filesystem we now scan all active processes for procs
      whose p_textnch is related to the mountpoint we are getting rid of,
      and release these.
    
    Dragonfly-bug: http://bugs.dragonflybsd.org/issue1708
    Special-Thanks-To: Antonio Huete (tuxillo@) for identifying the
    offending commit and extensive testing

Summary of changes:
 sys/kern/vfs_syscalls.c |   20 ++++++++++++++++++++
 1 files changed, 20 insertions(+), 0 deletions(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/32b7c8fd87be7c51dc88c41996a6a847e11ceede


-- 
DragonFly BSD source repository



[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]