pradeepthomas(a)gmail.com has uploaded this change for review. (
https://review.gerrithub.io/c/ffilz/nfs-ganesha/+/1229412?usp=email )
Change subject: Allow read locks on exported RO filesystems.
......................................................................
Allow read locks on exported RO filesystems.
When a Read-Only filesystem is exported through Ganesha, taking
read-locks on the NFS mount fails with ROFS error. This is because
of the open mode escalation in fsal_start_io. This patch handles
the ROFS error and retries the open with read.
Change-Id: I6452334ee1eae0faa8559fda2e218839ec57e1ae
Signed-off-by: Pradeep <pradeepthomas(a)gmail.com>
---
M src/FSAL/commonlib.c
1 file changed, 2 insertions(+), 1 deletion(-)
git pull ssh://review.gerrithub.io:29418/ffilz/nfs-ganesha refs/changes/12/1229412/1
--
To view, visit
https://review.gerrithub.io/c/ffilz/nfs-ganesha/+/1229412?usp=email
To unsubscribe, or for help writing mail filters, visit
https://review.gerrithub.io/settings?usp=email
Gerrit-MessageType: newchange
Gerrit-Project: ffilz/nfs-ganesha
Gerrit-Branch: next
Gerrit-Change-Id: I6452334ee1eae0faa8559fda2e218839ec57e1ae
Gerrit-Change-Number: 1229412
Gerrit-PatchSet: 1
Gerrit-Owner: pradeepthomas(a)gmail.com