'Return the GPFS version of the specified file system.
The file system is specified by any valid path it contains.'

def _get_gpfs_fs_release_level(self, path):

    filesystem = self._get_filesystem_from_path(path)
    try:
        (out, err) = self.gpfs_execute((self.GPFS_PATH + 'mmlsfs'), filesystem, '-V', '-Y')
    except processutils.ProcessExecutionError as exc:
        LOG.error('Failed    to    issue    mmlsfs    command    for    path    %(path)s,    error:    %(error)s.', {'path': path, 'error': exc.stderr})
        raise exception.VolumeBackendAPIException(data=exc.stderr)
    lines = out.splitlines()
    value_token = lines[0].split(':').index('data')
    fs_release_level_str = lines[1].split(':')[value_token]
    fs_release_level = int((float(fs_release_level_str.split()[0]) * 100))
    return (filesystem, fs_release_level)
