From: Adrian Hunter <ext-adrian.hunter@nokia.com>
To: linux-mtd@lists.infradead.org
Subject: Re: Do not understand use of oobfree
Date: Mon, 05 Feb 2007 14:46:25 +0200 [thread overview]
Message-ID: <45C72721.90302@nokia.com> (raw)
In-Reply-To: <872380.68552.qm@web58702.mail.re1.yahoo.com>
ext Philip Rakity wrote:
> b) the oobfree area is specified as a {offset, length) pair. When this
> gets to say the jffs2 file system what does it see. For example
> .oobfree = { {8, 8} }
8 free bytes at offset 8
>
> it would see 8 bytes starting at offset 8 OR 8 bytes starting at offset
> 0 and the mtd driver would do the mapping.
>
> more complex example
> .oobfree = { {3, 2}, {6, 2} }
>
> would jffs2 see 4 bytes at offset 0. or 2 sets of data at offset 3 and
> offset 6.
2 free bytes at offset 3
2 free bytes at offset 6
Note that the total free bytes for a page is stored in oobavail.
prev parent reply other threads:[~2007-02-05 12:47 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-02-05 3:58 Do not understand use of oobfree Philip Rakity
2007-02-05 8:22 ` Artem Bityutskiy
2007-02-05 9:14 ` Artem Bityutskiy
2007-02-06 16:10 ` Philip Rakity
2007-02-05 12:46 ` Adrian Hunter [this message]
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=45C72721.90302@nokia.com \
--to=ext-adrian.hunter@nokia.com \
--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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.