git: hammer2 - more dmsg/separation work

Matthew Dillon dillon at crater.dragonflybsd.org
Sun Apr 20 20:14:50 PDT 2014


commit 8e226bc8563433ee7986c212fc193504d4af0626
Author: Matthew Dillon <dillon at apollo.backplane.com>
Date:   Sun Apr 20 20:07:24 2014 -0700

    hammer2 - more dmsg/separation work
    
    * More separation work in libdmsg, kern_dmsg.c, and kernel dmsg consumers.
    
    * subr_diskiocom.c should no longer need hammer2_disk.h (sys/dmsg.h)
      for the kernel build.
    
    * Add dmsg->tcmd to smooth some switch() use cases.

Summary of changes:
 lib/libdmsg/dmsg.h         |  1 +
 lib/libdmsg/msg.c          | 27 +++++++++++++-
 lib/libdmsg/msg_lnk.c      |  6 +---
 lib/libdmsg/service.c      |  2 +-
 sys/dev/disk/xdisk/xdisk.c |  7 ++--
 sys/kern/kern_dmsg.c       | 89 ++++++++++++++++++++++++++++++++--------------
 sys/kern/subr_diskiocom.c  | 10 +++---
 sys/sys/dmsg.h             | 25 +++++++------
 8 files changed, 114 insertions(+), 53 deletions(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/8e226bc8563433ee7986c212fc193504d4af0626


-- 
DragonFly BSD source repository



More information about the Commits mailing list