Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 12273
b: refs/heads/master
c: c556b75
h: refs/heads/master
i:
  12271: 44461eb
v: v3
  • Loading branch information
Chuck Lever authored and Trond Myklebust committed Nov 4, 2005
1 parent a6c65d0 commit 0a26e22
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 10 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 6bfc93ef98f00b38f1913a7fdeae46ae8dbd7c52
refs/heads/master: c556b754967afd0878d65de2cfe0675577b0f62f
2 changes: 0 additions & 2 deletions trunk/net/sunrpc/sunrpc_syms.c
Original file line number Diff line number Diff line change
Expand Up @@ -63,8 +63,6 @@ EXPORT_SYMBOL(rpc_mkpipe);
/* Client transport */
EXPORT_SYMBOL(xprt_create_proto);
EXPORT_SYMBOL(xprt_set_timeout);
EXPORT_SYMBOL(xprt_udp_slot_table_entries);
EXPORT_SYMBOL(xprt_tcp_slot_table_entries);

/* Client credential cache */
EXPORT_SYMBOL(rpcauth_register);
Expand Down
7 changes: 0 additions & 7 deletions trunk/net/sunrpc/sysctl.c
Original file line number Diff line number Diff line change
Expand Up @@ -119,13 +119,6 @@ proc_dodebug(ctl_table *table, int write, struct file *file,
return 0;
}

unsigned int xprt_udp_slot_table_entries = RPC_DEF_SLOT_TABLE;
unsigned int xprt_tcp_slot_table_entries = RPC_DEF_SLOT_TABLE;
unsigned int xprt_min_resvport = RPC_DEF_MIN_RESVPORT;
EXPORT_SYMBOL(xprt_min_resvport);
unsigned int xprt_max_resvport = RPC_DEF_MAX_RESVPORT;
EXPORT_SYMBOL(xprt_max_resvport);


static unsigned int min_slot_table_size = RPC_MIN_SLOT_TABLE;
static unsigned int max_slot_table_size = RPC_MAX_SLOT_TABLE;
Expand Down
9 changes: 9 additions & 0 deletions trunk/net/sunrpc/xprtsock.c
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,15 @@
#include <net/udp.h>
#include <net/tcp.h>

/*
* xprtsock tunables
*/
unsigned int xprt_udp_slot_table_entries = RPC_DEF_SLOT_TABLE;
unsigned int xprt_tcp_slot_table_entries = RPC_DEF_SLOT_TABLE;

unsigned int xprt_min_resvport = RPC_DEF_MIN_RESVPORT;
unsigned int xprt_max_resvport = RPC_DEF_MAX_RESVPORT;

/*
* How many times to try sending a request on a socket before waiting
* for the socket buffer to clear.
Expand Down

0 comments on commit 0a26e22

Please sign in to comment.