summaryrefslogtreecommitdiffstats
path: root/fs/jffs2/background.c
diff options
context:
space:
mode:
authorJ. Bruce Fields <bfields@redhat.com>2017-09-20 01:25:41 +0200
committerJ. Bruce Fields <bfields@redhat.com>2017-10-04 22:25:01 +0200
commitde766e570413bd0484af0b580299b495ada625c3 (patch)
treee878d184e21f22b5ef2bc67346e17b6bf07b3259 /fs/jffs2/background.c
parentnfsd: increase DRC cache limit (diff)
downloadlinux-de766e570413bd0484af0b580299b495ada625c3.tar.xz
linux-de766e570413bd0484af0b580299b495ada625c3.zip
nfsd: give out fewer session slots as limit approaches
Instead of granting client's full requests until we hit our DRC size limit and then failing CREATE_SESSIONs (and hence mounts) completely, start granting clients smaller slot tables as we approach the limit. The factor chosen here is pretty much arbitrary. Signed-off-by: J. Bruce Fields <bfields@redhat.com>
Diffstat (limited to 'fs/jffs2/background.c')
0 files changed, 0 insertions, 0 deletions