All of lore.kernel.org
 help / color / mirror / Atom feed
From: Andreas Dilger <adilger@dilger.ca>
To: Artem Blagodarenko <artem.blagodarenko@gmail.com>
Cc: linux-ext4@vger.kernel.org, adilger.kernel@dilger.ca,
	Alexey Lyashkov <alexey.lyashkov@hpe.com>,
	Artem Blagodarenko <artem.blagodarenko@hpe.com>
Subject: Re: [PATCH v5] e2image: add option to ignore fs errors
Date: Fri, 23 Apr 2021 10:25:18 -0600	[thread overview]
Message-ID: <4972D70F-1765-413B-971B-CE4147993B29@dilger.ca> (raw)
In-Reply-To: <20210422041347.29039-1-artem.blagodarenko@gmail.com>

On Apr 23, 2021, at 07:30, Artem Blagodarenko <artem.blagodarenko@gmail.com> wrote:
> 
> Add extended "-E ignore_error" option to be more tolerant
> to fs errors while scanning inode extents.

Not to be pedantic, but should this allow "ignore_errors", since it will
presumably ignore more than one error.  If already using "ignore_error"
in the field you could accept both for some time until able to change over,
as we've done with "ea_inode" vs. "large_xattr" in the Lustre e2fsprogs
for years. 

> Changes since preveious version:
> - rebased on top of the master

This should go after the "---" so that it isn't in the final commit message. 

> Signed-off-by: Alexey Lyashkov <alexey.lyashkov@hpe.com>
> Signed-off-by: Artem Blagodarenko <artem.blagodarenko@hpe.com>
> Cray-bug-id: LUS-1922
> Change-Id: Ib79300656726839b1d3b7ee1dd0793c60679d296
> Reviewed-by: Andreas Dilger <adilger@dilger.ca>
> ---

One typo in the man page below:

> diff --git a/misc/e2image.8.in b/misc/e2image.8.in
> index cb176f5d..45a06d3b 100644
> --- a/misc/e2image.8.in
> +++ b/misc/e2image.8.in
> @@ -137,6 +144,16 @@ useful if the file system is being cloned to a flash-based storage device
> (where reads are very fast and where it is desirable to avoid unnecessary
> writes to reduce write wear on the device).
> .TP
> +.BI \-E " extended_options"
> +Set e2iamge extended options.

"e2image"

Ted could fix this in the final commit
Cheers, Andreas

>  Extended options are comma separated, and
> +may take an argument using the equals ('=') sign.  The following options
> +are supported:
> +.RS 1.2i
> +.TP
> +.BI ignore_error
> +Grab an image from a corrupted FS and ignore fs errors.
> +.RE
> +.TP
> .B \-f
> Override the read-only requirement for the source filesystem when saving
> the image file using the

  reply	other threads:[~2021-04-23 16:25 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-04-22  4:13 [PATCH v5] e2image: add option to ignore fs errors Artem Blagodarenko
2021-04-23 16:25 ` Andreas Dilger [this message]
2021-05-20  9:25   ` Благодаренко Артём

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=4972D70F-1765-413B-971B-CE4147993B29@dilger.ca \
    --to=adilger@dilger.ca \
    --cc=adilger.kernel@dilger.ca \
    --cc=alexey.lyashkov@hpe.com \
    --cc=artem.blagodarenko@gmail.com \
    --cc=artem.blagodarenko@hpe.com \
    --cc=linux-ext4@vger.kernel.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.