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)
commitba0ffdd8ce48ad7f7e85191cd29f9674caca3745
treec02947a9000f9542ae517a061eb6c8e4425c6b36
parent0006707723233cb2a9a23ca19fc3d0864835704c
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