From: Ezequiel Garcia <ezequiel@vanguardiasur.com.ar>
To: Dan Ehrenberg <dehrenberg@chromium.org>, linux-mtd@lists.infradead.org
Cc: grundler@chromium.org, gwendal@chromium.org
Subject: Re: [PATCH v4] UBI: block: Continue creating ubiblocks after an initialization error
Date: Thu, 18 Dec 2014 20:44:04 -0300 [thread overview]
Message-ID: <549366C4.5060802@vanguardiasur.com.ar> (raw)
In-Reply-To: <1418945601-27388-1-git-send-email-dehrenberg@chromium.org>
Hey Dan,
On 12/18/2014 08:33 PM, Dan Ehrenberg wrote:
> If one ubi volume is corrupted but another is not, it should be
> possible to initialize that ubiblock from a kernel commandline which
> includes both of them. This patch changes the error handling behavior
> in initializing ubiblock to ensure that all parameters are attempted
> even if one fails. If there is a failure, it is logged on dmesg.
> It also makes error messages more descriptive by including the
> name of the UBI volume that failed.
>
> Tested: Formatted ubi volume /dev/ubi5_0 in a corrupt way and
> dev/ubi3_0 properly and included "ubi.block=5,0 ubi.block=3,0" on
> the kernel command line. At boot, I see the following in the console:
> [ 21.082420] UBI error: ubiblock_create_from_param: block: can't open volume on ubi5_0, err=-19
> [ 21.084268] UBI: ubiblock3_0 created from ubi3:0(rootfs)
>
> Signed-off-by: Dan Ehrenberg <dehrenberg@chromium.org>
> ---
> Changes in v4:
I think you should re-send on top of linux-next. Commit
326087033108e7806e24974f2c8271f95cddaf3a has changed the way
user messages are printed.
Other than that, the patch looks good:
Acked-by: Ezequiel Garcia <ezequiel@vanguardiasur.com.ar>
Thanks!
--
Ezequiel Garcia, VanguardiaSur
www.vanguardiasur.com.ar
next prev parent reply other threads:[~2014-12-18 23:46 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-12-18 23:33 [PATCH v4] UBI: block: Continue creating ubiblocks after an initialization error Dan Ehrenberg
2014-12-18 23:44 ` Ezequiel Garcia [this message]
2014-12-19 0:52 ` Daniel Ehrenberg
2014-12-19 7:16 ` Richard Weinberger
2014-12-19 11:07 ` Ezequiel Garcia
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=549366C4.5060802@vanguardiasur.com.ar \
--to=ezequiel@vanguardiasur.com.ar \
--cc=dehrenberg@chromium.org \
--cc=grundler@chromium.org \
--cc=gwendal@chromium.org \
--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