Received: by 2002:a05:6a10:a841:0:0:0:0 with SMTP id d1csp1500149pxy; Fri, 23 Apr 2021 09:26:08 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxZqEam8WFFyFs6BHD+DpMsPdjgMNaR2+m7ERaMWMl9vA8rXTxER56WJ2rFwk/SzYvTCPZZ X-Received: by 2002:a17:907:3ac1:: with SMTP id fi1mr5099880ejc.139.1619195168524; Fri, 23 Apr 2021 09:26:08 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1619195168; cv=none; d=google.com; s=arc-20160816; b=PXQgagDDIJO60afUi7LsGymCXIO9NGIlrQu9YurqOsqAHhJ7gjHelJyHQM0+mZo1NO wG9jTHLBBf+XLpdS1e8pYCunFrmrAfH3YC4LcLRXxe/L4Kuu/NM5p82LxUuW4GWrUr/D wOKT/t5Wzvb9Wq0xwyQAf8flxee1+ROE6sBGTz87R5+kJgbgiZUtE/SLgkEqHDVPOD8L Yo1VZjy5Aq1vLKG7Nl7dGb6n6Afri+uaJHeMRfeN6bFwOectLZQPXHAnme4mLS2FW1M9 BTGlcPKaGDiGtFdj9ReQnGhviOuJaTTqNqOfB9UDBfPc/M6EnEYIQswAk40bc3ML941A 26KQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:to:in-reply-to:cc:references:message-id:date :subject:mime-version:from:content-transfer-encoding:dkim-signature; bh=l5shYdOOg+HaRXRxiJmJ8WpE/eLFvCF+x7VDepDHWoU=; b=zvK5pJTJ71oD9wZcCokVUIL9EceqkmJIyLbaSxbCeLgskeJpHDWb4JPb3KuJOsxMN6 vNctrInbWXYQVIevyb77AkjOaFiuCZ2gtAitPbbInQJajwBKOmhYcEBvllC1Cxg/toQE 3I5Q+ekQnNRkdY3n5r1bDudx7Z6vEc7IcaE4lD3B6GbpvHgxZUCcDQJFcjGorl42ZEGB HLUnPbDdf5zgWgte4bSz7KrFgcl7NYtnZQHjEBKWI2z4scyEoDWZv0c49Ri2rOETuDKJ Ddga3RV9g/fnM02t7uFGhA5NY2NQWhgD7hQmLAIY9AEYy2SzzDra/J3TPH7V3r6M6EcZ EvBg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@dilger-ca.20150623.gappssmtp.com header.s=20150623 header.b=1HHSFuHB; spf=pass (google.com: domain of linux-ext4-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-ext4-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id f20si5176996edq.101.2021.04.23.09.25.40; Fri, 23 Apr 2021 09:26:08 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-ext4-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@dilger-ca.20150623.gappssmtp.com header.s=20150623 header.b=1HHSFuHB; spf=pass (google.com: domain of linux-ext4-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-ext4-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229549AbhDWQZ5 (ORCPT + 99 others); Fri, 23 Apr 2021 12:25:57 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:39940 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229456AbhDWQZ5 (ORCPT ); Fri, 23 Apr 2021 12:25:57 -0400 Received: from mail-pf1-x42c.google.com (mail-pf1-x42c.google.com [IPv6:2607:f8b0:4864:20::42c]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 8ACE4C061574 for ; Fri, 23 Apr 2021 09:25:20 -0700 (PDT) Received: by mail-pf1-x42c.google.com with SMTP id c17so34414829pfn.6 for ; Fri, 23 Apr 2021 09:25:20 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=dilger-ca.20150623.gappssmtp.com; s=20150623; h=content-transfer-encoding:from:mime-version:subject:date:message-id :references:cc:in-reply-to:to; bh=l5shYdOOg+HaRXRxiJmJ8WpE/eLFvCF+x7VDepDHWoU=; b=1HHSFuHB8bbZiR7vyn9Yu/do2J+dKcymuAO7HG9adSnkwZCjnXLmDq0w4dTt0NVlMp Z4qG3INNBzWQqFtqwJmw0OHcMejJADYZ8rov7pFiz3rjaYIhJX/V2bINPm2t3axkiBju IgldRK3T/PScdkGCeTjNn1TFs56qWfKD63grRB/DVFMMl5pDPymS3Dg6wMzcxFEqt/7s 5A7Wq88dkZ6T1L0CyXTHaWtDIs1sncGqt9oYUD6BX0fK+M+IwwnJNhEOWfJ75BhhqGiZ xTHulZAmaDbc8KHLfmRXc8eChTAb964wrqzsBW98Xd4HahFrY4qw/MBxIOq+I/+XPB8e gW/A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:content-transfer-encoding:from:mime-version :subject:date:message-id:references:cc:in-reply-to:to; bh=l5shYdOOg+HaRXRxiJmJ8WpE/eLFvCF+x7VDepDHWoU=; b=MjJbsMbOHB1uDDudcVwDNAh6BdD9bATsh7wUKxUQLW2fFC95sE3pwmbCWaYVpfwjVE cHBPsVDXNK4GCPwOZTaMRi8gMpdard4S/BZq+qIs0lMQ5bKver04xzALGaLvRoBt05P/ H/0jFhLzoKf32/iKZDon8A5E9F86sjnwYETFpsIQlA+vzE8u6E/nqyxbbIyWjrjuAnKc BSrrgJlBku9kGJ8yuGMTPn3SDdSI142v0gHRc9pHm9ATLHiZEaOP7gJJBbr/fpMVgj6A IEgGuLcvsAyQNHPjAApAq2lW0AGLwBvneL8Yzlt5BUyHZdPmY8GxOAVDzWlXKqS1l+6Q VE3A== X-Gm-Message-State: AOAM532sBUzIM5f7HiPO0PyhH7VgkPLgZeQMu3XW+SILRGvfmc3LcTtA Vtgf0UwGTtQqloPOnhe2dPgqIg== X-Received: by 2002:aa7:9497:0:b029:262:abda:5a9b with SMTP id z23-20020aa794970000b0290262abda5a9bmr4628026pfk.46.1619195119839; Fri, 23 Apr 2021 09:25:19 -0700 (PDT) Received: from [192.168.10.175] (S01061cabc081bf83.cg.shawcable.net. [70.77.221.9]) by smtp.gmail.com with ESMTPSA id a65sm5156815pfb.116.2021.04.23.09.25.19 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Fri, 23 Apr 2021 09:25:19 -0700 (PDT) Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable From: Andreas Dilger Mime-Version: 1.0 (1.0) Subject: Re: [PATCH v5] e2image: add option to ignore fs errors Date: Fri, 23 Apr 2021 10:25:18 -0600 Message-Id: <4972D70F-1765-413B-971B-CE4147993B29@dilger.ca> References: <20210422041347.29039-1-artem.blagodarenko@gmail.com> Cc: linux-ext4@vger.kernel.org, adilger.kernel@dilger.ca, Alexey Lyashkov , Artem Blagodarenko In-Reply-To: <20210422041347.29039-1-artem.blagodarenko@gmail.com> To: Artem Blagodarenko X-Mailer: iPhone Mail (18D70) Precedence: bulk List-ID: X-Mailing-List: linux-ext4@vger.kernel.org On Apr 23, 2021, at 07:30, Artem Blagodarenko = wrote: >=20 > =EF=BB=BFAdd 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.=20 > 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.= =20 > Signed-off-by: Alexey Lyashkov > Signed-off-by: Artem Blagodarenko > Cray-bug-id: LUS-1922 > Change-Id: Ib79300656726839b1d3b7ee1dd0793c60679d296 > Reviewed-by: Andreas Dilger > --- 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 ('=3D') sign. The following option= s > +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