des@vmware.com has uploaded this change for review.

View Change

Allow NFSv4 Reads when file is opened with write delegation

When file is opened with OPEN4_SHARE_ACCESS_WRITE and delegation is
granted, ganesha does not allow the client to read the write
delegated file. But according to RFC read should be allowed on a file
opened with share access write.

With this fix we remove the conflict check altogether because file
read by same client should not conflict with write delegation.

Change-Id: I63b3e8359768d53369e757810bc8f88b5a73d9fc
Signed-off-by: Deepthi Shivaramu <des@vmware.com>
---
M src/Protocols/NFS/nfs4_op_read.c
1 file changed, 5 insertions(+), 14 deletions(-)

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

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

Gerrit-Project: ffilz/nfs-ganesha
Gerrit-Branch: next
Gerrit-Change-Id: I63b3e8359768d53369e757810bc8f88b5a73d9fc
Gerrit-Change-Number: 484494
Gerrit-PatchSet: 1
Gerrit-Owner: des@vmware.com
Gerrit-MessageType: newchange