diff options
author | Kent Overstreet <kmo@daterainc.com> | 2013-07-24 21:11:11 -0400 |
---|---|---|
committer | Kent Overstreet <kmo@daterainc.com> | 2013-11-11 00:56:32 -0500 |
commit | 2599b53b7b0ea6103d1661dca74d35480cb8fa1f (patch) | |
tree | 0b277532e73924b68c3da43a999aa5df33824787 /drivers/md/bcache/request.h | |
parent | 220bb38c21b83e2f7b842f33220bf727093eca89 (diff) |
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.h | 5 |
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 @@ | |||
6 | struct data_insert_op { | 6 | struct data_insert_op { |
7 | struct closure cl; | 7 | struct closure cl; |
8 | struct cache_set *c; | 8 | struct cache_set *c; |
9 | struct task_struct *task; | ||
10 | struct bio *bio; | 9 | struct bio *bio; |
11 | 10 | ||
12 | unsigned inode; | 11 | unsigned inode; |
12 | uint16_t write_point; | ||
13 | uint16_t write_prio; | 13 | uint16_t write_prio; |
14 | short error; | 14 | short error; |
15 | 15 | ||
@@ -31,9 +31,6 @@ struct data_insert_op { | |||
31 | unsigned bch_get_congested(struct cache_set *); | 31 | unsigned bch_get_congested(struct cache_set *); |
32 | void bch_data_insert(struct closure *cl); | 32 | void bch_data_insert(struct closure *cl); |
33 | 33 | ||
34 | void bch_open_buckets_free(struct cache_set *); | ||
35 | int bch_open_buckets_alloc(struct cache_set *); | ||
36 | |||
37 | void bch_cached_dev_request_init(struct cached_dev *dc); | 34 | void bch_cached_dev_request_init(struct cached_dev *dc); |
38 | void bch_flash_dev_request_init(struct bcache_device *d); | 35 | void bch_flash_dev_request_init(struct bcache_device *d); |
39 | 36 | ||