Commit b76cce1
Kent Overstreet
bcachefs: Add more flags to btree nodes for rewrite reason
It seems excessive forced btree node rewrites can cause interior btree
updates to become wedged during recovery, before we're using the write
buffer for backpointer updates.
Add more flags so we can determine where these are coming from.
Signed-off-by: Kent Overstreet <[email protected]>1 parent c7e351b commit b76cce1
File tree
4 files changed
+48
-6
lines changed- fs/bcachefs
4 files changed
+48
-6
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1045 | 1045 | | |
1046 | 1046 | | |
1047 | 1047 | | |
| 1048 | + | |
1048 | 1049 | | |
1049 | 1050 | | |
1050 | 1051 | | |
| |||
1305 | 1306 | | |
1306 | 1307 | | |
1307 | 1308 | | |
| 1309 | + | |
1308 | 1310 | | |
1309 | 1311 | | |
1310 | 1312 | | |
| |||
1329 | 1331 | | |
1330 | 1332 | | |
1331 | 1333 | | |
1332 | | - | |
| 1334 | + | |
1333 | 1335 | | |
| 1336 | + | |
| 1337 | + | |
1334 | 1338 | | |
1335 | 1339 | | |
1336 | | - | |
| 1340 | + | |
1337 | 1341 | | |
| 1342 | + | |
| 1343 | + | |
1338 | 1344 | | |
1339 | 1345 | | |
1340 | 1346 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
617 | 617 | | |
618 | 618 | | |
619 | 619 | | |
| 620 | + | |
| 621 | + | |
| 622 | + | |
620 | 623 | | |
621 | 624 | | |
622 | 625 | | |
| |||
641 | 644 | | |
642 | 645 | | |
643 | 646 | | |
| 647 | + | |
| 648 | + | |
| 649 | + | |
| 650 | + | |
| 651 | + | |
| 652 | + | |
| 653 | + | |
| 654 | + | |
| 655 | + | |
| 656 | + | |
| 657 | + | |
| 658 | + | |
| 659 | + | |
| 660 | + | |
| 661 | + | |
| 662 | + | |
| 663 | + | |
| 664 | + | |
| 665 | + | |
| 666 | + | |
| 667 | + | |
| 668 | + | |
| 669 | + | |
| 670 | + | |
| 671 | + | |
| 672 | + | |
644 | 673 | | |
645 | 674 | | |
646 | 675 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1138 | 1138 | | |
1139 | 1139 | | |
1140 | 1140 | | |
| 1141 | + | |
| 1142 | + | |
| 1143 | + | |
| 1144 | + | |
| 1145 | + | |
| 1146 | + | |
| 1147 | + | |
1141 | 1148 | | |
1142 | 1149 | | |
1143 | 1150 | | |
| |||
1235 | 1242 | | |
1236 | 1243 | | |
1237 | 1244 | | |
1238 | | - | |
| 1245 | + | |
1239 | 1246 | | |
1240 | 1247 | | |
1241 | 1248 | | |
| |||
2699 | 2706 | | |
2700 | 2707 | | |
2701 | 2708 | | |
2702 | | - | |
| 2709 | + | |
2703 | 2710 | | |
2704 | 2711 | | |
2705 | 2712 | | |
2706 | | - | |
| 2713 | + | |
2707 | 2714 | | |
2708 | 2715 | | |
2709 | 2716 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
59 | 59 | | |
60 | 60 | | |
61 | 61 | | |
62 | | - | |
| 62 | + | |
63 | 63 | | |
64 | 64 | | |
65 | 65 | | |
| |||
0 commit comments