Re: mmc0: Invalid maximum block size, assuming 512 bytes

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 01/02/16 23:32, Mason wrote:
> On 22/01/2016 08:17, Mason wrote:
> 
>> On 22/01/2016 03:07, Shawn Lin wrote:
>>
>>> On 2016/1/21 23:00, Mason wrote:
>>>
>>>> So that means I have to write code in
>>>> drivers/mmc/host/sdhci-of-arasan.c correct?
>>>
>>> It depends. If you think 512 block size if okay for you, leave it alone.
>>> Otherwise, add it in drivers/mmc/host/sdhci-of-arasan.c :)
>>
>> When I measured the read/write throughput to an attached
>> SD card, I got around 16 MB/s, and I thought raising the
>> block size might help with throughput?
>>
>> I'll test and report back.
> 
> Haven't had time to test yet, but I wanted to ask experienced
> folks what to expect when raising the block size from 512 to
> 2048 bytes?

mmc block driver sets block size to 512.

What you are looking at is maximum block size.  SDIO uses bigger block
sizes, so it is useful for that.


--
To unsubscribe from this list: send the line "unsubscribe linux-mmc" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [Linux USB Devel]     [Linux Media]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux