[libvirt] [PATCH] virstoragefile: identify GPFS as cluster FS

Diego Michelotto diego.michelotto at cnaf.infn.it
Tue Mar 12 11:36:58 UTC 2019


HI all,

any news about this patch?

All the best.
Diego Michelotto
+------------------------------------+
- uff: 051 2095493‬
- skype: diego-mikel8
+------------------------------------+

> Il giorno 27 feb 2019, alle ore 15:07, Diego Michelotto <diego.michelotto at cnaf.infn.it> ha scritto:
> 
> GPFS is 'IBM General Parallel File System', also called
> 'IBM Spectrum Scale', stalls when a process issues a lot
> of fsyncs in a short timeframe.
> 
> It is better if the VM I/O is not synchronous.
> It is racommended to use writeback caching policy.
> 
> In order to permit that it is added VIR_FILE_SHFS_GPFS to
> the list of shared file systems in virStorageFileIsClusterFS
> function.
> 
> Signed-off-by: Diego Michelotto <diego.michelotto at cnaf.infn.it>
> ---
> src/util/virstoragefile.c | 3 ++-
> 1 file changed, 2 insertions(+), 1 deletion(-)
> 
> diff --git a/src/util/virstoragefile.c b/src/util/virstoragefile.c
> index b2e308d81d..0fe2819dc6 100644
> --- a/src/util/virstoragefile.c
> +++ b/src/util/virstoragefile.c
> @@ -1349,7 +1349,8 @@ int virStorageFileIsClusterFS(const char *path)
>     return virFileIsSharedFSType(path,
>                                  VIR_FILE_SHFS_GFS2 |
>                                  VIR_FILE_SHFS_OCFS |
> -                                 VIR_FILE_SHFS_CEPH);
> +                                 VIR_FILE_SHFS_CEPH |
> +                                 VIR_FILE_SHFS_GPFS);
> }
> 
> #ifdef LVS
> -- 
> 2.20.1
> 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20190312/1342e441/attachment-0001.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 2158 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20190312/1342e441/attachment-0001.p7s>


More information about the libvir-list mailing list