summaryrefslogtreecommitdiff
path: root/drivers/md/bcache/request.h
diff options
context:
space:
mode:
authorKent Overstreet <kmo@daterainc.com>2013-07-24 17:26:51 -0700
committerKent Overstreet <kmo@daterainc.com>2013-11-10 21:56:02 -0800
commit0b93207abb40d3c42bb83eba1e1e7edc1da77810 (patch)
treeeeca92af43a3d2413dc0a425f5cb71cfd4cad764 /drivers/md/bcache/request.h
parenta34a8bfd4e6358c646928320d37b0425c0762f8a (diff)
downloadlwn-0b93207abb40d3c42bb83eba1e1e7edc1da77810.tar.gz
lwn-0b93207abb40d3c42bb83eba1e1e7edc1da77810.zip
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>
Diffstat (limited to 'drivers/md/bcache/request.h')
-rw-r--r--drivers/md/bcache/request.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/drivers/md/bcache/request.h b/drivers/md/bcache/request.h
index 1f1b59d38db5..7d02ac5f936e 100644
--- a/drivers/md/bcache/request.h
+++ b/drivers/md/bcache/request.h
@@ -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);