bcache: Break up struct search
authorKent Overstreet <kmo@daterainc.com>
Wed, 11 Sep 2013 02:02:45 +0000 (19:02 -0700)
committerKent Overstreet <kmo@daterainc.com>
Mon, 11 Nov 2013 05:56:32 +0000 (21:56 -0800)
commit220bb38c21b83e2f7b842f33220bf727093eca89
tree7388a855ca920ca88c0b9a4d66839946ba4cd848
parentcc7b8819212f437fc82f0f9cdc24deb0fb5d775f
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>
drivers/md/bcache/debug.c
drivers/md/bcache/debug.h
drivers/md/bcache/movinggc.c
drivers/md/bcache/request.c
drivers/md/bcache/request.h
drivers/md/bcache/stats.c
drivers/md/bcache/stats.h
drivers/md/bcache/trace.c
include/trace/events/bcache.h