blob: e2ed54054e7a9106b50d0d2a3f6eb7967ce4e494 [file] [log] [blame]
Kent Overstreet65d45232013-12-20 17:22:05 -08001#ifndef _BCACHE_EXTENTS_H
2#define _BCACHE_EXTENTS_H
3
4extern const struct btree_keys_ops bch_btree_keys_ops;
5extern const struct btree_keys_ops bch_extent_keys_ops;
6
7struct bkey;
8struct cache_set;
9
Kent Overstreetdc9d98d2013-12-17 23:47:33 -080010void bch_extent_to_text(char *, size_t, const struct bkey *);
Kent Overstreet65d45232013-12-20 17:22:05 -080011bool __bch_btree_ptr_invalid(struct cache_set *, const struct bkey *);
Kent Overstreet9aa61a92014-04-10 17:58:49 -070012bool __bch_extent_invalid(struct cache_set *, const struct bkey *);
Kent Overstreet65d45232013-12-20 17:22:05 -080013
14#endif /* _BCACHE_EXTENTS_H */