[libvirt] [PATCH v2] virFileIsSharedFSType: Check for fuse.glusterfs too

Jiri Denemark jdenemar at redhat.com
Wed Oct 3 11:35:01 UTC 2018


On Wed, Oct 03, 2018 at 13:16:35 +0200, Michal Privoznik wrote:
> https://bugzilla.redhat.com/show_bug.cgi?id=1632711
> 
> GlusterFS is typically safe when it comes to migration. It's a
> network FS after all. However, it can be mounted via FUSE driver
> they provide. If that is the case we fail to identify it and
> think migration is not safe and require VIR_MIGRATE_UNSAFE flag.
> 
> Signed-off-by: Michal Privoznik <mprivozn at redhat.com>
> ---
> 
> diff to v1:
> - fixed the function name
> - switched from for() loop into virStringListHasString
> - ignoring retval of the function in the caller
> 
>  src/util/virfile.c | 77 ++++++++++++++++++++++++++++++++++++++++++++++++++++--
>  1 file changed, 75 insertions(+), 2 deletions(-)

Reviewed-by: Jiri Denemark <jdenemar at redhat.com>




More information about the libvir-list mailing list