>From Paul Emmerich <emmer...@net.in.tum.de>:

Paul Emmerich has uploaded this change for review. ( 
https://review.gerrithub.io/399341


Change subject: move read EOF handling to fsal_read2
......................................................................

move read EOF handling to fsal_read2

ESXi requires RFC-compliant use of the EOF flag in read3 calls:
The EOF flag must be set if the EOF was reached by the read.
Most FSALs only set EOF if a read at the EOF was attempted,
i.e., a read returning 0 bytes because the offset was >= file size.

This was previously only handled by the NFS4 implementation,
breaking compatibility with ESXi NFS3 clients. This patch
moves the logic up one layer to handle it for all protocols.

fixes #177

Change-Id: I83c7f1fae91054b32af7ca90f56a0ff064a05cfe
Signed-off-by: Paul Emmerich <paul.emmer...@croit.io>
---
M src/FSAL/fsal_helper.c
M src/Protocols/NFS/nfs4_op_read.c
2 files changed, 17 insertions(+), 15 deletions(-)



  git pull ssh://review.gerrithub.io:29419/ffilz/nfs-ganesha 
refs/changes/41/399341/1
--
To view, visit https://review.gerrithub.io/399341
To unsubscribe, visit https://review.gerrithub.io/settings

Gerrit-Project: ffilz/nfs-ganesha
Gerrit-Branch: next
Gerrit-MessageType: newchange
Gerrit-Change-Id: I83c7f1fae91054b32af7ca90f56a0ff064a05cfe
Gerrit-Change-Number: 399341
Gerrit-PatchSet: 1
Gerrit-Owner: Paul Emmerich <emmer...@net.in.tum.de>
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Nfs-ganesha-devel mailing list
Nfs-ganesha-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nfs-ganesha-devel

Reply via email to