Commit 9bcbd98
committed
Merge: nfsd: move init of percpu reply_cache_stats counters back to nfsd_init_net
MR: https://gitlab.com/redhat/centos-stream/src/kernel/centos-stream-9/-/merge_requests/2735
Bugzilla: https://bugzilla.redhat.com/2215429
This patch fixes a regression that crept into upstream kernels and 9.3 with an earlier backport. Since the procfiles are available when nfsd isn't running, we also need to make sure that the percpu counters are always initialized.
Signed-off-by: Jeffrey Layton <jlayton@redhat.com>
Approved-by: Eirik Fuller <efuller@redhat.com>
Approved-by: Scott Mayhew <smayhew@redhat.com>
Approved-by: Benjamin Coddington <bcodding@redhat.com>
Signed-off-by: Jan Stancek <jstancek@redhat.com>3 files changed
+25
-12
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
80 | 80 | | |
81 | 81 | | |
82 | 82 | | |
| 83 | + | |
| 84 | + | |
83 | 85 | | |
84 | 86 | | |
85 | 87 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
148 | 148 | | |
149 | 149 | | |
150 | 150 | | |
151 | | - | |
| 151 | + | |
| 152 | + | |
| 153 | + | |
| 154 | + | |
| 155 | + | |
| 156 | + | |
| 157 | + | |
152 | 158 | | |
153 | 159 | | |
154 | 160 | | |
155 | 161 | | |
156 | | - | |
| 162 | + | |
| 163 | + | |
| 164 | + | |
| 165 | + | |
| 166 | + | |
| 167 | + | |
157 | 168 | | |
158 | 169 | | |
159 | 170 | | |
| |||
169 | 180 | | |
170 | 181 | | |
171 | 182 | | |
172 | | - | |
173 | | - | |
174 | | - | |
175 | | - | |
176 | 183 | | |
177 | 184 | | |
178 | 185 | | |
179 | 186 | | |
180 | 187 | | |
181 | 188 | | |
182 | | - | |
| 189 | + | |
183 | 190 | | |
184 | 191 | | |
185 | 192 | | |
| |||
195 | 202 | | |
196 | 203 | | |
197 | 204 | | |
198 | | - | |
199 | | - | |
200 | | - | |
201 | 205 | | |
202 | 206 | | |
203 | 207 | | |
| |||
217 | 221 | | |
218 | 222 | | |
219 | 223 | | |
220 | | - | |
221 | 224 | | |
222 | 225 | | |
223 | 226 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1487 | 1487 | | |
1488 | 1488 | | |
1489 | 1489 | | |
| 1490 | + | |
| 1491 | + | |
| 1492 | + | |
1490 | 1493 | | |
1491 | 1494 | | |
1492 | 1495 | | |
| |||
1495 | 1498 | | |
1496 | 1499 | | |
1497 | 1500 | | |
| 1501 | + | |
| 1502 | + | |
1498 | 1503 | | |
1499 | 1504 | | |
1500 | 1505 | | |
| |||
1503 | 1508 | | |
1504 | 1509 | | |
1505 | 1510 | | |
| 1511 | + | |
| 1512 | + | |
| 1513 | + | |
1506 | 1514 | | |
1507 | 1515 | | |
1508 | | - | |
| 1516 | + | |
1509 | 1517 | | |
1510 | 1518 | | |
1511 | 1519 | | |
| |||
0 commit comments