]> git.proxmox.com Git - pve-storage.git/commit
pbs: activate storage: fully validate if storage config works
authorThomas Lamprecht <t.lamprecht@proxmox.com>
Tue, 1 Dec 2020 18:18:05 +0000 (19:18 +0100)
committerThomas Lamprecht <t.lamprecht@proxmox.com>
Tue, 1 Dec 2020 18:22:47 +0000 (19:22 +0100)
commit2cd10f58be623764bf367d326085673f376f4948
tree6e040947b25fd005100dc9e1dccc528546d63006
parent8b62ac6a0ce0d4757ce25082123d18434f5b3a58
pbs: activate storage: fully validate if storage config works

improves UX of on_update and on_add hooks *a lot*.

This is a bit more expensive than the TCP ping, or even just an
unauthenticated ping, but not as bad as a full datastore status - as
this only reads the datastore config file (which is normally in page
cache anyway).

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
PVE/Storage/PBSPlugin.pm