* mtd caching in kernel 2.6
@ 2008-06-11 8:45 Hyphen79
2008-06-11 9:27 ` Nancy
0 siblings, 1 reply; 2+ messages in thread
From: Hyphen79 @ 2008-06-11 8:45 UTC (permalink / raw)
To: linux-mtd
Hello,
I have a problem with my mtdblock root device with the 2.6 kernel. When
I write data to a mtd partition,
which is not the root, the data will be written immediately. But when I
write something to the root partition,
it will be cached and written to it after a while (~30sec). What could
this be and how could I deactivate
the caching? - the root is a cramdisk, not JFFS2 - and I have no
problems with the 2.4 kernel.
Many thanks ahead!
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: mtd caching in kernel 2.6
2008-06-11 8:45 mtd caching in kernel 2.6 Hyphen79
@ 2008-06-11 9:27 ` Nancy
0 siblings, 0 replies; 2+ messages in thread
From: Nancy @ 2008-06-11 9:27 UTC (permalink / raw)
To: Hyphen79; +Cc: linux-mtd
On 6/11/08, Hyphen79 <hyphen79@web.de> wrote:
> Hello,
>
> I have a problem with my mtdblock root device with the 2.6 kernel. When
> I write data to a mtd partition,
> which is not the root, the data will be written immediately. But when I
> write something to the root partition,
> it will be cached and written to it after a while (~30sec).
Yes, cause your root is cramdisk, goes to block device layer
mtdblock.c Which is cache designed. Your other partitions works with
JFFS2 or Yaffs2 which goes directly on MTD nand_base.c or similar
file.
What could
> this be and how could I deactivate
> the caching? - the root is a cramdisk, not JFFS2 - and I have no
> problems with the 2.4 kernel.
No, you can't deactiveate the caching. But you can avoid it by using
JFFS2 or YAFFS2 as your rootfs. I think your case have nothing to do
with the kernel version. It should be the same with 2.4 kernel.
--
Best wishes,
Nancy
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2008-06-11 9:27 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-06-11 8:45 mtd caching in kernel 2.6 Hyphen79
2008-06-11 9:27 ` Nancy
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox