bcache: Move keylist out of btree_op

Slowly working on pruning struct btree_op - the aim is for it to only
contain things that are actually necessary for traversing the btree.

Signed-off-by: Kent Overstreet <kmo@daterainc.com>
This commit is contained in:
Kent Overstreet
2013-07-24 17:26:51 -07:00
parent a34a8bfd4e
commit 0b93207abb
6 changed files with 36 additions and 28 deletions
+3 -1
View File
@@ -25,8 +25,10 @@ struct search {
short error;
unsigned long start_time;
/* Anything past op->keys won't get zeroed in do_bio_hook */
struct btree_op op;
/* Anything past this point won't get zeroed in search_alloc() */
struct keylist insert_keys;
};
void bch_cache_read_endio(struct bio *, int);