summaryrefslogtreecommitdiff
path: root/drivers/md/bcache/request.h
diff options
context:
space:
mode:
authorKent Overstreet <kmo@daterainc.com>2013-07-25 05:11:11 +0400
committerKent Overstreet <kmo@daterainc.com>2013-11-11 09:56:32 +0400
commit2599b53b7b0ea6103d1661dca74d35480cb8fa1f (patch)
tree0b277532e73924b68c3da43a999aa5df33824787 /drivers/md/bcache/request.h
parent220bb38c21b83e2f7b842f33220bf727093eca89 (diff)
downloadlinux-2599b53b7b0ea6103d1661dca74d35480cb8fa1f.tar.xz
bcache: Move sector allocator to alloc.c
Just reorganizing things a bit. Signed-off-by: Kent Overstreet <kmo@daterainc.com>
Diffstat (limited to 'drivers/md/bcache/request.h')
-rw-r--r--drivers/md/bcache/request.h5
1 files changed, 1 insertions, 4 deletions
diff --git a/drivers/md/bcache/request.h b/drivers/md/bcache/request.h
index 54d7de27356f..2cd65bf073c2 100644
--- a/drivers/md/bcache/request.h
+++ b/drivers/md/bcache/request.h
@@ -6,10 +6,10 @@
struct data_insert_op {
struct closure cl;
struct cache_set *c;
- struct task_struct *task;
struct bio *bio;
unsigned inode;
+ uint16_t write_point;
uint16_t write_prio;
short error;
@@ -31,9 +31,6 @@ struct data_insert_op {
unsigned bch_get_congested(struct cache_set *);
void bch_data_insert(struct closure *cl);
-void bch_open_buckets_free(struct cache_set *);
-int bch_open_buckets_alloc(struct cache_set *);
-
void bch_cached_dev_request_init(struct cached_dev *dc);
void bch_flash_dev_request_init(struct bcache_device *d);