Linux MultiMedia Card development
 help / color / mirror / Atom feed
* [PATCH] mmc: core: Imply IOSCHED_BFQ
@ 2023-01-31  8:47 Linus Walleij
  2023-01-31  9:01 ` Christoph Hellwig
                   ` (2 more replies)
  0 siblings, 3 replies; 13+ messages in thread
From: Linus Walleij @ 2023-01-31  8:47 UTC (permalink / raw)
  To: linux-mmc, Ulf Hansson; +Cc: Linus Walleij, linux-block, Paolo Valente

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 <paolo.valente@linaro.org>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
---
 drivers/mmc/core/Kconfig | 1 +
 1 file changed, 1 insertion(+)

diff --git a/drivers/mmc/core/Kconfig b/drivers/mmc/core/Kconfig
index 6f25c34e4fec..52fe9d7c21cc 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.
-- 
2.34.1


^ permalink raw reply related	[flat|nested] 13+ messages in thread

end of thread, other threads:[~2023-02-02 22:14 UTC | newest]

Thread overview: 13+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-01-31  8:47 [PATCH] mmc: core: Imply IOSCHED_BFQ Linus Walleij
2023-01-31  9:01 ` Christoph Hellwig
2023-01-31  9:57   ` Linus Walleij
2023-01-31 13:20     ` Christoph Hellwig
2023-01-31 14:05       ` Linus Walleij
2023-01-31 15:11         ` Christoph Hellwig
2023-02-01  8:18           ` Linus Walleij
2023-02-01 13:08             ` Christoph Hellwig
2023-02-01 13:19 ` Arnd Bergmann
2023-02-01 14:44   ` Linus Walleij
2023-02-02 15:22 ` Ulf Hansson
2023-02-02 18:04   ` Jens Axboe
2023-02-02 22:14     ` Linus Walleij

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox