Solomon Boulos has uploaded this change for review.

View Change

Implement commit and respect maxwrite/maxread.

With COMMIT implemented, dd runs successfully:

$ dd if=proxy-mount/bytes.txt of=proxy-mount/bytes-again.txt
7000+0 records in
7000+0 records out
3584000 bytes (3.6 MB, 3.4 MiB) copied, 0.748621 s, 4.8 MB/s

but, I had to actually teach my FSAL to listen to the server about its
capabilities via FSINFO. Turns out linux's knfsd seems to default to 512KB as
maxread/maxwrite and will rudely close the socket rather than just doing a short
write.

Change-Id: I5622e29010a7ea226133f1dca0ffc0f1b4bd7f9c
Signed-off-by: Solomon Boulos <boulos@google.com>
---
M src/FSAL/FSAL_PROXY_V3/main.c
M src/FSAL/FSAL_PROXY_V3/rpc.c
2 files changed, 119 insertions(+), 11 deletions(-)

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

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

Gerrit-Project: ffilz/nfs-ganesha
Gerrit-Branch: next
Gerrit-Change-Id: I5622e29010a7ea226133f1dca0ffc0f1b4bd7f9c
Gerrit-Change-Number: 487451
Gerrit-PatchSet: 1
Gerrit-Owner: Solomon Boulos <boulos@google.com>
Gerrit-MessageType: newchange