From: Linus Walleij Date: Tue, 31 Jan 2023 08:47:42 +0000 (+0100) Subject: mmc: core: Imply IOSCHED_BFQ X-Git-Tag: v6.3-rc1~63^2~25 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=1444fed25b59957452da72ab498afe63589f3419;p=thirdparty%2Flinux.git mmc: core: Imply IOSCHED_BFQ If we enable the MMC/SD block layer, use Kconfig to imply the BFQ I/O scheduler. As all MMC/SD devices are single-queue, this is the scheduler that users want so let's be helpful and make sure it gets default-selected into a manual kernel configuration. It will still need to be enabled at runtime (usually with udev scripts). Cc: linux-block@vger.kernel.org Cc: Paolo Valente Signed-off-by: Linus Walleij Link: https://lore.kernel.org/r/20230131084742.1038135-1-linus.walleij@linaro.org Signed-off-by: Ulf Hansson --- diff --git a/drivers/mmc/core/Kconfig b/drivers/mmc/core/Kconfig index e9e9d31b39b43..bf4e29ef023c0 100644 --- a/drivers/mmc/core/Kconfig +++ b/drivers/mmc/core/Kconfig @@ -37,6 +37,7 @@ config PWRSEQ_SIMPLE config MMC_BLOCK tristate "MMC block device driver" depends on BLOCK + imply IOSCHED_BFQ default y help Say Y here to enable the MMC block device driver support.