ceph: move to a dedicated slabcache for mds requests
authorJeff Layton <jlayton@kernel.org>
Mon, 17 Feb 2020 23:38:37 +0000 (18:38 -0500)
committerIlya Dryomov <idryomov@gmail.com>
Mon, 30 Mar 2020 10:42:41 +0000 (12:42 +0200)
commit058daab79d6b597a20fd49b5e445b1b2929c2c1c
tree28d3e3653be881b507005aea65b8e60d1cc12596
parentc36d641493c9d170adf895b7650c26c944d37636
ceph: move to a dedicated slabcache for mds requests

On my machine (x86_64) this struct is 952 bytes, which gets rounded up
to 1024 by kmalloc. Move this to a dedicated slabcache, so we can
allocate them without the extra 72 bytes of overhead per.

Signed-off-by: Jeff Layton <jlayton@kernel.org>
Reviewed-by: Ilya Dryomov <idryomov@gmail.com>
Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
fs/ceph/mds_client.c
fs/ceph/super.c
include/linux/ceph/libceph.h