diff options
author | Kent Overstreet <kent.overstreet@gmail.com> | 2020-06-22 17:35:56 -0400 |
---|---|---|
committer | Kent Overstreet <kent.overstreet@gmail.com> | 2020-06-28 18:12:46 -0400 |
commit | 8aa6e6e10ce712bcb10be9a206ec13d00ad0e7e6 (patch) | |
tree | 347feb718da57de42ae6f2e5367df3e2e5ad6466 /drivers/md/bcache/io.h | |
parent | 7b42d65c0607af212b9ef3aa834ea449e3f846b1 (diff) |
Initial bcache/bcachefs integrationbcache2
Diffstat (limited to 'drivers/md/bcache/io.h')
-rw-r--r-- | drivers/md/bcache/io.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/drivers/md/bcache/io.h b/drivers/md/bcache/io.h index 59bc40c8b107..08bfbd521e96 100644 --- a/drivers/md/bcache/io.h +++ b/drivers/md/bcache/io.h @@ -7,7 +7,9 @@ struct cache; struct cache_set; unsigned int bch_get_congested(const struct cache_set *c); -bool bch_check_should_bypass(struct cached_dev *dc, struct bio *bio); +bool bch_check_should_bypass(struct cached_dev *dc, struct bio *bio, + unsigned int block_size, + unsigned int dirty_percentage); 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, |