-
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-qos,dcache-bulk: allow qos update to call engine asynchronously
Motivation: During testing of the rule engine extension, it was noticed that the message queue of the System cell for the QoSEngine was backing up considerably. Inspection of the code revealed a blunder made here: master@7d898c5601d30c6f8cc027e4080f3b82c2072f4b `dcache-qos: propagate subject to QoS Adjuster` where a get() on the message future was incorrectly added to the messageArrived method of `QoSRequirementsReceiver`, nullifying the effect of passing off the work to a different thread pool. Modification: This patch removes the get(), but also adds the ability to use the remote client asynchronously by making the receiver return a Reply, and by adding an async version of the call to the remote client. The latter is then incorporated into the bulk service's activity logic. Result: The message queue blocking is eliminated and the bulk service communication with QoS is more fully asynchronous. Target: master Request: 9.1 Request: 9.0 Request: 8.2 Requires-notes: yes (the wrongful message-queue blocking) Patch: https://rb.dcache.org/r/14067 Acked-by: Lea
- Loading branch information
Showing
6 changed files
with
55 additions
and
20 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
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