From de19f3952b9e9a22db9b4af55e74b557aa71bae9 Mon Sep 17 00:00:00 2001 From: Niels de Vos Date: Mon, 9 Jun 2014 09:57:37 +0200 Subject: gNFS: Make NFS DRC off by default DRC in NFS causes memory bloat and there are known memory corruptions. It would be good to disable drc by default till the feature is stable. Cherry picked from 4215d071cec4fc8a62ca4fd6212d83f931838829: > Change-Id: I93db6ef5298672c56fb117370bb582a5e5550b17 > BUG: 1105524 > Original-patch-by: Santosh Kumar Pradhan > Signed-off-by: Niels de Vos > Reviewed-on: http://review.gluster.org/8004 > Tested-by: Gluster Build System > Reviewed-by: Krishnan Parthasarathi > Reviewed-by: Santosh Pradhan > Reviewed-by: Vijay Bellur Change-Id: I93db6ef5298672c56fb117370bb582a5e5550b17 BUG: 1105524 Signed-off-by: Niels de Vos Reviewed-on: http://review.gluster.org/8013 Reviewed-by: Santosh Pradhan Tested-by: Gluster Build System --- xlators/mgmt/glusterd/src/glusterd-volgen.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'xlators/mgmt') diff --git a/xlators/mgmt/glusterd/src/glusterd-volgen.c b/xlators/mgmt/glusterd/src/glusterd-volgen.c index 31af116621c..e5f03701284 100644 --- a/xlators/mgmt/glusterd/src/glusterd-volgen.c +++ b/xlators/mgmt/glusterd/src/glusterd-volgen.c @@ -3017,7 +3017,7 @@ build_nfs_graph (volgen_graph_t *graph, dict_t *mod_dict) if (ret) goto out; - ret = xlator_set_option (nfsxl, "nfs.drc", "on"); + ret = xlator_set_option (nfsxl, "nfs.drc", "off"); if (ret) goto out; -- cgit