git: kernel - Fix vn_syncer_add panic with UFS

Matthew Dillon dillon at crater.dragonflybsd.org
Tue Nov 5 14:48:10 PST 2013


commit 518cbb49745841d703ea07e413dcfe9b7cb0ce96
Author: Matthew Dillon <dillon at apollo.backplane.com>
Date:   Tue Nov 5 14:46:00 2013 -0800

    kernel - Fix vn_syncer_add panic with UFS
    
    * The new VONWORKLST requirements were expanded to include VOBJDIRTY
      for both the standard syncer and the new syncer.  There was a path
      in the VM system which could clear VOBJDIRTY but failed to resynchronize
      VONWORKLST which could cause UFS to accidently leave a vnode on the
      syncer list after reclamation, causing a crash.
    
    * Fix the VM path.
    
    Reported-by: David Shao

Summary of changes:
 sys/kern/vfs_subr.c |  4 ++++
 sys/vm/vm_object.c  | 23 +++++++++++++++++------
 2 files changed, 21 insertions(+), 6 deletions(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/518cbb49745841d703ea07e413dcfe9b7cb0ce96


-- 
DragonFly BSD source repository


More information about the Commits mailing list