public inbox for linux-mtd@lists.infradead.org
 help / color / mirror / Atom feed
From: Thomas Gleixner <tglx@linutronix.de>
To: manningc2@actrix.gen.nz, linux-mtd@lists.infradead.org
Subject: Re: nand oob layout assumptions
Date: Sun, 28 Mar 2004 08:51:56 +0100	[thread overview]
Message-ID: <200403280951.56183.tglx@linutronix.de> (raw)
In-Reply-To: <20040328072532.3FCCA168A8@desire.actrix.co.nz>

On Sunday 28 March 2004 09:34, Charles Manning wrote:
> > But the fs must be aware of the bad block marker position in the OOB
> > area, as it can not use this byte for storing fs dependend data. The OOB
> > usage is given by the fs layer.
>
> No. Part of the deal is that the OOB area should not be shown in "raw" form
> to the fs. There should be no l physical placement knowledge in the fs,
> only abstract.
>
> This should be shown to the fs as:
>   __u8 spare[8];
>   ECCResult (OK, fixed, failed)
>   BlockOK (OK, bad)

OK, I already have agreed, that we can use such an abstract form for new 
developments, but we _MUST_ maintain compability for the existing 
implementatitons. I like abstract models very much, but I will always keep in 
view what consequences we will have, if we change things.

That's all I'm insisting on.

YAFFS1 uses a different ECC placement than JFFS2. 
If we change this in general now, we will either break YAFFS or JFFS2 or even 
both. 

This prevents users to upgrade their kernels. They will have format 
incompabilities so they loose data on upgrading or loose the interoperability 
of systems. Will you tell your customer to either upgrade 1000 already sold 
devices or stick with the current code or accepting that interoperability is 
not given ? That's not what Open Source Software stands for.

I do not have any objections against an API extension, but breaking things I'm 
_NEVER_ going to accept.

-- 
Thomas
________________________________________________________________________
linutronix - competence in embedded & realtime linux
http://www.linutronix.de
mail: tglx@linutronix.de

  reply	other threads:[~2004-03-28  7:55 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-03-25 18:44 nand oob layout assumptions David Updegraff
2004-03-25 19:58 ` Thomas Gleixner
2004-03-27  7:40   ` Charles Manning
2004-03-27  8:07     ` Thomas Gleixner
2004-03-27 10:24       ` David Woodhouse
2004-03-27 11:10         ` Thomas Gleixner
2004-03-27 11:25           ` David Woodhouse
2004-03-27 14:15             ` Thomas Gleixner
2004-03-27 16:13             ` David Updegraff
2004-03-27 16:18               ` David Woodhouse
2004-03-27 17:40                 ` Thomas Gleixner
2004-03-28  8:06                 ` Charles Manning
2004-03-28  8:05                   ` Thomas Gleixner
2004-03-28  7:34       ` Charles Manning
2004-03-28  7:51         ` Thomas Gleixner [this message]
2004-03-28  8:19           ` Charles Manning

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=200403280951.56183.tglx@linutronix.de \
    --to=tglx@linutronix.de \
    --cc=linux-mtd@lists.infradead.org \
    --cc=manningc2@actrix.gen.nz \
    /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