Re: [PATCH 0/3] mmc: Improve block layer requeueing behavior

From: Adrian Hunter
Date: Mon Nov 21 2022 - 14:42:53 EST


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@xxxxxxx/).
>>
>> 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.