From: David Woodhouse <dwmw2@infradead.org>
To: Ian Campbell <icampbell@arcom.co.uk>
Cc: Linux MTD Mailing List <linux-mtd@lists.infradead.org>
Subject: Re: Caching of reads
Date: Fri, 16 Nov 2001 15:48:29 +0000 [thread overview]
Message-ID: <30843.1005925709@redhat.com> (raw)
In-Reply-To: <1005925030.25782.27.camel@LinuxDev>
icampbell@arcom.co.uk said:
> It seems as if reads from a JFFS2 file system are not being cached as
> we would expect, for instance this small script:
> while true ; do sleep 1; done
> causes a read from the flash every time the sleep is executed. This is
> true even if the fs is mounted read only.
Strange. JFFS2 doesn't do caching - that's supposed to be handle by the
Linux VFS/VM. But set CONFIG_JFFS2_FS_DEBUG=1 and
echo 9 > /proc/sys/kernel/printk, then see what it's actually being asked
to read each time.
--
dwmw2
next prev parent reply other threads:[~2001-11-16 15:39 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2001-11-16 15:37 Caching of reads Ian Campbell
2001-11-16 15:48 ` David Woodhouse [this message]
2001-11-21 15:10 ` Ian Campbell
2001-11-21 15:46 ` David Woodhouse
2001-11-21 16:33 ` Ian Campbell
2001-11-29 9:08 ` David Woodhouse
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=30843.1005925709@redhat.com \
--to=dwmw2@infradead.org \
--cc=icampbell@arcom.co.uk \
--cc=linux-mtd@lists.infradead.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox