hammer2 - Refactor frontend part 1/many
authorMatthew Dillon <dillon@apollo.backplane.com>
Wed, 17 Jun 2015 01:19:22 +0000 (18:19 -0700)
committerMatthew Dillon <dillon@apollo.backplane.com>
Thu, 18 Jun 2015 00:15:39 +0000 (17:15 -0700)
commitb2900845aad3e7e4b965e9ed922bbaa21697ce9e
tree840b837efe8bed387eb076a5bcc537056c2363fd
parent4705af8f0001e005dfd3f8e3036386483c02c961
hammer2 - Refactor frontend part 1/many

This sequence of commits will refactor the frontend to distribute cluster
operations for VOPs to per-node thread sets.  Trying to code async locking
and I/O across multiple nodes is too complex and prone to bugginess.  Instead,
operations will be distributed to individual nodes and compete for completion,
with the frontend returning the instant sufficient progress has been made.

Remaining operations will continue in the background (or abort) even after
the frontend returns.

* Separate out strategy code.
sys/vfs/hammer2/Makefile
sys/vfs/hammer2/hammer2.h
sys/vfs/hammer2/hammer2_strategy.c [new file with mode: 0644]
sys/vfs/hammer2/hammer2_vnops.c