Commit 83ccd9b
Kent Overstreet
bcachefs: bch_fs.rw_devs_change_count
Add a counter that's incremented whenever rw devices change; this will
be used for erasure coding so that it can keep ec_stripe_head in sync
and not deadlock on a new stripe when a device it wants goes away.
Signed-off-by: Kent Overstreet <[email protected]>1 parent ad8d1f7 commit 83ccd9b
2 files changed
+9
-4
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2463 | 2463 | | |
2464 | 2464 | | |
2465 | 2465 | | |
2466 | | - | |
| 2466 | + | |
2467 | 2467 | | |
2468 | 2468 | | |
2469 | 2469 | | |
2470 | | - | |
| 2470 | + | |
2471 | 2471 | | |
2472 | 2472 | | |
| 2473 | + | |
| 2474 | + | |
2473 | 2475 | | |
2474 | 2476 | | |
2475 | 2477 | | |
| |||
2498 | 2500 | | |
2499 | 2501 | | |
2500 | 2502 | | |
2501 | | - | |
| 2503 | + | |
2502 | 2504 | | |
2503 | | - | |
| 2505 | + | |
2504 | 2506 | | |
2505 | 2507 | | |
| 2508 | + | |
| 2509 | + | |
2506 | 2510 | | |
2507 | 2511 | | |
2508 | 2512 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
871 | 871 | | |
872 | 872 | | |
873 | 873 | | |
| 874 | + | |
874 | 875 | | |
875 | 876 | | |
876 | 877 | | |
| |||
0 commit comments