linux/drivers/md/bcache/request.h

/* SPDX-License-Identifier: GPL-2.0 */
#ifndef _BCACHE_REQUEST_H_
#define _BCACHE_REQUEST_H_

struct data_insert_op {};

unsigned int bch_get_congested(const struct cache_set *c);
CLOSURE_CALLBACK(bch_data_insert);

void bch_cached_dev_request_init(struct cached_dev *dc);
void cached_dev_submit_bio(struct bio *bio);

void bch_flash_dev_request_init(struct bcache_device *d);
void flash_dev_submit_bio(struct bio *bio);

extern struct kmem_cache *bch_search_cache;

#endif /* _BCACHE_REQUEST_H_ */