#include "bcache.h"
#include "bset.h"
#include "debug.h"
#include <linux/blkdev.h>
void bch_bbio_free(struct bio *bio, struct cache_set *c)
{ … }
struct bio *bch_bbio_alloc(struct cache_set *c)
{ … }
void __bch_submit_bbio(struct bio *bio, struct cache_set *c)
{ … }
void bch_submit_bbio(struct bio *bio, struct cache_set *c,
struct bkey *k, unsigned int ptr)
{ … }
void bch_count_backing_io_errors(struct cached_dev *dc, struct bio *bio)
{ … }
void bch_count_io_errors(struct cache *ca,
blk_status_t error,
int is_read,
const char *m)
{ … }
void bch_bbio_count_io_errors(struct cache_set *c, struct bio *bio,
blk_status_t error, const char *m)
{ … }
void bch_bbio_endio(struct cache_set *c, struct bio *bio,
blk_status_t error, const char *m)
{ … }