.. | .. |
---|
33 | 33 | BKEY_PADDED(replace_key); |
---|
34 | 34 | }; |
---|
35 | 35 | |
---|
36 | | -unsigned int bch_get_congested(struct cache_set *c); |
---|
| 36 | +unsigned int bch_get_congested(const struct cache_set *c); |
---|
37 | 37 | void bch_data_insert(struct closure *cl); |
---|
38 | 38 | |
---|
39 | 39 | void bch_cached_dev_request_init(struct cached_dev *dc); |
---|
40 | | -void bch_flash_dev_request_init(struct bcache_device *d); |
---|
| 40 | +blk_qc_t cached_dev_submit_bio(struct bio *bio); |
---|
41 | 41 | |
---|
42 | | -extern struct kmem_cache *bch_search_cache, *bch_passthrough_cache; |
---|
| 42 | +void bch_flash_dev_request_init(struct bcache_device *d); |
---|
| 43 | +blk_qc_t flash_dev_submit_bio(struct bio *bio); |
---|
| 44 | + |
---|
| 45 | +extern struct kmem_cache *bch_search_cache; |
---|
43 | 46 | |
---|
44 | 47 | #endif /* _BCACHE_REQUEST_H_ */ |
---|