>From <madhu.punj...@in.ibm.com>:

madhu.punj...@in.ibm.com has uploaded this change for review. ( 
https://review.gerrithub.io/366139


Change subject: Determine size of ACLs to be encoded when getting ACLs
......................................................................

Determine size of ACLs to be encoded when getting ACLs

If nfs4_getfacl is run by the client when
there are large number of ACLs and if the server is not
able to fit in all ACLs in the buffer of size
NFS4_ATTRVALS_BUFFLEN then the client gets Input/Output
error.
To avoid this we now calculate at run time the size
required by ACLs, to determine the size of buffer where
the ACLs would be encoded.

Change-Id: I4ace8223abe2c2957f6e40cb619a1b838ca78677
Signed-off-by: Madhu Thorat <madhu.punj...@in.ibm.com>
---
M src/Protocols/NFS/nfs_proto_tools.c
1 file changed, 16 insertions(+), 2 deletions(-)



  git pull ssh://review.gerrithub.io:29418/ffilz/nfs-ganesha 
refs/changes/39/366139/1
-- 
To view, visit https://review.gerrithub.io/366139
To unsubscribe, visit https://review.gerrithub.io/settings

Gerrit-Project: ffilz/nfs-ganesha
Gerrit-Branch: next
Gerrit-MessageType: newchange
Gerrit-Change-Id: I4ace8223abe2c2957f6e40cb619a1b838ca78677
Gerrit-Change-Number: 366139
Gerrit-PatchSet: 1
Gerrit-Owner: madhu.punj...@in.ibm.com
------------------------------------------------------------------------------
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