hammer2 - Add kernel-thread-based async bulk free
authorMatthew Dillon <dillon@apollo.backplane.com>
Fri, 18 Aug 2017 23:00:54 +0000 (16:00 -0700)
committerMatthew Dillon <dillon@apollo.backplane.com>
Fri, 18 Aug 2017 23:00:54 +0000 (16:00 -0700)
commit9dca9515d47eeb36c9696bb04c0112bafd8efe38
tree34fbc06b8ca10cf376b65ed113ebe2072aa12bcd
parent01aea3fd80f7628a3ecbdbd246f0747800900fbb
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.
sbin/hammer2/cmd_bulkfree.c
sbin/hammer2/hammer2.h
sbin/hammer2/main.c
sys/vfs/hammer2/hammer2.h
sys/vfs/hammer2/hammer2_admin.c
sys/vfs/hammer2/hammer2_bulkfree.c
sys/vfs/hammer2/hammer2_ioctl.c
sys/vfs/hammer2/hammer2_ioctl.h
sys/vfs/hammer2/hammer2_subr.c
sys/vfs/hammer2/hammer2_synchro.c
sys/vfs/hammer2/hammer2_vfsops.c