[Fwd: Re: Caching of reads]

David Woodhouse dwmw2 at infradead.org
Fri Nov 16 17:05:13 EST 2001


> An strace seems to show it's related to the fork(), shortly after the fork()

There should be more debug info than that from JFFS2, shouldn't there?

> <7>Node read from 00d9d8f4: node_crc f3b6e771, calculated CRC f3b6e771. dsize 7, csize 7, offset 0, buf c3be1ea0
> <7>Node read from 00cec5c0: node_crc b16a4fa6, calculated CRC b16a4fa6. dsize b, csize b, offset 0, buf c3beec60
> <7>Node read from 00c55d1c: node_crc 544bdb58, calculated CRC 544bdb58. dsize d, csize d, offset 0, buf c3be1ea0
> <7>Node read from 00d9d8f4: node_crc f3b6e771, calculated CRC f3b6e771. dsize 7, csize 7, offset 0, buf c3be1ea0
> <7>Node read from 00d9d8f4: node_crc f3b6e771, calculated CRC f3b6e771. dsize 7, csize 7, offset 0, buf c3be1ea0
> <7>Node read from 00cec5c0: node_crc b16a4fa6, calculated CRC b16a4fa6. dsize b, csize b, offset 0, buf c3beec60
> <7>Node read from 00c55d1c: node_crc 544bdb58, calculated CRC 544bdb58. dsize d, csize d, offset 0, buf c3be1ea0

Are you sure that's right? Those sizes look suspicious. But it definitely
looks like some of those nodes are being read repeatedly - I don't know why
they're being dropped from the page cache. What kernel, precisely?


> The message in this transmission is sent in confidence for the
> attention of the addressee only and should not be disclosed to any
> other party. Unauthorised recipients are requested to preserve this
> confidentiality. Please advise the sender if the addressee is not
> resident at the receiving end. 

Please could you turn that off?

--
dwmw2






More information about the linux-mtd mailing list