Malahal has uploaded this change for review.

View Change

WIP: [GPFS] Implement ignore_mode_change config option

File system options exist to deny any mode change, and only ACLs are used
in such configurations. Any attempt to do mode change will fail leading
to application failures as well as NFS client's exclusive file creation
failure. Ignore mode change and return success based on an export config
setting.

This option is specific to GPFS FSAL exports. The default is false and
the following ganesha config would enable ignore_mode_change option on
GPFS FSAL export "/gpfs/gpfsA/fileset":

EXPORT {
export_id = 23;
path = /gpfs/gpfsA/fileset;
FSAL {
name = GPFS;
ignore_mode_change = true;
}
CLIENT {
clients = *;
access_type = RW;
}
}

Change-Id: Id4b00ab051ce1e89db6b4e2caa72ee3434866586
Signed-off-by: Malahal Naineni <malahal@us.ibm.com>
---
M src/FSAL/FSAL_GPFS/export.c
M src/FSAL/FSAL_GPFS/fsal_attrs.c
M src/FSAL/FSAL_GPFS/gpfs_methods.h
3 files changed, 37 insertions(+), 1 deletion(-)

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

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

Gerrit-Project: ffilz/nfs-ganesha
Gerrit-Branch: next
Gerrit-MessageType: newchange
Gerrit-Change-Id: Id4b00ab051ce1e89db6b4e2caa72ee3434866586
Gerrit-Change-Number: 436434
Gerrit-PatchSet: 1
Gerrit-Owner: Malahal <malahal@gmail.com>