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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 




On 27/11/12 20:11, Neil Brown wrote:
> 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.
All three packages were committed...

steved.

> 
> 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(-)
> 
--
To unsubscribe from this list: send the line "unsubscribe linux-nfs" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux Filesystem Development]     [Linux USB Development]     [Linux Media Development]     [Video for Linux]     [Linux NILFS]     [Linux Audio Users]     [Yosemite Info]     [Linux SCSI]

  Powered by Linux