summaryrefslogtreecommitdiff
path: root/libbcachefs/io.c
diff options
context:
space:
mode:
Diffstat (limited to 'libbcachefs/io.c')
-rw-r--r--libbcachefs/io.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libbcachefs/io.c b/libbcachefs/io.c
index 0a64f35d..039dd044 100644
--- a/libbcachefs/io.c
+++ b/libbcachefs/io.c
@@ -1046,7 +1046,7 @@ static void bch2_read_endio(struct bio *bio)
if (rbio->ptr.cached &&
(((rbio->flags & BCH_READ_RETRY_IF_STALE) && race_fault()) ||
ptr_stale(rbio->ca, &rbio->ptr))) {
- atomic_long_inc(&c->cache_read_races);
+ atomic_long_inc(&c->read_realloc_races);
if (rbio->flags & BCH_READ_RETRY_IF_STALE)
bch2_rbio_retry(c, rbio);