]> git.karo-electronics.de Git - karo-tx-linux.git/commit
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>
Wed, 11 Sep 2013 02:02:45 +0000 (19:02 -0700)
commitdd879364df83542bd16aa36ce373006a9a4a1f35
tree52ed610efdabf2595b529c4275625c6e3e6d6e1e
parent75b385d64b4413bcf409d0c0eba1a7a781928f05
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