Description of problem: On hosts with large amount of mounts, iterating active mounts can lead to big delays, because for each mount encountered, all active mounts are checked. Version-Release number of selected component (if applicable): 4.15 How reproducible: 100%, tests reproducing the behavior provided in patch. Steps to Reproduce: 1. Have about 1000 mounts 2. call some code that iterates mounts Actual results: With tests provided, for 1000 mount entries, iteration took 11 second Expected results: After adding caching, iteration reduced to 0.1 seconds. Additional info:
fixed in vt3, moving to on_qa. if you believe this bug isn't released in vt3, please report to rhev-integ
ok, vdsm-4.14.17-1.el6ev.x86_64 `time vdsClient -s 0 getStorageDomainsList' is always OK, also CPU usage is low.