summaryrefslogtreecommitdiffstats
path: root/drivers/memstick
diff options
context:
space:
mode:
authorLinus Walleij <linus.walleij@linaro.org>2023-01-31 09:52:20 +0100
committerUlf Hansson <ulf.hansson@linaro.org>2023-02-02 16:02:06 +0100
commit56f34e8ddc40d8eca29fb16ada409ac74c180b1f (patch)
tree3f18590b039c17b2ccd20b5c1fa64666340d7059 /drivers/memstick
parent1444fed25b59957452da72ab498afe63589f3419 (diff)
downloadlinux-56f34e8ddc40d8eca29fb16ada409ac74c180b1f.tar.gz
linux-56f34e8ddc40d8eca29fb16ada409ac74c180b1f.tar.bz2
linux-56f34e8ddc40d8eca29fb16ada409ac74c180b1f.zip
memstick: core: Imply IOSCHED_BFQ
If we enable the memory stick block layer, use Kconfig to imply the BFQ I/O scheduler. As all memstick 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> Link: https://lore.kernel.org/r/20230131085220.1038241-1-linus.walleij@linaro.org Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
Diffstat (limited to 'drivers/memstick')
-rw-r--r--drivers/memstick/core/Kconfig2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/memstick/core/Kconfig b/drivers/memstick/core/Kconfig
index 08192fd70eb4..50fa0711da9d 100644
--- a/drivers/memstick/core/Kconfig
+++ b/drivers/memstick/core/Kconfig
@@ -20,6 +20,7 @@ config MEMSTICK_UNSAFE_RESUME
config MSPRO_BLOCK
tristate "MemoryStick Pro block device driver"
depends on BLOCK
+ imply IOSCHED_BFQ
help
Say Y here to enable the MemoryStick Pro block device driver
support. This provides a block device driver, which you can use
@@ -29,6 +30,7 @@ config MSPRO_BLOCK
config MS_BLOCK
tristate "MemoryStick Standard device driver"
depends on BLOCK
+ imply IOSCHED_BFQ
help
Say Y here to enable the MemoryStick Standard device driver
support. This provides a block device driver, which you can use