git: kernel - Fix df and unmount of bad NFS volumes

Matthew Dillon dillon at crater.dragonflybsd.org
Tue Mar 26 19:35:32 PDT 2019


commit 1af46206e167f00e035b1a82ebe15665df633ac6
Author: Matthew Dillon <dillon at apollo.backplane.com>
Date:   Tue Mar 26 19:33:03 2019 -0700

    kernel - Fix df and unmount of bad NFS volumes
    
    * Fix an issue where a bad filesystem would not be listed in the
      df output due to the vfsstat refresh failing.  Allow vfsstat refreshes
      to fail.
    
    * Fix an issue where a NFS mount that goes bad could not be unmounted
      due to the path lookup failing with EBADRPC, ESTALE, or EIO.  These
      may now be unmounted with umount -f ...

Summary of changes:
 sys/kern/vfs_nlookup.c  | 45 ++++++++++++++++++++++++++++++++++++---------
 sys/kern/vfs_syscalls.c | 42 +++++++++++++++++++++++++++++++-----------
 sys/sys/nlookup.h       |  2 +-
 3 files changed, 68 insertions(+), 21 deletions(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/1af46206e167f00e035b1a82ebe15665df633ac6


-- 
DragonFly BSD source repository


More information about the Commits mailing list