sys-kernel: enable throttled background buffered writeback

This feature prevents the background writeback thread from stalling I/O,
e.g. reads.

For instance, without this option enabled, it's possible to stall reads
setting a writeback dirty threshold (/proc/sys/vm/dirty_writeback_centisecs)
sufficiently long.

Quoting the author of the feature:

"""
[..] If you are sick of Linux bogging down when buffered
writes are happening, then this is for you, laptop or server. The
patchset is fully stable, I have not observed problems. It passes full
xfstest runs, and a variety of benchmarks as well. It works equally well
on blk-mq/scsi-mq, and "classic" setups.
"""

"""
This feature adds a simple blk-wb code that keeps limits how much buffered
writeback we keep in flight on the device end. [..] it should be pretty
much auto-tuning.
"""

Signed-off-by: Ezequiel Garcia <ezequiel@vanguardiasur.com.ar>
This commit is contained in:
Ezequiel Garcia 2018-02-09 13:36:22 -03:00
parent 8da7bd8241
commit b36ecb3403
6 changed files with 2 additions and 0 deletions

View File

@ -47,6 +47,7 @@ CONFIG_MODULE_UNLOAD=y
CONFIG_MODULE_SIG=y
CONFIG_MODULE_SIG_SHA256=y
CONFIG_BLK_DEV_THROTTLING=y
CONFIG_BLK_WBT=y
CONFIG_PARTITION_ADVANCED=y
CONFIG_BSD_DISKLABEL=y
CONFIG_MINIX_SUBPARTITION=y

View File

@ -47,6 +47,7 @@ CONFIG_MODULE_UNLOAD=y
CONFIG_MODULE_SIG=y
CONFIG_MODULE_SIG_SHA256=y
CONFIG_BLK_DEV_THROTTLING=y
CONFIG_BLK_WBT=y
CONFIG_PARTITION_ADVANCED=y
CONFIG_BSD_DISKLABEL=y
CONFIG_MINIX_SUBPARTITION=y