Commit 8f95ffb
Revert "nfs: don't reuse partially completed requests in nfs_lock_and_join_requests"
[ Upstream commit 66f9dac ]
This reverts commit b571cfc.
This patch appears to assume that if one request is complete, then the
others will complete too before unlocking. That is not a valid
assumption, since other requests could hit a non-fatal error or a short
write that would cause them not to complete.
Reported-by: Igor Raits <igor@gooddata.com>
Link: https://bugzilla.kernel.org/show_bug.cgi?id=219508
Fixes: b571cfc ("nfs: don't reuse partially completed requests in nfs_lock_and_join_requests")
Signed-off-by: Trond Myklebust <trond.myklebust@hammerspace.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>1 parent c5b7598 commit 8f95ffb
1 file changed
+29
-20
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
144 | 144 | | |
145 | 145 | | |
146 | 146 | | |
| 147 | + | |
| 148 | + | |
| 149 | + | |
| 150 | + | |
| 151 | + | |
| 152 | + | |
| 153 | + | |
| 154 | + | |
| 155 | + | |
| 156 | + | |
| 157 | + | |
| 158 | + | |
| 159 | + | |
| 160 | + | |
| 161 | + | |
| 162 | + | |
| 163 | + | |
| 164 | + | |
| 165 | + | |
| 166 | + | |
| 167 | + | |
| 168 | + | |
| 169 | + | |
| 170 | + | |
| 171 | + | |
147 | 172 | | |
148 | 173 | | |
149 | 174 | | |
| |||
540 | 565 | | |
541 | 566 | | |
542 | 567 | | |
543 | | - | |
544 | 568 | | |
545 | 569 | | |
546 | 570 | | |
| |||
565 | 589 | | |
566 | 590 | | |
567 | 591 | | |
568 | | - | |
| 592 | + | |
569 | 593 | | |
570 | 594 | | |
571 | 595 | | |
572 | | - | |
| 596 | + | |
| 597 | + | |
| 598 | + | |
573 | 599 | | |
574 | 600 | | |
575 | 601 | | |
576 | 602 | | |
577 | 603 | | |
578 | | - | |
579 | | - | |
580 | 604 | | |
581 | 605 | | |
582 | 606 | | |
583 | 607 | | |
584 | 608 | | |
585 | 609 | | |
586 | 610 | | |
587 | | - | |
588 | | - | |
589 | | - | |
590 | | - | |
591 | | - | |
592 | | - | |
593 | | - | |
594 | | - | |
595 | | - | |
596 | | - | |
597 | | - | |
598 | | - | |
599 | | - | |
600 | | - | |
601 | | - | |
602 | 611 | | |
603 | 612 | | |
604 | 613 | | |
| |||
0 commit comments