summaryrefslogtreecommitdiff
path: root/libbcache/request.h
blob: cd3fe122504540462c2fa8ba44a2f0efddcf1cc7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
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_ */