From: Artem Bityutskiy <dedekind@infradead.org>
To: brij.singh@samsung.com
Cc: linux-mtd@lists.infradead.org
Subject: Re: UBI Create or Update Volume
Date: Wed, 17 Jun 2009 12:56:30 +0300 [thread overview]
Message-ID: <1245232590.9487.9.camel@localhost.localdomain> (raw)
In-Reply-To: <27450855.94721245231184009.JavaMail.weblogic@epml07>
[Very difficult to read your email due to
looooooooooooonnnnnnnnnnnnnnnnnnngggggggggggggggggg
lines]
Hi,
On Wed, 2009-06-17 at 09:33 +0000, BRIJESH SINGH wrote:
> Hi Artem,
> Just came across the ubi_change_vtbl_record function. If first copy is written successfully and error occurs while writing second copy, this function still returns error. And hence the creation or change in Volume becomes unsuccessful. So applications consider it failure.
>
> But if I unmount now, (clean or unclean) the first copy will become valid and second will be called corrupted (during mount time). It's not correct.
> So should ubi_change_vtbl_record call flush wl and return success? Because 2nd copy(old) is unmapped till now.And should UBI go to read-only mode?
Yes, sounds right. Would you send a patch?
--
Best regards,
Artem Bityutskiy (Битюцкий Артём)
next prev parent reply other threads:[~2009-06-17 9:56 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-06-17 9:33 UBI Create or Update Volume BRIJESH SINGH
2009-06-17 9:56 ` Artem Bityutskiy [this message]
-- strict thread matches above, loose matches on Subject: below --
2009-06-17 13:33 BRIJESH SINGH
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=1245232590.9487.9.camel@localhost.localdomain \
--to=dedekind@infradead.org \
--cc=brij.singh@samsung.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