git: hammer2 - Add kernel-thread-based async bulk free

Matthew Dillon dillon at crater.dragonflybsd.org
Fri Aug 18 22:43:24 PDT 2017


commit 9dca9515d47eeb36c9696bb04c0112bafd8efe38
Author: Matthew Dillon <dillon at apollo.backplane.com>
Date:   Fri Aug 18 16:00:54 2017 -0700

    hammer2 - Add kernel-thread-based async bulk free
    
    * Add an async bulk-free feature and a kernel thread to allow the hammer2
      vfs itself to run bulk frees.
    
    * Revamp the hammer2 thread management code a bit to support the new use,
      and clean-up the API.

Summary of changes:
 sbin/hammer2/cmd_bulkfree.c        |  22 +++++++
 sbin/hammer2/hammer2.h             |   1 +
 sbin/hammer2/main.c                |  10 ++++
 sys/vfs/hammer2/hammer2.h          |  23 +++++---
 sys/vfs/hammer2/hammer2_admin.c    | 118 ++++++++++++++++++++++---------------
 sys/vfs/hammer2/hammer2_bulkfree.c |  59 +++++++++++++++++++
 sys/vfs/hammer2/hammer2_ioctl.c    |  20 ++++++-
 sys/vfs/hammer2/hammer2_ioctl.h    |   1 +
 sys/vfs/hammer2/hammer2_subr.c     |  18 ++++--
 sys/vfs/hammer2/hammer2_synchro.c  |  10 ++--
 sys/vfs/hammer2/hammer2_vfsops.c   |   5 +-
 11 files changed, 219 insertions(+), 68 deletions(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/9dca9515d47eeb36c9696bb04c0112bafd8efe38


-- 
DragonFly BSD source repository



More information about the Commits mailing list