[libvirt] [PATCH] virISCSIDirectRefreshVol: Don't clear volumes in each run
Jiri Denemark
jdenemar at redhat.com
Thu Feb 28 14:49:00 UTC 2019
On Thu, Feb 28, 2019 at 15:44:46 +0100, Michal Privoznik wrote:
> When fetching LUNs from iscsi server the
> virISCSIDirectReportLuns() is called. This function does some
> libiscsi calls and then calls virISCSIDirectRefreshVol() over
> each LUN found. It's unfortunate that the latter calls
> virStoragePoolObjClearVols() as we lose all LUNs processed
> in previous iterations.
>
> Signed-off-by: Michal Privoznik <mprivozn at redhat.com>
> ---
> src/storage/storage_backend_iscsi_direct.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
Reviewed-by: Jiri Denemark <jdenemar at redhat.com>
More information about the libvir-list
mailing list