git: hammer - Use new vsyncscan() mechanic (3)

Matthew Dillon dillon at crater.dragonflybsd.org
Thu Oct 10 22:29:09 PDT 2013


commit 972eaa03105f14a302bd132229a328c0e715d2bc
Author: Matthew Dillon <dillon at apollo.backplane.com>
Date:   Thu Oct 10 22:21:49 2013 -0700

    hammer - Use new vsyncscan() mechanic (3)
    
    * The vsyncscan() feature requires using MNTK_THR_SYNC, otherwise the
      callback has to deal with vnodes unrelated to the mount point.
      Assert this in vsyncscan().
    
    * Enable MNTK_THR_SYNC in hammer
    
    * Cleanup edge cases in the scan2 callback.

Summary of changes:
 sys/kern/vfs_sync.c            | 12 +++++++-----
 sys/vfs/hammer/hammer_ondisk.c | 12 +++++++-----
 sys/vfs/hammer/hammer_vfsops.c |  1 +
 3 files changed, 15 insertions(+), 10 deletions(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/972eaa03105f14a302bd132229a328c0e715d2bc


-- 
DragonFly BSD source repository



More information about the Commits mailing list