Skip to content

Make size of gssd_proc fd array a little more dynamic

Neil Brown linux-nfs 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest3 patches 7 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3gssd_proc: use pollsize, not FD_ALLOC_BLOCK, in get_poll_index().utils/gssd/gssd_proc.c+2 -20 replies
2/3gssd_proc: remove pointless test against FD_ALLOC_BLOCK in process_pipedirutils/gssd/gssd_proc.c+2 -30 replies
3/3gssd: base the size of the fd array on the RLIMIT_NOFILE limit.utils/gssd/gssd_proc.c+5 -06 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/3] Make size of gssd_proc fd array a little more dynamic

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 · 1 line
Signature