git: hammer2 - Refactor frontend part 1/many

Matthew Dillon dillon at crater.dragonflybsd.org
Wed Jun 17 17:15:45 PDT 2015


commit b2900845aad3e7e4b965e9ed922bbaa21697ce9e
Author: Matthew Dillon <dillon at apollo.backplane.com>
Date:   Tue Jun 16 18:19:22 2015 -0700

    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.

Summary of changes:
 sys/vfs/hammer2/Makefile           |   1 +
 sys/vfs/hammer2/hammer2.h          |   6 +
 sys/vfs/hammer2/hammer2_strategy.c | 473 +++++++++++++++++++++++++++++++++++++
 sys/vfs/hammer2/hammer2_vnops.c    | 421 +--------------------------------
 4 files changed, 481 insertions(+), 420 deletions(-)
 create mode 100644 sys/vfs/hammer2/hammer2_strategy.c

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/b2900845aad3e7e4b965e9ed922bbaa21697ce9e


-- 
DragonFly BSD source repository


More information about the Commits mailing list