sunrpc: clean-up cache downcall
authorRoberto Bergantinos Corpas <rbergant@redhat.com>
Fri, 27 Nov 2020 18:38:31 +0000 (19:38 +0100)
committerChuck Lever <chuck.lever@oracle.com>
Wed, 9 Dec 2020 14:38:34 +0000 (09:38 -0500)
commit4b5cff7ed8afcdd35bfff39ab503342900ec80c6
tree13ef5d7ed5efeb40b0fe7c61120703f49cb1761b
parent4420440c57892779f265108f46f83832a88ca795
sunrpc: clean-up cache downcall

We can simplify code around cache_downcall unifying memory
allocations using kvmalloc. This has the benefit of getting rid of
cache_slow_downcall (and queue_io_mutex), and also matches userland
allocation size and limits.

Signed-off-by: Roberto Bergantinos Corpas <rbergant@redhat.com>
Signed-off-by: Chuck Lever <chuck.lever@oracle.com>
net/sunrpc/cache.c