summaryrefslogtreecommitdiff
path: root/libbcachefs/snapshot.c
diff options
context:
space:
mode:
authorKent Overstreet <kent.overstreet@linux.dev>2025-04-28 12:50:37 -0400
committerKent Overstreet <kent.overstreet@linux.dev>2025-04-28 12:50:37 -0400
commit0589d9f3c3cdff28a13f9efc96762d39ef615d22 (patch)
tree4d7e466a10ba9cd10c8b30e7aad1606e44770314 /libbcachefs/snapshot.c
parente00e83b84d8de5a6fa279a3c50ad1d7603ee4607 (diff)
Update bcachefs sources to 6e73711dc355 bcachefs: Read retries are after checksum errors now REQ_FUA
Diffstat (limited to 'libbcachefs/snapshot.c')
-rw-r--r--libbcachefs/snapshot.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/libbcachefs/snapshot.c b/libbcachefs/snapshot.c
index 14ea09cc..94cf60f7 100644
--- a/libbcachefs/snapshot.c
+++ b/libbcachefs/snapshot.c
@@ -1743,10 +1743,6 @@ int bch2_snapshots_read(struct bch_fs *c)
BUG_ON(!test_bit(BCH_FS_new_fs, &c->flags) &&
test_bit(BCH_FS_may_go_rw, &c->flags));
- if (bch2_err_matches(ret, EIO) ||
- (c->sb.btrees_lost_data & BIT_ULL(BTREE_ID_snapshots)))
- ret = bch2_run_explicit_recovery_pass_persistent(c, BCH_RECOVERY_PASS_reconstruct_snapshots);
-
return ret;
}