diff options
author | Christoph Hellwig <hch@lst.de> | 2016-09-14 16:18:53 +0200 |
---|---|---|
committer | Jens Axboe <axboe@fb.com> | 2016-09-15 08:42:03 -0600 |
commit | bdd17e75cd97c5c39feee409890a91d0396640fe (patch) | |
tree | a7b6b01aa305d466e83255caa08670391c294b33 /block/blk-mq-tag.c | |
parent | 4e68a011428af3211facd932b4003b3fa3ef4faa (diff) | |
download | linux-stable-bdd17e75cd97c5c39feee409890a91d0396640fe.tar.gz linux-stable-bdd17e75cd97c5c39feee409890a91d0396640fe.tar.bz2 linux-stable-bdd17e75cd97c5c39feee409890a91d0396640fe.zip |
blk-mq: only allocate a single mq_map per tag_set
The mapping is identical for all queues in a tag_set, so stop wasting
memory for building multiple. Note that for now I've kept the mq_map
pointer in the request_queue, but we'll need to investigate if we can
remove it without suffering too much from the additional pointer chasing.
The same would apply to the mq_ops pointer as well.
Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Keith Busch <keith.busch@intel.com>
Signed-off-by: Jens Axboe <axboe@fb.com>
Diffstat (limited to 'block/blk-mq-tag.c')
0 files changed, 0 insertions, 0 deletions