>From Patrice LUCAS <patrice.lu...@cea.fr>:
Patrice LUCAS has uploaded this change for review. (
https://review.gerrithub.io/352205
Change subject: FSAL_PROXY : dynamically adjust maxwrite and maxread
......................................................................
FSAL_PROXY : dynamically adjust maxwrite and maxread
This commit adds a GETATTR call from FSAL_PROXY
to background NFS server to dynamically cap the
configured maxread and maxwrite values to ones
of the background NFS server.
This GETATTR call is added at the first lookup of
the root entry of the export. Maxread and maxwrite
values aren't per-server values, they are
per-filesystem values.
This security prevents RPC socket breakdown between
FSAL_PROXY and the background server from a bad config
option (maxread or maxwrite).
Change-Id: Idc36894d43f0fe02ff60906ca4b88650b078ff02
Signed-off-by: Patrice LUCAS <patrice.lu...@cea.fr>
---
M src/FSAL/FSAL_PROXY/handle.c
M src/Protocols/NFS/nfs_proto_tools.c
2 files changed, 65 insertions(+), 3 deletions(-)
git pull ssh://review.gerrithub.io:29418/ffilz/nfs-ganesha
refs/changes/05/352205/1
--
To view, visit https://review.gerrithub.io/352205
To unsubscribe, visit https://review.gerrithub.io/settings
Gerrit-Project: ffilz/nfs-ganesha
Gerrit-Branch: next
Gerrit-MessageType: newchange
Gerrit-Change-Id: Idc36894d43f0fe02ff60906ca4b88650b078ff02
Gerrit-Change-Number: 352205
Gerrit-PatchSet: 1
Gerrit-Owner: Patrice LUCAS <patrice.lu...@cea.fr>
------------------------------------------------------------------------------
Announcing the Oxford Dictionaries API! The API offers world-renowned
dictionary content that is easy and intuitive to access. Sign up for an
account today to start using our lexical data to power your apps and
projects. Get started today and enter our developer competition.
http://sdm.link/oxford
_______________________________________________
Nfs-ganesha-devel mailing list
Nfs-ganesha-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nfs-ganesha-devel