eshel@us.ibm.com has uploaded this change for review.

View Change

GPFS: Add multiple pNFS FH option

Provide multiple pNFS FH even when they are all the same since the
Linux client is not supporting striping using single FH anymore
See pNFS/filelayout: Fix coalescing test for single DS patch
+static bool
+filelayout_lseg_is_striped(const struct nfs4_filelayout_segment *flseg)
+{
+ return flseg->num_fh > 1;
+}

Change-Id: I9f91b4dbb0a5dea6ba7b4f20e2ff3932d9b57650
Signed-off-by: Marc Eshel <eshel.marc@gmail.com>
---
M src/FSAL/FSAL_CEPH/mds.c
M src/FSAL/FSAL_GLUSTER/mds.c
M src/FSAL/FSAL_GPFS/fsal_mds.c
M src/FSAL/FSAL_KVSFS/kvsfs_mds.c
M src/FSAL/FSAL_LIZARDFS/mds_handle.c
M src/FSAL/FSAL_SAUNAFS/mds_handle.c
M src/FSAL/common_pnfs.c
M src/include/pnfs_utils.h
8 files changed, 22 insertions(+), 12 deletions(-)

git pull ssh://review.gerrithub.io:29418/ffilz/nfs-ganesha refs/changes/88/1201988/1

To view, visit change 1201988. To unsubscribe, or for help writing mail filters, visit settings.

Gerrit-MessageType: newchange
Gerrit-Project: ffilz/nfs-ganesha
Gerrit-Branch: next
Gerrit-Change-Id: I9f91b4dbb0a5dea6ba7b4f20e2ff3932d9b57650
Gerrit-Change-Number: 1201988
Gerrit-PatchSet: 1
Gerrit-Owner: eshel@us.ibm.com