Kent Overstreet | 65d4523 | 2013-12-20 17:22:05 -0800 | [diff] [blame] | 1 | #ifndef _BCACHE_EXTENTS_H |
| 2 | #define _BCACHE_EXTENTS_H |
| 3 | |
| 4 | extern const struct btree_keys_ops bch_btree_keys_ops; |
| 5 | extern const struct btree_keys_ops bch_extent_keys_ops; |
| 6 | |
| 7 | struct bkey; |
| 8 | struct cache_set; |
| 9 | |
Kent Overstreet | dc9d98d | 2013-12-17 23:47:33 -0800 | [diff] [blame] | 10 | void bch_extent_to_text(char *, size_t, const struct bkey *); |
Kent Overstreet | 65d4523 | 2013-12-20 17:22:05 -0800 | [diff] [blame] | 11 | bool __bch_btree_ptr_invalid(struct cache_set *, const struct bkey *); |
Kent Overstreet | 9aa61a9 | 2014-04-10 17:58:49 -0700 | [diff] [blame] | 12 | bool __bch_extent_invalid(struct cache_set *, const struct bkey *); |
Kent Overstreet | 65d4523 | 2013-12-20 17:22:05 -0800 | [diff] [blame] | 13 | |
| 14 | #endif /* _BCACHE_EXTENTS_H */ |