git: unmount - fix issue with process refs on unmount

Alex Hornung alexh at crater.dragonflybsd.org
Fri Jul 2 13:40:05 PDT 2010


commit 32b7c8fd87be7c51dc88c41996a6a847e11ceede
Author: Alex Hornung <ahornung at 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





More information about the Commits mailing list