linux-nfs.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/3] Make size of gssd_proc fd array a little more dynamic
@ 2012-11-28  1:11 Neil Brown
  2012-11-28  1:11 ` [PATCH 1/3] gssd_proc: use pollsize, not FD_ALLOC_BLOCK, in get_poll_index() Neil Brown
                   ` (3 more replies)
  0 siblings, 4 replies; 11+ messages in thread
From: Neil Brown @ 2012-11-28  1:11 UTC (permalink / raw)
  To: Steve Dickson; +Cc: linux-nfs

We recently had a request to raise the number of fds that gssd can
work with - again.

Rather than just change the hard-coded number I seemed to make sense
to have it depend on RLIMIT_NOFILE - as poll won't work with more than
that anyway.
So the default becomes 1024, but it is easily raised further without
code change.

These patches implement that.

NeilBrown


---

Neil Brown (3):
      gssd_proc: use pollsize, not FD_ALLOC_BLOCK, in get_poll_index().
      gssd_proc: remove pointless test against FD_ALLOC_BLOCK in process_pipedir
      gssd: base the size of the fd array on the RLIMIT_NOFILE limit.


 utils/gssd/gssd_proc.c |   14 +++++++++-----
 1 file changed, 9 insertions(+), 5 deletions(-)

-- 
Signature


^ permalink raw reply	[flat|nested] 11+ messages in thread

end of thread, other threads:[~2012-12-13 19:21 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-11-28  1:11 [PATCH 0/3] Make size of gssd_proc fd array a little more dynamic Neil Brown
2012-11-28  1:11 ` [PATCH 1/3] gssd_proc: use pollsize, not FD_ALLOC_BLOCK, in get_poll_index() Neil Brown
2012-11-28  1:11 ` [PATCH 2/3] gssd_proc: remove pointless test against FD_ALLOC_BLOCK in process_pipedir Neil Brown
2012-11-28  1:11 ` [PATCH 3/3] gssd: base the size of the fd array on the RLIMIT_NOFILE limit Neil Brown
2012-11-28 13:10   ` J. Bruce Fields
2012-11-29  0:30     ` NeilBrown
2012-12-11  0:02       ` NeilBrown
2012-12-11 16:16         ` J. Bruce Fields
2012-12-13  6:03           ` NeilBrown
2012-12-13 19:21             ` J. Bruce Fields
2012-11-28 19:54 ` [PATCH 0/3] Make size of gssd_proc fd array a little more dynamic Steve Dickson

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).