Yu-Kuai/blk-wb…
Commits on Sep 19, 2022
-
blk-wbt: don't enable throttling if default elevator is bfq
Commit b5dc5d4 ("block,bfq: Disable writeback throttling") tries to disable wbt for bfq, it's done by calling wbt_disable_default() in bfq_init_queue(). However, wbt is still enabled if default elevator is bfq: device_add_disk elevator_init_mq bfq_init_queue wbt_disable_default -> done nothing blk_register_queue wbt_enable_default -> wbt is enabled Fix the problem by checking elevator name if wbt_enable_default() is called from blk_register_queue(). Signed-off-by: Yu Kuai <yukuai3@huawei.com>
-
block: add a helper to check elevator name
The helper will be used in later patch to make sure wbt is not enabled if default io scheduler is bfq. Signed-off-by: Yu Kuai <yukuai3@huawei.com>
-
wbt: don't show valid wbt_lat_usec in sysfs while wbt is disabled
Currently, if wbt is initialized and then disabled by wbt_disable_default(), sysfs will still show valid wbt_lat_usec, which will confuse users that wbt is still enabled. This patch shows wbt_lat_usec as zero and forbid to set it while wbt is disabled. Signed-off-by: Yu Kuai <yukuai3@huawei.com> Reported-and-tested-by: Holger Hoffstätte <holger@applied-asynchrony.com>
Commits on Sep 16, 2022
-
Add linux-next specific files for 20220916
Signed-off-by: Stephen Rothwell <sfr@canb.auug.org.au>
-
Merge branch 'mm-everything' of git://git.kernel.org/pub/scm/linux/ke…
…rnel/git/akpm/mm
-
Merge branch 'mm-nonmm-stable' of git://git.kernel.org/pub/scm/linux/…
…kernel/git/akpm/mm
-
Merge branch 'for-next/kspp' of git://git.kernel.org/pub/scm/linux/ke…
…rnel/git/gustavoars/linux.git
-
Merge branch 'for-next/kspp' of git://git.kernel.org/pub/scm/linux/ke…
…rnel/git/kees/linux.git # Conflicts: # lib/Kconfig.debug
-
Merge branch 'for-next/execve' of git://git.kernel.org/pub/scm/linux/…
…kernel/git/kees/linux.git
-
Merge branch 'sysctl-next' of git://git.kernel.org/pub/scm/linux/kern…
…el/git/mcgrof/linux.git
-
Merge branch 'master' of git://git.kernel.org/pub/scm/linux/kernel/gi…
…t/crng/random.git
-
Merge branch 'for-next' of git://git.kernel.org/pub/scm/linux/kernel/…
…git/vbabka/slab.git
-
Merge branch 'for-next' of git://git.kernel.org/pub/scm/linux/kernel/…
…git/krisman/unicode.git
-
Merge branch 'for-next' of git://git.kernel.org/pub/scm/linux/kernel/…
…git/rppt/memblock.git
-
Merge branch 'mhi-next' of git://git.kernel.org/pub/scm/linux/kernel/…
…git/mani/mhi.git
-
Merge branch 'for-next' of git://git.kernel.org/pub/scm/linux/kernel/…
…git/srini/nvmem.git
-
Merge branch 'for-next' of git://git.kernel.org/pub/scm/linux/kernel/…
…git/srini/slimbus.git
-
Merge branch 'for-next/seccomp' of git://git.kernel.org/pub/scm/linux…
…/kernel/git/kees/linux.git
-
Merge branch 'libnvdimm-for-next' of git://git.kernel.org/pub/scm/lin…
…ux/kernel/git/nvdimm/nvdimm.git
-
Merge branch 'rtc-next' of git://git.kernel.org/pub/scm/linux/kernel/…
…git/abelloni/linux.git
-
Merge branch 'for-next' of git://git.kernel.org/pub/scm/linux/kernel/…
…git/livepatching/livepatching
-
Merge branch 'next' of git://git.kernel.org/pub/scm/linux/kernel/git/…
…shuah/linux-kselftest.git # Conflicts: # drivers/cpufreq/amd-pstate.c
-
Merge branch 'for-next' of git://git.kernel.org/pub/scm/linux/kernel/…
…git/ebiederm/user-namespace.git
-
Merge branch 'for-next' of git://git.kernel.org/pub/scm/linux/kernel/…
…git/linusw/linux-pinctrl.git
-
Merge branch 'for-next' of git://git.kernel.org/pub/scm/linux/kernel/…
…git/andy/linux-gpio-intel.git
-
Merge branch 'gpio/for-next' of git://git.kernel.org/pub/scm/linux/ke…
…rnel/git/brgl/linux.git
-
Merge branch 'for-next' of git://git.kernel.org/pub/scm/linux/kernel/…
…git/remoteproc/linux.git