答复: UBIFS: Failed to read/write file when contiguous pages are not enough

Artem Bityutskiy dedekind1 at gmail.com
Tue Mar 21 00:30:31 PDT 2017


On Tue, 2017-03-21 at 01:53 +0000, 余华兵(平台一部 福州) wrote:
> Or does this only happen when the kernel tries to produce free memory
> in the writeback path?
> //This happens when UBIFS reads or writes a file. UBIFS should avoid
> applying for continuous pages, otherwise it will fail when the
> continuous pages are not enough.

You are right that it will be better if UBIFS allocates single pages
only. But this is an improvement request. It is not a bug to do order 1
allocations, it is just an imperfection: UBIFS could work better on
system with highly fragmented memory.

Artem.



More information about the linux-mtd mailing list