Repository navigation
Commit 4faa528
[PATCH] aio: revert lock_kiocb()
lock_kiocb() was introduced to serialize retrying and cancellation. In the
process of doing so it tried to sleep waiting for KIF_LOCKED while holding
the ctx_lock spinlock. Recent fixes have ensured that multiple concurrent
retries won't be attempted for a given iocb. Cancel has other problems and
has no significant in-tree users that have been complaining about it. So
for the immediate future we'll revert sleeping with the lock held and will
address proper cancellation and retry serialization in the future.
Signed-off-by: Zach Brown <zach.brown@oracle.com>
Acked-by: Benjamin LaHaise <bcrl@kvack.org>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>1 parent e7507ed commit 4faa528
2 files changed
Lines changed: 7 additions & 26 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
398 | 398 | | |
399 | 399 | | |
400 | 400 | | |
401 | | - | |
| 401 | + | |
402 | 402 | | |
403 | 403 | | |
404 | 404 | | |
| |||
547 | 547 | | |
548 | 548 | | |
549 | 549 | | |
550 | | - | |
551 | | - | |
552 | | - | |
553 | | - | |
554 | | - | |
555 | | - | |
556 | | - | |
557 | | - | |
558 | | - | |
559 | | - | |
560 | | - | |
561 | | - | |
562 | | - | |
563 | | - | |
564 | | - | |
565 | | - | |
566 | | - | |
567 | | - | |
568 | | - | |
569 | 550 | | |
570 | 551 | | |
571 | 552 | | |
| |||
796 | 777 | | |
797 | 778 | | |
798 | 779 | | |
799 | | - | |
800 | 780 | | |
801 | | - | |
802 | 781 | | |
803 | 782 | | |
804 | 783 | | |
| |||
1542 | 1521 | | |
1543 | 1522 | | |
1544 | 1523 | | |
1545 | | - | |
1546 | 1524 | | |
1547 | 1525 | | |
1548 | 1526 | | |
| |||
1674 | 1652 | | |
1675 | 1653 | | |
1676 | 1654 | | |
1677 | | - | |
1678 | 1655 | | |
1679 | 1656 | | |
1680 | 1657 | | |
| |||
1686 | 1663 | | |
1687 | 1664 | | |
1688 | 1665 | | |
1689 | | - | |
1690 | 1666 | | |
1691 | 1667 | | |
1692 | 1668 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
24 | 24 | | |
25 | 25 | | |
26 | 26 | | |
27 | | - | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
28 | 33 | | |
29 | 34 | | |
30 | 35 | | |
| |||
0 commit comments