Make size of gssd_proc fd array a little more dynamic
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest3 patches 7 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/3 | gssd_proc: use pollsize, not FD_ALLOC_BLOCK, in get_poll_index().utils/ | +2 | 0 replies | |
| 2/3 | gssd_proc: remove pointless test against FD_ALLOC_BLOCK in process_pipedirutils/ | +2 | 0 replies | |
| 3/3 | gssd: base the size of the fd array on the RLIMIT_NOFILE limit.utils/ | +5 | 6 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
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