Received: by 2002:a05:6a10:1287:0:0:0:0 with SMTP id d7csp6473652pxv; Thu, 29 Jul 2021 15:55:11 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxYBB2m+ZINgl0U8Yg/i4K9wkOZeK6grhT4y7Qnl7fKOkX3XEAaNwQtBiI4AKY12zBDBxN+ X-Received: by 2002:a17:906:1615:: with SMTP id m21mr6846943ejd.279.1627599311634; Thu, 29 Jul 2021 15:55:11 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1627599311; cv=none; d=google.com; s=arc-20160816; b=VdyH/tjJNofUlmche+Ey80YchE6zXB7KBlmo+YqY0J9h2q8Rj2NZAsQllCI1ZJLEvD +CUX/ugcMASCF0fjJ+QU8L20zfo6iTENpJMsA6kbZZz2wb8jJIiENblnikFVfeZjeykg nUzJ0qkPKzrJYA8qhq/XPFXoNrty7O/ONNLIS6BETtDohPIOiw7pSZPnBhTqbjYjtRY/ o6MwCMlpgcfGLINUVPzTcwje7ZmPjFZU/3uVipH0c3Ex1scLCWu5X19W37AtvI34QbYB Sn9NBzt4HQtpigOtI01x8gsGyTwZdb9hvZSlsdPilJXX94+1Veen3FgZw5Ev4HtmfMOs nu0w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=Em+StHylaptoSmhfajWHpxhtetWe2aJ9Xl/cEhtozrA=; b=gtZlvlOlDYPrR+2LRxScFGuEwgvnsu99JCyITiT07HS+jcXXaZGX2sM2xX6Tk+tG5o 2jeGYyHqaf4YxdaTB1mXXrfF87m9681rG2GDLEze/707Ti0ZjMLZNRNWTC7/qzUvJ76w GOD7QYfHJVCkkYYNp4mET86K+KDAK390RP9qETEe52IcMKURQEwHQI1ZwCjPSFajF/I3 nsIr8QNMVP87KIwtoIWsoED0ogOkZndpd+REVrONfoyQKbfHXyIaO/ky2Gf1nuY53Ymp bjGAfwBtt/TYp18b+31rVtdjJ8zCx4jDVihoRPNUJkJsDqbxLfVwA2phK+1t51ewvKGe PNtg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=IKHxuMjy; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id f23si3935222ejj.531.2021.07.29.15.54.47; Thu, 29 Jul 2021 15:55:11 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-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=@kernel.org header.s=k20201202 header.b=IKHxuMjy; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234085AbhG2WvW (ORCPT + 99 others); Thu, 29 Jul 2021 18:51:22 -0400 Received: from mail.kernel.org ([198.145.29.99]:32966 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233516AbhG2WvW (ORCPT ); Thu, 29 Jul 2021 18:51:22 -0400 Received: by mail.kernel.org (Postfix) with ESMTPSA id 450736023E; Thu, 29 Jul 2021 22:51:18 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1627599078; bh=CcoVvdaUEJ4hNSxZtFmgxQoFCn0/MeIH+Fu9CTIgsNU=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=IKHxuMjyM2ZpOaccpg6ZB98aZBJp1UM6Nfbjpj1eRXzWblrrUFZvyloRMtE4XGn2N cnU8jIcI1R9y43wuVi4i8UoCZTu8U6R65oAymG/ENh+sySgB3oyj+IFg7URi9kqphD nUoBqwQzw5vTcivqTq6/QovmmAO962Tv7aszRxJ4uRV8+MSHXJHaP9SV4qOYrezHno Gyqr3UbrYAi0wb5F5f/bMByQfKmusPCrNGoy4i+LK8H9Po+SbYFX5oNy6sutJ5CFKh 8rarVuzoc6HXiOGjZCAepMLVc3icq1bpDzaTodKzXbZhbltvfPxAPeNinaYB03aJXf OACP3vUkDmfAA== Date: Thu, 29 Jul 2021 15:51:16 -0700 From: Jaegeuk Kim To: Chao Yu Cc: Daeho Jeong , linux-kernel@vger.kernel.org, linux-f2fs-devel@lists.sourceforge.net, kernel-team@android.com, Daeho Jeong , Eric Biggers Subject: Re: [f2fs-dev] [PATCH v4] f2fs: change fiemap way in printing compression chunk Message-ID: References: <20210726041819.2059593-1-daeho43@gmail.com> <8c0d05d2-3988-a8a4-5403-1173f25b822b@kernel.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <8c0d05d2-3988-a8a4-5403-1173f25b822b@kernel.org> Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 07/29, Chao Yu wrote: > On 2021/7/28 1:17, Jaegeuk Kim wrote: > > Do we really need to catch this in fiemap? What about giving the current > > Yes, I think so. > > > layout with warning message and setting NEED_FSCK? > > Sure, > > How about doing sanity check on cluster metadata whenever it is going to > be accessed, like we did for single blkaddr with f2fs_is_valid_blkaddr()? I think that'd be viable. > > Thanks,