summaryrefslogtreecommitdiff
path: root/drivers/md/bcache/request.h
diff options
context:
space:
mode:
authorKent Overstreet <kmo@daterainc.com>2013-09-10 18:52:54 -0700
committerKent Overstreet <kmo@daterainc.com>2013-11-10 21:56:29 -0800
commit1b207d80d5b986fb305bc899357435d319319513 (patch)
treebf75b0befff3f48606832df0a64ced1c3c3ae91d /drivers/md/bcache/request.h
parentfaadf0c96547ec8277ad0abd6959f2ef48522f31 (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.h2
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 {
unsigned flush_journal:1;
unsigned insert_data_done:1;
+ unsigned replace:1;
uint16_t write_prio;
@@ -44,6 +45,7 @@ struct search {
/* Anything past this point won't get zeroed in search_alloc() */
struct keylist insert_keys;
+ BKEY_PADDED(replace_key);
};
unsigned bch_get_congested(struct cache_set *);