Commit 433dc0e
IB/iser: Don't suppress send completions
In order to complete a scsi command and guarantee that the HCA will never
perform an access violation when retrying a send operation we must
complete a scsi request only when both send and receive completions has
arrived. This is a preparation commit that remove the send completions
suppression. Next step will be taking care of the local invalidation
mechanism and adding a reference counter for commands. Currently, we
don't do anything upon getting the send completion and just "consume" it.
Link: https://lore.kernel.org/r/20211215135721.3662-5-mgurtovoy@nvidia.com
Signed-off-by: Max Gurtovoy <mgurtovoy@nvidia.com>
Reviewed-by: Israel Rukshin <israelr@nvidia.com>
Signed-off-by: Jason Gunthorpe <jgg@nvidia.com>1 parent cf9962c commit 433dc0e
3 files changed
Lines changed: 6 additions & 20 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
146 | 146 | | |
147 | 147 | | |
148 | 148 | | |
149 | | - | |
150 | | - | |
151 | 149 | | |
152 | 150 | | |
153 | 151 | | |
| |||
364 | 362 | | |
365 | 363 | | |
366 | 364 | | |
367 | | - | |
368 | 365 | | |
369 | 366 | | |
370 | 367 | | |
| |||
375 | 372 | | |
376 | 373 | | |
377 | 374 | | |
378 | | - | |
379 | 375 | | |
380 | 376 | | |
381 | 377 | | |
| |||
532 | 528 | | |
533 | 529 | | |
534 | 530 | | |
535 | | - | |
536 | | - | |
| 531 | + | |
537 | 532 | | |
538 | 533 | | |
539 | 534 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
350 | 350 | | |
351 | 351 | | |
352 | 352 | | |
353 | | - | |
354 | | - | |
355 | | - | |
356 | | - | |
357 | | - | |
358 | 353 | | |
359 | 354 | | |
360 | 355 | | |
| |||
371 | 366 | | |
372 | 367 | | |
373 | 368 | | |
374 | | - | |
375 | 369 | | |
376 | 370 | | |
377 | 371 | | |
| |||
418 | 412 | | |
419 | 413 | | |
420 | 414 | | |
421 | | - | |
422 | | - | |
| 415 | + | |
423 | 416 | | |
424 | 417 | | |
425 | 418 | | |
| |||
487 | 480 | | |
488 | 481 | | |
489 | 482 | | |
490 | | - | |
| 483 | + | |
491 | 484 | | |
492 | 485 | | |
493 | 486 | | |
| |||
550 | 543 | | |
551 | 544 | | |
552 | 545 | | |
553 | | - | |
| 546 | + | |
554 | 547 | | |
555 | 548 | | |
556 | 549 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
871 | 871 | | |
872 | 872 | | |
873 | 873 | | |
874 | | - | |
875 | 874 | | |
876 | 875 | | |
877 | 876 | | |
878 | | - | |
879 | | - | |
| 877 | + | |
880 | 878 | | |
881 | 879 | | |
882 | 880 | | |
| |||
891 | 889 | | |
892 | 890 | | |
893 | 891 | | |
894 | | - | |
| 892 | + | |
895 | 893 | | |
896 | 894 | | |
897 | 895 | | |
| |||
0 commit comments