[U-Boot] [PATCH] drivers: block: Allow to cache 4K blocks by default

Jan Kiszka jan.kiszka at siemens.com
Thu Jan 3 15:42:08 UTC 2019


On 20.12.18 09:45, Marek Vasut wrote:
> On 12/10/2018 01:28 PM, Tom Rini wrote:
>> On Mon, Dec 10, 2018 at 05:13:58AM +0100, Marek Vasut wrote:
>>> On 12/09/2018 09:55 AM, Jan Kiszka wrote:
>>>> The default settings of the block cache so far only allow to hold single
>>>> 1K blocks. However, larger filesystems tend to use 4K. Failing to cache
>>>> those massively degrades access performance unless you manually tune the
>>>> cache first. This is not desirable.
>>>>
>>>> Signed-off-by: Jan Kiszka <jan.kiszka at siemens.com>
>>>
>>> I submitted the same patch before [1], oddly enough it was not picked by
>>> Tom.
>>>
>>> [1]
>>> http://u-boot.10912.n7.nabble.com/PATCH-RFC-blk-Increase-cache-element-size-td337975.html
>>
>> Based on a quick re-read, I had filed that patch as "Marek says he'll
>> look into a more complex but general scheme".  If that's not the case
>> then yes, we can just do that.  Thanks!
> 
> I still don't see the original patch in u-boot/master
> 

Ping. Some form of this change should go into the next release, IMHO.

Jan

-- 
Siemens AG, Corporate Technology, CT RDA IOT SES-DE
Corporate Competence Center Embedded Linux


More information about the U-Boot mailing list