• Neil Brown's avatar
    [PATCH] PATCH - kNFSd - Remove flowcontrol problems with lockd/tcp · 103b47f1
    Neil Brown authored
    The sunrpc/tcp layer currently allocates some resources linearly with
    number of server threads.  This causes problems when there are very
    small numbers of threads (e.g. lockd with one thread), so this patch
    adds a small constant to the number of threads before calculating
    resoures to allocate.
    
    This patch also provide proper upper-limits for the response sizes for
    lockd requests, so resources are not over-allocated.
    
    Together these resolve problems with heavy lockd load over tcp.
    103b47f1
svc4proc.c 14.7 KB