hc
2023-12-11 d2ccde1c8e90d38cee87a1b0309ad2827f3fd30d
kernel/drivers/md/bcache/request.h
....@@ -33,12 +33,15 @@
3333 BKEY_PADDED(replace_key);
3434 };
3535
36
-unsigned int bch_get_congested(struct cache_set *c);
36
+unsigned int bch_get_congested(const struct cache_set *c);
3737 void bch_data_insert(struct closure *cl);
3838
3939 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);
4141
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;
4346
4447 #endif /* _BCACHE_REQUEST_H_ */