git: hammer2 - Remote xop implementation part 1

Matthew Dillon dillon at crater.dragonflybsd.org
Sun Aug 12 21:05:03 PDT 2018


commit c4421f075b17e1466981307d93b091b2f9171685
Author: Matthew Dillon <dillon at apollo.backplane.com>
Date:   Sat Jul 28 19:03:29 2018 -0700

    hammer2 - Remote xop implementation part 1
    
    * Normalize naming conventions for XOP functions.
    
    * Change the XOP callback API to remove the hammer2_thread argument.
      Pass the clindex and scratch buffer in directly.
    
    * Change the XOP API to pass in a function descriptor instead of a
      function pointer, create prototypes for DMSG send/receive XOPs which
      will be used for XOP components which are DMSG based and not
      local-storage based.
    
    * Adjust comments.

Summary of changes:
 sys/vfs/hammer2/hammer2.h          | 118 ++++++++++++++++++++++++++++++-------
 sys/vfs/hammer2/hammer2_admin.c    |  47 +++++++++++----
 sys/vfs/hammer2/hammer2_flush.c    |  10 ++--
 sys/vfs/hammer2/hammer2_inode.c    |  62 +++++++++----------
 sys/vfs/hammer2/hammer2_iocom.c    |  19 +++++-
 sys/vfs/hammer2/hammer2_ioctl.c    |   6 +-
 sys/vfs/hammer2/hammer2_strategy.c |  29 ++++-----
 sys/vfs/hammer2/hammer2_synchro.c  |   6 +-
 sys/vfs/hammer2/hammer2_vfsops.c   |   6 +-
 sys/vfs/hammer2/hammer2_vnops.c    |  65 ++------------------
 sys/vfs/hammer2/hammer2_xops.c     |  70 +++++++++++-----------
 11 files changed, 247 insertions(+), 191 deletions(-)

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


-- 
DragonFly BSD source repository


More information about the Commits mailing list