[pve-devel] applied: [PATCH storage v2 3/3] zfspoolplugin: check if imported before importing

Thomas Lamprecht t.lamprecht at proxmox.com
Fri Feb 19 16:28:32 CET 2021


On 19.02.21 13:45, Stoiko Ivanov wrote:
> This commit is a small performance optimization to the previous one:
> `zpool list` is cheaper than `zpool import -d /dev..` (the latter
> scans the disks in the provided directory for zfs signatures,
> unconditionally)
> 
> Signed-off-by: Stoiko Ivanov <s.ivanov at proxmox.com>
> ---
>  PVE/Storage/ZFSPoolPlugin.pm | 14 ++++++++------
>  1 file changed, 8 insertions(+), 6 deletions(-)
> 
>

applied, with the cleanups we talked off-list about, thanks!




More information about the pve-devel mailing list