linux/net/9p
Matthew Wilcox 3ea4cf4223 9p: Use a slab for allocating requests
[ Upstream commit 996d5b4db4 ]

Replace the custom batch allocation with a slab.  Use an IDR to store
pointers to the active requests instead of an array.  We don't try to
handle P9_NOTAG specially; the IDR will happily shrink all the way back
once the TVERSION call has completed.

Link: http://lkml.kernel.org/r/20180711210225.19730-6-willy@infradead.org
Signed-off-by: Matthew Wilcox <willy@infradead.org>
Cc: Eric Van Hensbergen <ericvh@gmail.com>
Cc: Ron Minnich <rminnich@sandia.gov>
Cc: Latchesar Ionkov <lucho@ionkov.net>
Signed-off-by: Dominique Martinet <dominique.martinet@cea.fr>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2019-07-03 13:14:41 +02:00
..
client.c 9p: Use a slab for allocating requests 2019-07-03 13:14:41 +02:00
error.c hlist: drop the node parameter from iterators 2013-02-27 19:10:24 -08:00
Kconfig IB: Revert "remove redundant INFINIBAND kconfig dependencies" 2018-05-28 10:40:16 -06:00
Makefile License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
mod.c 9p: Use a slab for allocating requests 2019-07-03 13:14:41 +02:00
protocol.c 9p: do not trust pdu content for stat item size 2019-04-20 09:16:00 +02:00
protocol.h net/9p: Convert net/9p protocol dumps to tracepoints 2011-10-24 11:13:12 -05:00
trans_common.c net/9p: correct some comment errors in 9p file system code 2018-05-10 08:21:53 -04:00
trans_common.h net/9p: remove (now-)unused helpers 2015-04-11 22:28:29 -04:00
trans_fd.c 9p: fix multiple NULL-pointer-dereferences 2018-08-13 09:34:58 +09:00
trans_rdma.c Pull request for inclusion in 4.19, take two 2018-08-17 17:27:58 -07:00
trans_virtio.c 9p/virtio: fix off-by-one error in sg list bounds check 2018-08-13 09:35:28 +09:00
trans_xen.c 9p/xen: fix check for xenbus_read error in front_probe 2019-07-03 13:14:41 +02:00
util.c 9p: fix whitespace issues 2018-08-13 09:34:58 +09:00