-
- Downloads
bcache: Break up struct search
With all the recent refactoring around struct btree op struct search has
gotten rather large.
But we can now easily break it up in a different way - we break out
struct btree_insert_op which is for inserting data into the cache, and
that's now what the copying gc code uses - struct search is now specific
to request.c
Signed-off-by:
Kent Overstreet <kmo@daterainc.com>
Showing
- drivers/md/bcache/debug.c 9 additions, 29 deletionsdrivers/md/bcache/debug.c
- drivers/md/bcache/debug.h 2 additions, 2 deletionsdrivers/md/bcache/debug.h
- drivers/md/bcache/movinggc.c 27 additions, 29 deletionsdrivers/md/bcache/movinggc.c
- drivers/md/bcache/request.c 303 additions, 277 deletionsdrivers/md/bcache/request.c
- drivers/md/bcache/request.h 8 additions, 29 deletionsdrivers/md/bcache/request.h
- drivers/md/bcache/stats.c 13 additions, 13 deletionsdrivers/md/bcache/stats.c
- drivers/md/bcache/stats.h 8 additions, 5 deletionsdrivers/md/bcache/stats.h
- drivers/md/bcache/trace.c 0 additions, 1 deletiondrivers/md/bcache/trace.c
- include/trace/events/bcache.h 8 additions, 10 deletionsinclude/trace/events/bcache.h
Loading
Please register or sign in to comment