diff options
author | Kent Overstreet <kmo@daterainc.com> | 2013-07-25 04:26:51 +0400 |
---|---|---|
committer | Kent Overstreet <kmo@daterainc.com> | 2013-11-11 09:56:02 +0400 |
commit | 0b93207abb40d3c42bb83eba1e1e7edc1da77810 (patch) | |
tree | eeca92af43a3d2413dc0a425f5cb71cfd4cad764 /drivers/md/bcache/request.h | |
parent | a34a8bfd4e6358c646928320d37b0425c0762f8a (diff) | |
download | linux-0b93207abb40d3c42bb83eba1e1e7edc1da77810.tar.xz |
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.h | 4 |
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); |