public inbox for linux-mtd@lists.infradead.org
 help / color / mirror / Atom feed
From: "Jörn Engel" <joern@logfs.org>
To: Alexander Belyakov <abelyako@googlemail.com>
Cc: dwmw2@infradead.org, tglx@linutronix.de,
	linux-mtd@lists.infradead.org,
	Alexey Korolev <akorolev@infradead.org>
Subject: Re: [PATCH][RFC] NAND subpage read feature. Take 2.
Date: Mon, 5 May 2008 17:39:59 +0200	[thread overview]
Message-ID: <20080505153959.GA17330@logfs.org> (raw)
In-Reply-To: <fe810cf0805050510g2bf7ef4brfaf4352454dd204b@mail.gmail.com>

On Mon, 5 May 2008 16:10:46 +0400, Alexander Belyakov wrote:
> On Mon, May 5, 2008 at 11:37 AM, Jörn Engel <joern@logfs.org> wrote:
> >
> > Actually, logfs caching would help jffs2 as well, as soon as you have
> > several parallel readers.  It should be made generic mtd caching.  And
> > when made generic, it would effectively defeat this patch, as all reads
> > would be (DRAM-) pagesized.
> >
> > We could theoretically use buggerheads and do the caching in smaller
> > granularities.
> 
> We'd like to look at this new mtd caching layer. Have you working
> prototype to play with?

Take a look into fs/logfs/dev_mtd.c in the logfs patch or git tree:
http://lazybastard.org/~joern/patches/logfs.patch.773
http://git.kernel.org/?p=linux/kernel/git/joern/logfs.git;a=summary

It is currently part of logfs, but moving it over to
drivers/mtd/mtdcore.c shouldn't be too hard.

Jörn

-- 
Optimizations always bust things, because all optimizations are, in
the long haul, a form of cheating, and cheaters eventually get caught.
-- Larry Wall

  reply	other threads:[~2008-05-05 15:40 UTC|newest]

Thread overview: 18+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-04-30 12:13 [PATCH][RFC] NAND subpage read feature. Take 2 Alexey Korolev
2008-05-01  4:40 ` Hamish Moffatt
2008-05-01  5:34   ` MTD PARTITION Aneesh
2008-05-14 17:13   ` [PATCH][RFC] NAND subpage read feature. Take 2 Alexey Korolev
2008-05-01 20:25 ` Jörn Engel
2008-05-04  8:46   ` Alexander Belyakov
2008-05-05  7:37     ` Jörn Engel
2008-05-05 12:10       ` Alexander Belyakov
2008-05-05 15:39         ` Jörn Engel [this message]
2008-05-06  9:29           ` Alexander Belyakov
2008-05-08 15:30             ` Jörn Engel
2008-05-08 15:33               ` Artem Bityutskiy
2008-05-08 15:38                 ` Jörn Engel
2008-05-06  0:15       ` Hamish Moffatt
2008-05-06  6:15         ` Jörn Engel
2008-05-06  9:42           ` Hamish Moffatt
2008-05-06 10:47             ` Jörn Engel
2008-05-14 17:34   ` Alexey Korolev

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=20080505153959.GA17330@logfs.org \
    --to=joern@logfs.org \
    --cc=abelyako@googlemail.com \
    --cc=akorolev@infradead.org \
    --cc=dwmw2@infradead.org \
    --cc=linux-mtd@lists.infradead.org \
    --cc=tglx@linutronix.de \
    /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