From: Jean-Christophe DUBOIS <jcd@tribudubois.net>
To: Artem Bityutskiy <dedekind1@gmail.com>
Cc: linux-mtd@lists.infradead.org
Subject: Re: [PATCH] [JFFS2] load_xattr_datum need to return a positive number in case of unrecoverable error
Date: Tue, 01 May 2012 16:31:33 +0200 [thread overview]
Message-ID: <4F9FF3C5.9090002@tribudubois.net> (raw)
In-Reply-To: <1335874554.2095.7.camel@koala>
On 01/05/2012 14:15, Artem Bityutskiy wrote:
> On Mon, 2012-04-30 at 22:54 +0200, Jean-Christophe DUBOIS wrote:
>> On 29/04/2012 17:44, Artem Bityutskiy wrote:
>>> On Thu, 2012-04-26 at 23:09 +0200, Jean-Christophe DUBOIS wrote:
>>>> Is this convincing enough?
>>> Sure, thanks.
>>>
>>>> You might think that the attibute corruption I am showing here is very
>>>> artificial but I can assure you that it does happen in the wild when you
>>>> get a power cut on your equipment while the GC was moving an attribute
>>>> node for example.
>>> This issue is for sure worth fixing.
>> So, will you accept this patch?
> No, I meant that I agree that there is an issue, but I think that it
> should be solved for all node types the same way. So I suggest to look
> at what happens when data nodes are corrupted, how JFFS2 picks the older
> node (if it does) and do it similarly for xattrs.
I just want to restate that this patch is just re-enabling a feature
that was (wrongly I think) disabled a bit more than a year ago.
I will have a look at the other way you suggested but this might mean in
the end a lot more restructuring of the JFFS2 code (at least the xattr
part). As you seem to be very cautious about JFFS2 code change this will
certainly mean a slow merge process. In the mean time the broken JFFS2
xattr behavior will still be present.
JC
prev parent reply other threads:[~2012-05-01 14:31 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-04-11 20:54 [PATCH] [JFFS2] load_xattr_datum need to return a positive number in case of unrecoverable error Jean-Christophe DUBOIS
2012-04-22 13:08 ` Artem Bityutskiy
2012-04-22 13:16 ` Artem Bityutskiy
2012-04-22 17:35 ` Jean-Christophe DUBOIS
2012-04-25 13:59 ` Artem Bityutskiy
2012-04-26 21:09 ` Jean-Christophe DUBOIS
2012-04-29 15:44 ` Artem Bityutskiy
2012-04-30 20:54 ` Jean-Christophe DUBOIS
2012-05-01 12:15 ` Artem Bityutskiy
2012-05-01 14:31 ` Jean-Christophe DUBOIS [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=4F9FF3C5.9090002@tribudubois.net \
--to=jcd@tribudubois.net \
--cc=dedekind1@gmail.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox