summaryrefslogtreecommitdiffstats
path: root/net/rds/ib_sysctl.c
diff options
context:
space:
mode:
authorAndy Grover <andy.grover@oracle.com>2010-01-14 15:08:33 -0800
committerAndy Grover <andy.grover@oracle.com>2010-09-08 18:11:52 -0700
commit1d34f175712b59ad292ecbbaa8fc05402a1fd8ed (patch)
tree93a7072243dfc511e8bdbb24516df957db983454 /net/rds/ib_sysctl.c
parentda5a06cef5724737af4315715632f0a07dd5e116 (diff)
downloadlinux-stable-1d34f175712b59ad292ecbbaa8fc05402a1fd8ed.tar.gz
linux-stable-1d34f175712b59ad292ecbbaa8fc05402a1fd8ed.tar.bz2
linux-stable-1d34f175712b59ad292ecbbaa8fc05402a1fd8ed.zip
RDS: Remove unsignaled_bytes sysctl
Removed unsignaled_bytes sysctl and code to signal based on it. I believe unsignaled_wrs is more than sufficient for our purposes. Signed-off-by: Andy Grover <andy.grover@oracle.com>
Diffstat (limited to 'net/rds/ib_sysctl.c')
-rw-r--r--net/rds/ib_sysctl.c13
1 files changed, 0 insertions, 13 deletions
diff --git a/net/rds/ib_sysctl.c b/net/rds/ib_sysctl.c
index c070524c4d95..b556c5c2a902 100644
--- a/net/rds/ib_sysctl.c
+++ b/net/rds/ib_sysctl.c
@@ -49,10 +49,6 @@ unsigned long rds_ib_sysctl_max_unsig_wrs = 16;
static unsigned long rds_ib_sysctl_max_unsig_wr_min = 1;
static unsigned long rds_ib_sysctl_max_unsig_wr_max = 64;
-unsigned long rds_ib_sysctl_max_unsig_bytes = (16 << 20);
-static unsigned long rds_ib_sysctl_max_unsig_bytes_min = 1;
-static unsigned long rds_ib_sysctl_max_unsig_bytes_max = ~0UL;
-
/*
* This sysctl does nothing.
*
@@ -94,15 +90,6 @@ ctl_table rds_ib_sysctl_table[] = {
.extra2 = &rds_ib_sysctl_max_unsig_wr_max,
},
{
- .procname = "max_unsignaled_bytes",
- .data = &rds_ib_sysctl_max_unsig_bytes,
- .maxlen = sizeof(unsigned long),
- .mode = 0644,
- .proc_handler = proc_doulongvec_minmax,
- .extra1 = &rds_ib_sysctl_max_unsig_bytes_min,
- .extra2 = &rds_ib_sysctl_max_unsig_bytes_max,
- },
- {
.procname = "max_recv_allocation",
.data = &rds_ib_sysctl_max_recv_allocation,
.maxlen = sizeof(unsigned long),