summaryrefslogtreecommitdiffstats
path: root/block/blk-mq-sched.c
diff options
context:
space:
mode:
authorJens Axboe <axboe@kernel.dk>2021-11-13 22:03:26 +0100
committerJens Axboe <axboe@kernel.dk>2021-11-29 14:38:35 +0100
commit48b5c1fbcd8c5bc6b91a56399a5257b801391dd8 (patch)
treeca7326ec1b162e4e8cc3701ea620b6b13012798b /block/blk-mq-sched.c
parentblk-ioprio: don't set bio priority if not needed (diff)
downloadlinux-48b5c1fbcd8c5bc6b91a56399a5257b801391dd8.tar.xz
linux-48b5c1fbcd8c5bc6b91a56399a5257b801391dd8.zip
block: only allocate poll_stats if there's a user of them
This is essentially never used, yet it's about 1/3rd of the total queue size. Allocate it when needed, and don't embed it in the queue. Kill the queue flag for this while at it, since we can just check the assigned pointer now. Reviewed-by: Johannes Thumshirn <johannes.thumshirn@wdc.com> Reviewed-by: Christoph Hellwig <hch@lst.de> Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'block/blk-mq-sched.c')
0 files changed, 0 insertions, 0 deletions