We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 31dd798 commit 0aff21aCopy full SHA for 0aff21a
src/blockcache.cc
@@ -52,7 +52,7 @@ static spin_t bcache_lock;
52
static struct hash fnamedic;
53
54
// free block list
55
-static volatile size_t freelist_count;
+static atomic_uint64_t freelist_count(0);
56
static struct list freelist;
57
static spin_t freelist_lock;
58
0 commit comments