Commit 95e2c43
committed
fix(yocto): force NFSv4.1 for the shared Yocto cache
NFSv4.2's READ_PLUS corrupts large-file reads over the shared download/
sstate cache: multi-GB BitBake git pack mirrors (linux, u-boot) come back
with mangled bytes, so `do_unpack` / `devtool modify` fail with zlib
"inflate: data stream error" / "pack checksum mismatch" at varying
offsets. Cloning the same repo to local disk is bit-perfect, isolating
the NFSv4.2 read path as the cause.
Cap nfsd at 4.1 on the hyper server (disables READ_PLUS for all clients)
and pin nfsvers=4.1 on the client mounts as belt-and-suspenders.1 parent 8c4247a commit 95e2c43
2 files changed
Lines changed: 15 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
16 | 16 | | |
17 | 17 | | |
18 | 18 | | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
19 | 23 | | |
20 | 24 | | |
21 | 25 | | |
22 | 26 | | |
23 | 27 | | |
24 | 28 | | |
25 | 29 | | |
| 30 | + | |
26 | 31 | | |
27 | 32 | | |
28 | 33 | | |
| |||
35 | 40 | | |
36 | 41 | | |
37 | 42 | | |
| 43 | + | |
38 | 44 | | |
39 | 45 | | |
40 | 46 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
68 | 68 | | |
69 | 69 | | |
70 | 70 | | |
| 71 | + | |
| 72 | + | |
| 73 | + | |
| 74 | + | |
| 75 | + | |
| 76 | + | |
| 77 | + | |
| 78 | + | |
| 79 | + | |
71 | 80 | | |
72 | 81 | | |
73 | 82 | | |
| |||
0 commit comments