[pve-devel] pve-storage : path : add checkaccess param

Alexandre Derumier aderumier at odiso.com
Wed Sep 25 03:03:10 CEST 2013

RPCEnvironnement:check_volume_access only need $path for real file.

Some plugin like nexenta && zfs are doing extra call to api, to find the $path value. (iscsi lun for example).

This can give us big timeouts, as check_volume_access can be call for each volume in a loop when listing volumes.

We want to avoid that, so for theses plugin, if checkaccess param exist, we return empty $path without doing extra calls

More information about the pve-devel mailing list