-
Notifications
You must be signed in to change notification settings - Fork 136
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
dcache-bulk: give directory listing a separate executor
Motivation: The container rewrite originally put everything, including directory listing, on the same unbounded thread pool. Then a change was made to make that pool bounded. However, the extra semaphore permits involved can lead to a deadlock situation where no further listing takes place and tasks make no progress (this was observed and is reproducible). Modification: Return directory listing to its own executor. We also modify slightly the construction of the inner tasks so that only parent methods which manipulate the semaphore are necessary. Result: Lockup eliminated. Target: master Request: 9.2 Patch: https://rb.dcache.org/r/14126/ Requires-notes: yes, if backported after initial release. Acked-by: Tigran
- Loading branch information
Showing
3 changed files
with
44 additions
and
29 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters