git: sys/kern: Make struct buf::b_dep a member of union

Tomohiro Kusumi tkusumi at crater.dragonflybsd.org
Mon Aug 29 07:34:27 PDT 2016


commit 3dd1f60cc80ec027140207d223a7e0c26cd74336
Author: Tomohiro Kusumi <kusumi.tomohiro at gmail.com>
Date:   Mon Aug 29 22:13:21 2016 +0900

    sys/kern: Make struct buf::b_dep a member of union
    
    struct buf::b_dep being a list head is too specific to UFS.
    HAMMER or other filesystems want this to be a void* pointer.
    
    It also forces HAMMER or other filesystems to define their own
    struct worklist because no such struct is defined outside of
    the UFS source which is insane in terms of a kernel structure
    for general blk i/o.
    
    Also see 71199586f.

Summary of changes:
 sys/sys/buf.h           |  5 ++++-
 sys/vfs/hammer/hammer.h | 14 ++------------
 2 files changed, 6 insertions(+), 13 deletions(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/3dd1f60cc80ec027140207d223a7e0c26cd74336


-- 
DragonFly BSD source repository



More information about the Commits mailing list