]> 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)
commita5bb764c62e19c47479f1c123efeb5a23ac70fe5
treec02947a9000f9542ae517a061eb6c8e4425c6b36
parent94738b98a6a4f4a6b8821ea9f77f436a53450d19
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