webUI dashboard is calling pool.get_disks

Description

The webUI, when loading the main dashboard, is calling pool.get_disks on 12. This is unnecessary, and to make matters worse that call is particuarly expensive on very large systems.

It seems the dashboard is also calling `pool.dataset.query` twice. Once without params and then once with `[[], {"extra": {"retrieve_children": False}}]`.

Calling that 2 times equates to roughly 6 seconds of time waiting. Instead it can be replace with `zfs.dataset.query `[[], {"extra": {"retrieve_children": False}}]` to get the same information 55-60% faster.

Problem/Justification

None

Impact

None

Activity

Show:

Bug Clerk October 11, 2021 at 2:38 PM

Complete

Details

Assignee

Reporter

Labels

Time remaining

0m

Components

Fix versions

Affects versions

Priority

Katalon Platform

Created October 7, 2021 at 8:38 PM
Updated July 6, 2022 at 8:56 PM
Resolved October 27, 2021 at 12:02 PM