Commit 8d32e58
Raimund Sacherer
osd: make _set_cache_sizes ratio aware of cache_kv_onode_ratio
The formula checking if all the cache sizes sum up to <= 1 did not take
cache_kv_onode_ratio into account.
The last dout line did also not take cache_kv_onode_ratio into account.
Signed-off-by: Raimund Sacherer <[email protected]>1 parent c50902c commit 8d32e58
1 file changed
+4
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4955 | 4955 | | |
4956 | 4956 | | |
4957 | 4957 | | |
4958 | | - | |
| 4958 | + | |
4959 | 4959 | | |
4960 | 4960 | | |
4961 | | - | |
| 4961 | + | |
| 4962 | + | |
4962 | 4963 | | |
4963 | 4964 | | |
4964 | 4965 | | |
| |||
4975 | 4976 | | |
4976 | 4977 | | |
4977 | 4978 | | |
| 4979 | + | |
4978 | 4980 | | |
4979 | 4981 | | |
4980 | 4982 | | |
| |||
0 commit comments