[PATCH 1/1] mmc: Set optimal I/O size when mmc_setip_queue

Sharp.Xia at mediatek.com Sharp.Xia at mediatek.com
Sat Aug 26 09:54:54 PDT 2023


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.




More information about the Linux-mediatek mailing list