git: hammer2 - Fix flush issues with unmounted PFSs and shutdown panic

Matthew Dillon dillon at crater.dragonflybsd.org
Thu Sep 21 17:40:26 PDT 2017


commit 28efb08b59554982eb3821fe0667704282992817
Author: Matthew Dillon <dillon at apollo.backplane.com>
Date:   Thu Sep 21 17:35:56 2017 -0700

    hammer2 - Fix flush issues with unmounted PFSs and shutdown panic
    
    * Fix flush and shutdown issues when unmounted PFS's are present.
      These PFSs do not get flushed by the filesystem sync code because
      they haven't been mounted, but may still contain modified or
      referenced chains, as well as sideq'd inodes.
    
    * Fix some other cleanup issues when unmounting.  Clean out vchain.pmp
      and fchain.pmp for the spmp during the unmount scan, which fixes a
      hammer2 pfs_memory_*() panic.
    
    Reported-by: yellowrabbit2010

Summary of changes:
 sys/vfs/hammer2/hammer2_vfsops.c | 20 +++++++++++++++++++-
 1 file changed, 19 insertions(+), 1 deletion(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/28efb08b59554982eb3821fe0667704282992817


-- 
DragonFly BSD source repository



More information about the Commits mailing list