Commit 28cab27
remote/coordinator: fail acquire for orphaned
Check if a place acquire request tries to lock a resource that is marked
as orphaned. This means we no longer need to reacquire orphaned resource
before trying to acquire a places resources since we now refuse to
acquire the resources.
This avoids long delays on aquire calls if the exporter responsible for
an (unrelated) orphaned resource doesn't process commands quickly.
Signed-off-by: Rouven Czerwinski <r.czerwinski@pengutronix.de>1 parent c609d2d commit 28cab27
1 file changed
Lines changed: 8 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
638 | 638 | | |
639 | 639 | | |
640 | 640 | | |
| 641 | + | |
| 642 | + | |
| 643 | + | |
| 644 | + | |
| 645 | + | |
| 646 | + | |
| 647 | + | |
| 648 | + | |
641 | 649 | | |
642 | 650 | | |
643 | 651 | | |
| |||
755 | 763 | | |
756 | 764 | | |
757 | 765 | | |
758 | | - | |
759 | | - | |
760 | | - | |
761 | 766 | | |
762 | 767 | | |
763 | 768 | | |
| |||
0 commit comments