git: kernel - Fix vclean assertion due to short-cut taken by TMPFS

Matthew Dillon dillon at crater.dragonflybsd.org
Sat Nov 18 09:12:33 PST 2017


commit db1347159d48b55711d5746ff3a7734f9d8bbd59
Author: Matthew Dillon <dillon at apollo.backplane.com>
Date:   Sat Nov 18 09:08:45 2017 -0800

    kernel - Fix vclean assertion due to short-cut taken by TMPFS
    
    * Allow a vnode being destroyed to have a dirty VM object.  TMPFS
      doesn't bother to cleanup VM objects when destroying file nodes
      (e.g. when a file that is no longer referenced is removed), and
      can leave dirty pages present in the underlying object.
    
    * Fixes occassional kernel assertions related to tmpfs (that only
      tend to occur with specific use cases).
    
    Reported-by: zrj

Summary of changes:
 sys/kern/vfs_subr.c | 3 +++
 1 file changed, 3 insertions(+)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/db1347159d48b55711d5746ff3a7734f9d8bbd59


-- 
DragonFly BSD source repository



More information about the Commits mailing list