Re: [PATCH 1/1] mmc: Set optimal I/O size when mmc_setip_queue
From: Sharp.Xia
Date: Sat Aug 26 2023 - 13:12:39 EST
On Fri, 2023-08-25 at 20:23 +0800, Wenchao Chen wrote:
>
>
> Hi Sharp
> Use "echo 1024 > sys/block/mmcblk0/queue/read_ahead_kb" instead of
> "blk_queue_io_opt(mq->queue, host->max_req_size);"?
Hi Wenchao,
User space does not know the max_req_size of each mmc host.
And when the SD card is hot inserted,
it is complicated for the user space to modify this value.