[block-manager] ensure the superblock cannot be taken concurrently with any other lock.

This commit is contained in:
Joe Thornber
2014-08-21 12:18:05 +01:00
parent 3724f78a13
commit 0d3942cae8
4 changed files with 13 additions and 1 deletions

View File

@@ -119,6 +119,7 @@ namespace bcache {
~block_cache();
uint64_t get_nr_blocks() const;
uint64_t get_nr_locked() const;
enum get_flags {
GF_ZERO = (1 << 0),