Commit 6b52ea7
dlm: drop mutex use in waiters recovery
The waiters_mutex no longer needs to be used in the waiters recovery
functions dlm_recover_waiters_pre() and dlm_recover_waiters_pre().
During recovery, ordinary locking operations are paused, and the
recovery thread is the only context accessing the waiters list,
so the lock is not needed.
Access to the waiters list from debugfs functions is avoided by
taking the top level recovery lock in the debugfs dump function.
Signed-off-by: Alexander Aring <aahringo@redhat.com>
Signed-off-by: David Teigland <teigland@redhat.com>1 parent 3ae6776 commit 6b52ea7
3 files changed
Lines changed: 23 additions & 8 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
737 | 737 | | |
738 | 738 | | |
739 | 739 | | |
| 740 | + | |
| 741 | + | |
| 742 | + | |
| 743 | + | |
| 744 | + | |
| 745 | + | |
740 | 746 | | |
741 | 747 | | |
742 | 748 | | |
| |||
749 | 755 | | |
750 | 756 | | |
751 | 757 | | |
| 758 | + | |
752 | 759 | | |
753 | 760 | | |
| 761 | + | |
754 | 762 | | |
755 | 763 | | |
756 | 764 | | |
| |||
772 | 780 | | |
773 | 781 | | |
774 | 782 | | |
| 783 | + | |
| 784 | + | |
| 785 | + | |
| 786 | + | |
775 | 787 | | |
| 788 | + | |
776 | 789 | | |
777 | 790 | | |
778 | 791 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
201 | 201 | | |
202 | 202 | | |
203 | 203 | | |
204 | | - | |
| 204 | + | |
205 | 205 | | |
206 | 206 | | |
207 | 207 | | |
| |||
1556 | 1556 | | |
1557 | 1557 | | |
1558 | 1558 | | |
1559 | | - | |
| 1559 | + | |
| 1560 | + | |
| 1561 | + | |
| 1562 | + | |
| 1563 | + | |
1560 | 1564 | | |
1561 | 1565 | | |
1562 | 1566 | | |
| |||
1566 | 1570 | | |
1567 | 1571 | | |
1568 | 1572 | | |
| 1573 | + | |
| 1574 | + | |
| 1575 | + | |
1569 | 1576 | | |
1570 | 1577 | | |
1571 | 1578 | | |
| |||
4398 | 4405 | | |
4399 | 4406 | | |
4400 | 4407 | | |
4401 | | - | |
4402 | 4408 | | |
4403 | 4409 | | |
4404 | 4410 | | |
| |||
4437 | 4443 | | |
4438 | 4444 | | |
4439 | 4445 | | |
4440 | | - | |
4441 | 4446 | | |
4442 | 4447 | | |
4443 | 4448 | | |
| |||
4489 | 4494 | | |
4490 | 4495 | | |
4491 | 4496 | | |
4492 | | - | |
4493 | 4497 | | |
4494 | 4498 | | |
4495 | 4499 | | |
| |||
4890 | 4894 | | |
4891 | 4895 | | |
4892 | 4896 | | |
4893 | | - | |
4894 | | - | |
4895 | 4897 | | |
4896 | 4898 | | |
4897 | 4899 | | |
| |||
4984 | 4986 | | |
4985 | 4987 | | |
4986 | 4988 | | |
4987 | | - | |
4988 | 4989 | | |
4989 | 4990 | | |
4990 | 4991 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
23 | 23 | | |
24 | 24 | | |
25 | 25 | | |
| 26 | + | |
26 | 27 | | |
27 | 28 | | |
28 | 29 | | |
| |||
0 commit comments