[XL] Change in ...nfs-ganesha[next]: QOS for IO bandwidth control and Quota in NFS.
by Name of user not set (GerritHub)
deeraj.patil(a)ibm.com has uploaded this change for review. ( https://review.gerrithub.io/c/ffilz/nfs-ganesha/+/1208074?usp=email )
Change subject: QOS for IO bandwidth control and Quota in NFS.
......................................................................
QOS for IO bandwidth control and Quota in NFS.
Bandwidth Control:
Two types of approaches are there for bandwidth control: SYNC and ASYNC.
Sync Control : Per-Share, Per-Client. (macro in code currently disabled)
ASYNC Control : Per-Share, Per-Client, PerShare-PerClient Combined.
Default ASYNC macro is enabled in code (!BW_SYNC_ENABLE).
Default ASYNC type is PerShare-PerClient.
Quota Control:
i.e (Network Data Consumtion limit over a period of larger time).
Per-Share level, Per-Client level, or can PerShare-PerClient level.
Default : Quota is currently disabled.
Can indvidually enable BW control or Quota.
Limit values for Bandwidth and Quota can be controlled indvidually for
Write and Read or can be combined together.
For enabling QOS, enable_qos params should be true in global config.
For Controlling BW : DBUS interface and Dynamic config update at export level.
Implemented by naresh.chillarege(a)ibm.com and deeraj.patil(a)ibm.com
Change-Id: I1bfafb90baa46ff3a4eda69dc3100aaee5729fc7
Signed-off-by: Deeraj.Patil <Deeraj.Patil(a)ibm.com>
---
M src/MainNFSD/nfs_init.c
M src/MainNFSD/nfs_main.c
A src/MainNFSD/nfs_qos.c
M src/Protocols/NFS/nfs4_op_destroy_session.c
M src/Protocols/NFS/nfs4_op_read.c
M src/Protocols/NFS/nfs4_op_write.c
M src/include/client_mgr.h
M src/include/export_mgr.h
M src/include/log_common.h
A src/include/nfs_qos.h
A src/include/nfs_qosmgr.h
M src/log/log_functions.c
M src/support/client_mgr.c
A src/support/nfs_qosmgr.c
14 files changed, 3,453 insertions(+), 7 deletions(-)
git pull ssh://review.gerrithub.io:29418/ffilz/nfs-ganesha refs/changes/74/1208074/1
--
To view, visit https://review.gerrithub.io/c/ffilz/nfs-ganesha/+/1208074?usp=email
To unsubscribe, or for help writing mail filters, visit https://review.gerrithub.io/settings?usp=email
Gerrit-MessageType: newchange
Gerrit-Project: ffilz/nfs-ganesha
Gerrit-Branch: next
Gerrit-Change-Id: I1bfafb90baa46ff3a4eda69dc3100aaee5729fc7
Gerrit-Change-Number: 1208074
Gerrit-PatchSet: 1
Gerrit-Owner: deeraj.patil(a)ibm.com