]> git.baikalelectronics.ru Git - kernel.git/commit
block: bump max plugged deferred size from 16 to 32
authorJens Axboe <axboe@kernel.dk>
Wed, 6 Oct 2021 18:01:07 +0000 (12:01 -0600)
committerJens Axboe <axboe@kernel.dk>
Mon, 18 Oct 2021 12:17:03 +0000 (06:17 -0600)
commit5ea36c723e2a8ecb1beed4557a9e771a37767a35
treec02947a9000f9542ae517a061eb6c8e4425c6b36
parent916b2926f0ecf269d79b1b42a73edbd24c2253be
block: bump max plugged deferred size from 16 to 32

Particularly for NVMe with efficient deferred submission for many
requests, there are nice benefits to be seen by bumping the default max
plug count from 16 to 32. This is especially true for virtualized setups,
where the submit part is more expensive. But can be noticed even on
native hardware.

Reduce the multiple queue factor from 4 to 2, since we're changing the
default size.

While changing it, move the defines into the block layer private header.
These aren't values that anyone outside of the block layer uses, or
should use.

Signed-off-by: Jens Axboe <axboe@kernel.dk>
block/blk-mq.c
block/blk.h
include/linux/blkdev.h