Commit 32cf5a4
committed
Revert "svcrdma: Add Write chunk WRs to the RPC's Send WR chain"
Performance regression reported with NFS/RDMA using Omnipath,
bisected to commit e084ee6 ("svcrdma: Add Write chunk WRs to
the RPC's Send WR chain").
Tracing on the server reports:
nfsd-7771 [060] 1758.891809: svcrdma_sq_post_err:
cq.id=205 cid=226 sc_sq_avail=13643/851 status=-12
sq_post_err reports ENOMEM, and the rdma->sc_sq_avail (13643) is
larger than rdma->sc_sq_depth (851). The number of available Send
Queue entries is always supposed to be smaller than the Send Queue
depth. That seems like a Send Queue accounting bug in svcrdma.
As it's getting to be late in the 6.9-rc cycle, revert this commit.
It can be revisited in a subsequent kernel release.
Link: https://bugzilla.kernel.org/show_bug.cgi?id=218743
Fixes: e084ee6 ("svcrdma: Add Write chunk WRs to the RPC's Send WR chain")
Signed-off-by: Chuck Lever <[email protected]>1 parent f488138 commit 32cf5a4
File tree
3 files changed
+26
-78
lines changed- include/linux/sunrpc
- net/sunrpc/xprtrdma
3 files changed
+26
-78
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
210 | 210 | | |
211 | 211 | | |
212 | 212 | | |
213 | | - | |
214 | 213 | | |
215 | 214 | | |
216 | 215 | | |
| |||
239 | 238 | | |
240 | 239 | | |
241 | 240 | | |
242 | | - | |
243 | | - | |
244 | 241 | | |
245 | | - | |
246 | 242 | | |
247 | 243 | | |
248 | 244 | | |
| |||
274 | 270 | | |
275 | 271 | | |
276 | 272 | | |
277 | | - | |
278 | | - | |
279 | 273 | | |
280 | 274 | | |
281 | | - | |
282 | | - | |
283 | | - | |
284 | | - | |
| 275 | + | |
| 276 | + | |
| 277 | + | |
285 | 278 | | |
286 | 279 | | |
287 | 280 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
230 | 230 | | |
231 | 231 | | |
232 | 232 | | |
233 | | - | |
234 | | - | |
235 | | - | |
236 | | - | |
237 | | - | |
238 | | - | |
239 | | - | |
240 | | - | |
241 | | - | |
242 | | - | |
243 | | - | |
244 | | - | |
245 | | - | |
246 | | - | |
247 | | - | |
248 | | - | |
249 | | - | |
250 | | - | |
251 | | - | |
252 | | - | |
253 | | - | |
254 | | - | |
255 | 233 | | |
256 | 234 | | |
257 | 235 | | |
| |||
308 | 286 | | |
309 | 287 | | |
310 | 288 | | |
| 289 | + | |
| 290 | + | |
311 | 291 | | |
312 | 292 | | |
313 | 293 | | |
314 | 294 | | |
315 | | - | |
| 295 | + | |
316 | 296 | | |
317 | 297 | | |
318 | 298 | | |
319 | 299 | | |
320 | 300 | | |
321 | 301 | | |
322 | 302 | | |
323 | | - | |
324 | | - | |
325 | | - | |
326 | | - | |
327 | | - | |
| 303 | + | |
| 304 | + | |
| 305 | + | |
| 306 | + | |
| 307 | + | |
| 308 | + | |
328 | 309 | | |
329 | 310 | | |
330 | 311 | | |
| |||
620 | 601 | | |
621 | 602 | | |
622 | 603 | | |
623 | | - | |
624 | | - | |
625 | | - | |
626 | | - | |
627 | | - | |
628 | | - | |
| 604 | + | |
| 605 | + | |
| 606 | + | |
629 | 607 | | |
630 | 608 | | |
631 | 609 | | |
632 | | - | |
633 | 610 | | |
634 | | - | |
635 | | - | |
636 | 611 | | |
637 | 612 | | |
638 | 613 | | |
| |||
648 | 623 | | |
649 | 624 | | |
650 | 625 | | |
651 | | - | |
652 | | - | |
653 | | - | |
654 | | - | |
655 | | - | |
656 | | - | |
657 | | - | |
658 | | - | |
659 | | - | |
660 | | - | |
661 | | - | |
662 | | - | |
663 | | - | |
664 | | - | |
665 | | - | |
666 | | - | |
667 | | - | |
668 | | - | |
669 | 626 | | |
| 627 | + | |
| 628 | + | |
| 629 | + | |
670 | 630 | | |
671 | 631 | | |
672 | 632 | | |
| |||
675 | 635 | | |
676 | 636 | | |
677 | 637 | | |
678 | | - | |
| 638 | + | |
679 | 639 | | |
680 | | - | |
681 | | - | |
| 640 | + | |
682 | 641 | | |
683 | 642 | | |
684 | 643 | | |
685 | 644 | | |
686 | 645 | | |
687 | | - | |
688 | | - | |
689 | | - | |
690 | | - | |
| 646 | + | |
| 647 | + | |
| 648 | + | |
691 | 649 | | |
692 | 650 | | |
693 | 651 | | |
694 | 652 | | |
695 | | - | |
| 653 | + | |
696 | 654 | | |
697 | 655 | | |
698 | | - | |
| 656 | + | |
699 | 657 | | |
700 | 658 | | |
701 | 659 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
142 | 142 | | |
143 | 143 | | |
144 | 144 | | |
145 | | - | |
146 | 145 | | |
147 | 146 | | |
148 | 147 | | |
| |||
228 | 227 | | |
229 | 228 | | |
230 | 229 | | |
231 | | - | |
232 | 230 | | |
233 | 231 | | |
234 | 232 | | |
| |||
1015 | 1013 | | |
1016 | 1014 | | |
1017 | 1015 | | |
1018 | | - | |
1019 | | - | |
| 1016 | + | |
1020 | 1017 | | |
1021 | 1018 | | |
1022 | 1019 | | |
| |||
0 commit comments