Repository navigation
Commit 2d95b49
fix: add device polling for config disk to prevent race condition
The device polling optimization waited only for /dev/vda and /dev/vdb,
but /dev/vdc (config disk) was mounted without polling. This could cause
mount failures if vdc appeared slightly after vdb.
Now readConfig() polls for /dev/vdc before attempting to mount it,
consistent with how we handle the other block devices.1 parent 73a7252 commit 2d95b49
1 file changed
Lines changed: 6 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
5 | 5 | | |
6 | 6 | | |
7 | 7 | | |
| 8 | + | |
8 | 9 | | |
9 | 10 | | |
10 | 11 | | |
| |||
19 | 20 | | |
20 | 21 | | |
21 | 22 | | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
22 | 28 | | |
23 | 29 | | |
24 | 30 | | |
| |||
0 commit comments