diff options
author | Jens Axboe <axboe@kernel.dk> | 2018-10-11 16:00:52 -0600 |
---|---|---|
committer | Jens Axboe <axboe@kernel.dk> | 2018-11-07 13:42:33 -0700 |
commit | 820efc62fc6ccf07be40a1040d4b793286de8439 (patch) | |
tree | 0d5bffbd8dc09dafff03d3fb9074a0cc560e3202 /block/blk-core.c | |
parent | db6d995235606191fa9db0c717e9d843200b71ea (diff) | |
download | linux-820efc62fc6ccf07be40a1040d4b793286de8439.tar.bz2 |
block: kill request slab cache
Reviewed-by: Hannes Reinecke <hare@suse.com>
Tested-by: Ming Lei <ming.lei@redhat.com>
Reviewed-by: Omar Sandoval <osandov@fb.com>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'block/blk-core.c')
-rw-r--r-- | block/blk-core.c | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/block/blk-core.c b/block/blk-core.c index 45f5c5898fd7..a14dab57ff8b 100644 --- a/block/blk-core.c +++ b/block/blk-core.c @@ -58,11 +58,6 @@ EXPORT_TRACEPOINT_SYMBOL_GPL(block_unplug); DEFINE_IDA(blk_queue_ida); /* - * For the allocated request tables - */ -struct kmem_cache *request_cachep; - -/* * For queue allocation */ struct kmem_cache *blk_requestq_cachep; @@ -1971,9 +1966,6 @@ int __init blk_dev_init(void) if (!kblockd_workqueue) panic("Failed to create kblockd\n"); - request_cachep = kmem_cache_create("blkdev_requests", - sizeof(struct request), 0, SLAB_PANIC, NULL); - blk_requestq_cachep = kmem_cache_create("request_queue", sizeof(struct request_queue), 0, SLAB_PANIC, NULL); |