diff options
author | Kent Overstreet <kent.overstreet@gmail.com> | 2017-01-08 00:13:18 -0900 |
---|---|---|
committer | Kent Overstreet <kent.overstreet@gmail.com> | 2017-01-20 09:07:08 -0900 |
commit | b33fc8298f7e13226b9895abc57c9bfce5e3fa2d (patch) | |
tree | a3d2a5a909b6372f7777c1c5c18cef5f81d123a9 /libbcache/request.h | |
parent | 7f4191a202ea4558ca2d5eb8a47daea33c9999c7 (diff) |
bcache in userspace; userspace fsck
Diffstat (limited to 'libbcache/request.h')
-rw-r--r-- | libbcache/request.h | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/libbcache/request.h b/libbcache/request.h new file mode 100644 index 00000000..cd3fe122 --- /dev/null +++ b/libbcache/request.h @@ -0,0 +1,16 @@ +#ifndef _BCACHE_REQUEST_H_ +#define _BCACHE_REQUEST_H_ + +#include "stats.h" + +struct cache_set; +struct cached_dev; +struct bcache_device; +struct kmem_cache; + +unsigned bch_get_congested(struct cache_set *); + +void bch_cached_dev_request_init(struct cached_dev *dc); +void bch_blockdev_volume_request_init(struct bcache_device *d); + +#endif /* _BCACHE_REQUEST_H_ */ |