From patchwork Tue Jan 31 08:52:20 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Linus Walleij X-Patchwork-Id: 13122540 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 5850CC636CC for ; Tue, 31 Jan 2023 08:57:46 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232215AbjAaI5o (ORCPT ); Tue, 31 Jan 2023 03:57:44 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:43224 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231167AbjAaI5b (ORCPT ); Tue, 31 Jan 2023 03:57:31 -0500 Received: from mail-wm1-x32d.google.com (mail-wm1-x32d.google.com [IPv6:2a00:1450:4864:20::32d]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id A22606E87 for ; Tue, 31 Jan 2023 00:53:04 -0800 (PST) Received: by mail-wm1-x32d.google.com with SMTP id m16-20020a05600c3b1000b003dc4050c94aso7189416wms.4 for ; Tue, 31 Jan 2023 00:53:04 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=eTF5rD6gkolgmHukeO2r/oDk9G5LzTxiKluNHsAFP+A=; b=alSpDnMHw0cEqnhPCpqCHM/X0NSIZCQhE7Wd8A0DBHakCRPi9fKL3PJU0h6YFva/D5 pJZiDSkKp3jD26RBiw2zmMuAniEeABMY+o5Jjhr/vDfPHcSrrHkyDm31vJJHbVkJl5Al AAZQC8gZZeih/WN0oUH7gDAnfy3rYs6dCOaQ8D15qlwtDZL3AZyoFC2PETLpIPQag8nK LoosCsmGGiKWlILNlBl2UABBqjsIGxCvwFTsK7drYWaoNkDD8YlU+XNJ3gUhvOHyFaY4 jlAu6iwIQGwDNaCrOCxzzDmxbDuyUvpxipE2+0kMwFy5XmwdjC9ec0Yu12wqJ4UUFFHE EqBg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=eTF5rD6gkolgmHukeO2r/oDk9G5LzTxiKluNHsAFP+A=; b=Cb43PdXxPm2vp22E0p7qCWX5ylfYP/zo2+ZMLv9372yR/owk9tI9265vkTTdWuTV8S CinbwqCG1AwyQbaPdJ4mFBtOlMHNyy1YARgBESI5CwGd/Ebc2JYJNa5SR+o73q04y9se JATryZm29BSdetf4g8cx5xkGVIiH75XNKMTPLRW2B9GQrqZp7N6d6LgNwbUyYoxF+SI4 hhrSmz9QIEJyn4rA27VXaoG35u3G99k/JOCRoTeeZIYOXSHZI9Xlazx9ATE3diPTAsff 8eIal073QuLpb1mblE5lLNvxzj5ODhvbrVZxm9ZSmqrd6+2TmEnarp7jgoO8unzD4bxv i8ZQ== X-Gm-Message-State: AO0yUKUtgsopxJwSh4BlHZ56Nyk9ou7wHmJoweLUg6t5KEbGPt8/12yN j2xI71Wu1D6Ay06nxFpQIAaJTvObIFBCvgta X-Google-Smtp-Source: AMrXdXsCoFX4Cpz/JNFAY22qYBvCcwNYUMMDkfyZUYctEP0//4rG2F64f3VrMrQl+GecMPdUzhqVsw== X-Received: by 2002:a05:6402:49:b0:49e:33ce:144d with SMTP id f9-20020a056402004900b0049e33ce144dmr139117756edu.37.1675155142981; Tue, 31 Jan 2023 00:52:22 -0800 (PST) Received: from fedora.. ([85.235.10.72]) by smtp.gmail.com with ESMTPSA id cm17-20020a0564020c9100b004a21263bbaasm6189976edb.49.2023.01.31.00.52.22 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 31 Jan 2023 00:52:22 -0800 (PST) From: Linus Walleij To: linux-mmc@vger.kernel.org, Ulf Hansson Cc: Linus Walleij , linux-block@vger.kernel.org, Paolo Valente Subject: [PATCH] memstick: core: Imply IOSCHED_BFQ Date: Tue, 31 Jan 2023 09:52:20 +0100 Message-Id: <20230131085220.1038241-1-linus.walleij@linaro.org> X-Mailer: git-send-email 2.39.0 MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-block@vger.kernel.org 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 Signed-off-by: Linus Walleij --- drivers/memstick/core/Kconfig | 2 ++ 1 file changed, 2 insertions(+) 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