summaryrefslogtreecommitdiff
path: root/arch/score/include
diff options
context:
space:
mode:
authorJ. Bruce Fields <bfields@redhat.com>2013-11-05 20:07:16 (GMT)
committerJ. Bruce Fields <bfields@redhat.com>2013-11-13 21:12:54 (GMT)
commit6ff40decff0ef35a5d755ec60182d7f803356dfb (patch)
tree1dc4117cbd90e5b560d0ba1d8575148d03f0e844 /arch/score/include
parent587ac5ee6f9f912926abe34bb323c6f87d53f137 (diff)
downloadlinux-fsl-qoriq-6ff40decff0ef35a5d755ec60182d7f803356dfb.tar.xz
nfsd4: improve write performance with better sendspace reservations
Currently the rpc code conservatively refuses to accept rpc's from a client if the sum of its worst-case estimates of the replies it owes that client exceed the send buffer space. Unfortunately our estimate of the worst-case reply for an NFSv4 compound is always the maximum read size. This can unnecessarily limit the number of operations we handle concurrently, for example in the case most operations are writes (which have small replies). We can do a little better if we check which ops the compound contains. This is still a rough estimate, we'll need to improve on it some day. Reported-by: Shyam Kaushik <shyamnfs1@gmail.com> Tested-by: Shyam Kaushik <shyamnfs1@gmail.com> Signed-off-by: J. Bruce Fields <bfields@redhat.com>
Diffstat (limited to 'arch/score/include')
0 files changed, 0 insertions, 0 deletions