request.h (c39f2d9db0fd81ea20bb5cce9b3f082ca63753e2) | request.h (ff27668ce8092c74965f21b5c02ebc6b6764db95) |
---|---|
1/* SPDX-License-Identifier: GPL-2.0 */ 2#ifndef _BCACHE_REQUEST_H_ 3#define _BCACHE_REQUEST_H_ 4 5struct data_insert_op { 6 struct closure cl; 7 struct cache_set *c; 8 struct bio *bio; --- 23 unchanged lines hidden (view full) --- 32 struct keylist insert_keys; 33 BKEY_PADDED(replace_key); 34}; 35 36unsigned int bch_get_congested(const struct cache_set *c); 37void bch_data_insert(struct closure *cl); 38 39void bch_cached_dev_request_init(struct cached_dev *dc); | 1/* SPDX-License-Identifier: GPL-2.0 */ 2#ifndef _BCACHE_REQUEST_H_ 3#define _BCACHE_REQUEST_H_ 4 5struct data_insert_op { 6 struct closure cl; 7 struct cache_set *c; 8 struct bio *bio; --- 23 unchanged lines hidden (view full) --- 32 struct keylist insert_keys; 33 BKEY_PADDED(replace_key); 34}; 35 36unsigned int bch_get_congested(const struct cache_set *c); 37void bch_data_insert(struct closure *cl); 38 39void bch_cached_dev_request_init(struct cached_dev *dc); |
40blk_qc_t cached_dev_make_request(struct request_queue *q, struct bio *bio); 41 |
|
40void bch_flash_dev_request_init(struct bcache_device *d); | 42void bch_flash_dev_request_init(struct bcache_device *d); |
43blk_qc_t flash_dev_make_request(struct request_queue *q, struct bio *bio); |
|
41 42extern struct kmem_cache *bch_search_cache; 43 44#endif /* _BCACHE_REQUEST_H_ */ | 44 45extern struct kmem_cache *bch_search_cache; 46 47#endif /* _BCACHE_REQUEST_H_ */ |