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/bch2.h | |
parent | 7b42d65c0607af212b9ef3aa834ea449e3f846b1 (diff) |
Initial bcache/bcachefs integrationbcache2
Diffstat (limited to 'drivers/md/bcache/bch2.h')
-rw-r--r-- | drivers/md/bcache/bch2.h | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/drivers/md/bcache/bch2.h b/drivers/md/bcache/bch2.h new file mode 100644 index 000000000000..40d30db8a43a --- /dev/null +++ b/drivers/md/bcache/bch2.h @@ -0,0 +1,11 @@ +/* SPDX-License-Identifier: GPL-2.0 */ +#ifndef _BCACHE_BCH2_H +#define _BCACHE_BCH2_H + +void bch2_cached_dev_make_request(struct cached_dev *dc, struct bio *bio); +int bch2_cached_dev_attach(struct cached_dev *dc, uint8_t *fs_uuid); + +void bch2_request_exit(struct cached_dev *dc); +int bch2_request_init(struct cached_dev *dc); + +#endif /* _BCACHE_BCH2_H_ */ |