Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
frontend: fix broken directory qos reporting
Motivation: The frontend can report back to a client which QoS a file will recieve when uploaded into a specific directory. This calculation is wrong. Modification: Update the frontend to use the actual policy class that the pool (likely) uses, when calculating the QoS of a directory. (Unfortunately, there is insufficient information to determine exactly with which policy a file will be written; therefore, the output may deviate from reality if a new file is accepted by a volatile pool (one that has lsf mode precious). That said, this patch provides a much better description.) Update the hard-coded metadata to include the new file QoS (volatile) and the new directory QoS (disk+tape and volatile). Result: Frontend now more accurately describes the QoS of directories; i.e., the QoS that newly written files will recieve when written into this directory, assuming none of the targeted pools are volatile. Target: master Request: 4.2 Request: 4.1 Request: 4.0 Request: 3.2 Patch: https://rb.dcache.org/r/11165 Acked-by: Albert Rossi
- Loading branch information
1 parent
5506a64
commit d47ab2b
Showing
3 changed files
with
48 additions
and
18 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