diff options
author | Kent Overstreet <kmo@daterainc.com> | 2013-09-10 21:52:54 -0400 |
---|---|---|
committer | Kent Overstreet <kmo@daterainc.com> | 2013-11-11 00:56:29 -0500 |
commit | 1b207d80d5b986fb305bc899357435d319319513 (patch) | |
tree | bf75b0befff3f48606832df0a64ced1c3c3ae91d /drivers/md/bcache/request.h | |
parent | faadf0c96547ec8277ad0abd6959f2ef48522f31 (diff) |
bcache: Kill op->replace
This is prep work for converting bch_btree_insert to
bch_btree_map_leaf_nodes() - we have to convert all its arguments to
actual arguments. Bunch of churn, but should be straightforward.
Signed-off-by: Kent Overstreet <kmo@daterainc.com>
Diffstat (limited to 'drivers/md/bcache/request.h')
-rw-r--r-- | drivers/md/bcache/request.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/md/bcache/request.h b/drivers/md/bcache/request.h index ed578aa53ee2..5ea7a0e6fca0 100644 --- a/drivers/md/bcache/request.h +++ b/drivers/md/bcache/request.h | |||
@@ -33,6 +33,7 @@ struct search { | |||
33 | unsigned flush_journal:1; | 33 | unsigned flush_journal:1; |
34 | 34 | ||
35 | unsigned insert_data_done:1; | 35 | unsigned insert_data_done:1; |
36 | unsigned replace:1; | ||
36 | 37 | ||
37 | uint16_t write_prio; | 38 | uint16_t write_prio; |
38 | 39 | ||
@@ -44,6 +45,7 @@ struct search { | |||
44 | 45 | ||
45 | /* Anything past this point won't get zeroed in search_alloc() */ | 46 | /* Anything past this point won't get zeroed in search_alloc() */ |
46 | struct keylist insert_keys; | 47 | struct keylist insert_keys; |
48 | BKEY_PADDED(replace_key); | ||
47 | }; | 49 | }; |
48 | 50 | ||
49 | unsigned bch_get_congested(struct cache_set *); | 51 | unsigned bch_get_congested(struct cache_set *); |