Received: by 2002:a05:6358:d09b:b0:dc:cd0c:909e with SMTP id jc27csp4808458rwb; Mon, 21 Nov 2022 12:12:09 -0800 (PST) X-Google-Smtp-Source: AA0mqf7LYSwyrfigMhgeWlFC/3ObSQWjaJggf3QDRgxi7SKoCZqmkGmBBukzqKqBrzuj3PeVnk19 X-Received: by 2002:a17:902:8ec3:b0:186:e68a:9aa8 with SMTP id x3-20020a1709028ec300b00186e68a9aa8mr13657149plo.104.1669061529527; Mon, 21 Nov 2022 12:12:09 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1669061529; cv=none; d=google.com; s=arc-20160816; b=SkI79tXd1fLfQXERsYrRf+TcaYE6O0tOphFFbqMY7aTaroqLvZrFkBlciIX4S5jejT itYJ1YLh2TDH8fPkZVbC4AET19il+wKAQk//gyp017tHmM6FbziJC46I9GUuYpVJQERN hhx0PzDJok1w/G/ZmG7YFDk8EUdwUULZMo0+fBBsT/XN0YovrRTnWiJ7/Yr4rdeblU2D aAALaVOfpJSwuXOJtH1SC/Yp9iCox8vo+Q5fKvPk83npBCcB0RsvlwVKzkXR4PZyDew3 vQ5xFRK6pfGwtItbZ6AfrEZi+LGMPM+uOSno3D9Wkdm2NIgonpAe/DwV0xUu2Z+Mfyrn JDdQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to :organization:from:references:cc:to:content-language:subject :user-agent:mime-version:date:message-id:dkim-signature; bh=H9zEWYfCTxAk46AxdiE3Lw66yHNfPho6x91hUIoiKu0=; b=Gtgpc+vRUd7dU6BBKchWvC91/HPBYKmJpvUl5iNLiLz+MstT7Faa/eSxwV2ryrTt01 M4Z2MlL1/4aoPW/cX9Gn0fYj68PWZJMOJ8l/jijdcHwE2KsFyoN0ipVyfsVJZDCAC6no +5yRBjeQT2TPMO5QfHTnCOuOYi09bZ4Lvsz8LFiSI9VPXoZABEyiXXYnwK5P3QtZpjvX ldvBuyK2R80QPyiuHaW4MGoyEGFV980v6mRc4sENvUPUd2t81iMjpwpkkauey1YE0aW4 jr23NaLyoQiNvffBD1bVvc7jWgO4UevVz4QDMaxyyTD8CQg5V7jFXpiirBXpI3KBDxzU KCJQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=GXh6CtHT; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=intel.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id i8-20020aa78d88000000b0056e48944895si11176480pfr.317.2022.11.21.12.11.56; Mon, 21 Nov 2022 12:12:09 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=GXh6CtHT; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=intel.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230512AbiKUTmu (ORCPT + 91 others); Mon, 21 Nov 2022 14:42:50 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:35244 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229501AbiKUTmr (ORCPT ); Mon, 21 Nov 2022 14:42:47 -0500 Received: from mga18.intel.com (mga18.intel.com [134.134.136.126]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 2673FD116; Mon, 21 Nov 2022 11:42:47 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1669059767; x=1700595767; h=message-id:date:mime-version:subject:to:cc:references: from:in-reply-to:content-transfer-encoding; bh=hWmAqluuQ5/3puqN3B6aykKHCk3Z+rkcmnnsHtMfROk=; b=GXh6CtHT8xbLYvhFkj7CLYbd1UsdAY8igpNiazeCowXsnsyXTQwxzFrf tqBVJUq6NmdHnz+mCMk04xL/X0xyziXoifr+0lhGJQ45zaCD6tKK+hIH+ z6EyjsxzTNJIRodojbOS2JL+WS8i46kfmwlKMfKWbgmSmC9yb82Cb01oL e+ymKjFQB1Ob6CvUkSnJ20IzVTdsKPgXR5h/mFkf7r0sR5sLQypq0Zjj9 hLvC9KlYIyiKQrglWwyXCeedVLlpY2L9yu4Ki7jllgM/q7apJaCO0BFZr iJCqSTBrNPmEAiQIclXillKSDyx78iNVJWMHek4ZWW6WV2Ay/xOHVo/tA A==; X-IronPort-AV: E=McAfee;i="6500,9779,10538"; a="297004546" X-IronPort-AV: E=Sophos;i="5.96,182,1665471600"; d="scan'208";a="297004546" Received: from orsmga008.jf.intel.com ([10.7.209.65]) by orsmga106.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 21 Nov 2022 11:42:46 -0800 X-IronPort-AV: E=McAfee;i="6500,9779,10538"; a="672211423" X-IronPort-AV: E=Sophos;i="5.96,182,1665471600"; d="scan'208";a="672211423" Received: from ahunter6-mobl1.ger.corp.intel.com (HELO [10.0.2.15]) ([10.252.35.94]) by orsmga008-auth.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 21 Nov 2022 11:42:43 -0800 Message-ID: <1c9b3db6-3443-5580-08f2-42520d6a3318@intel.com> Date: Mon, 21 Nov 2022 21:42:39 +0200 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Firefox/102.0 Thunderbird/102.5.0 Subject: Re: [PATCH 0/3] mmc: Improve block layer requeueing behavior Content-Language: en-US To: Bart Van Assche , =?UTF-8?Q?Christian_L=c3=b6hle?= , "axboe@kernel.dk" , "ulf.hansson@linaro.org" , "linux-mmc@vger.kernel.org" , "linux-kernel@vger.kernel.org" , "linux-block@vger.kernel.org" , Christoph Hellwig Cc: Avri Altman , "vincent.whitchurch@axis.com" References: <5df2c4d5-f426-e3ea-8e6d-f772ec7091b6@intel.com> From: Adrian Hunter Organization: Intel Finland Oy, Registered Address: PL 281, 00181 Helsinki, Business Identity Code: 0357606 - 4, Domiciled in Helsinki In-Reply-To: Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,NICE_REPLY_A, SPF_HELO_NONE,SPF_NONE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 21/11/22 21:14, Bart Van Assche wrote: > On 11/21/22 00:25, Adrian Hunter wrote: >> On 18/11/22 19:27, Bart Van Assche wrote: >>> On 11/18/22 02:47, Adrian Hunter wrote: >>>> Does anyone know why the block layer does not support >>>> (max_hw_sectors << 9) < PAGE_SIZE ? >>> >>> Does this mean that the following patch series would not only be >>> useful for UFS but also for MMC? "[PATCH 00/10] Support DMA segments >>> smaller than the page size" >>> (https://lore.kernel.org/linux-block/20221019222324.362705-1-bvanassche@acm.org/). >> >> That patchset still does not allow max_hw_sectors = 1 which is >> what Christian's case needs. > > Hi Adrian, > > Why would that patch series not support max_hw_sectors = 1? What am I overlooking? blk_queue_max_hw_sectors() does not allow it.