Received: by 2002:a05:6a10:1287:0:0:0:0 with SMTP id d7csp5691338pxv; Wed, 28 Jul 2021 17:42:49 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxEP9cPzahgmsbD69EMpqzVTUMqQwWFxAdedv4Hk0DUBXw9Bx67o+oDQ0OLggSuNBnEESb2 X-Received: by 2002:a05:6602:1814:: with SMTP id t20mr1821371ioh.204.1627519369356; Wed, 28 Jul 2021 17:42:49 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1627519369; cv=none; d=google.com; s=arc-20160816; b=QpMktuiNjJiL6WeguJ45pZFxrqYu7lat+OrduI23PZH9kZCbQdM0g8uBoum9y232pm Fk60H4/efxJt7KrHzJvQnBqJU4rTn+P5Dv7MgFpkgXqH+CKGGQ1dMGjGTd7sPII7px6U VgbynqqlABW4bsQBl0sJuR/c31sL92LHKenlkn56+dbsnK0RS5vfg2Cng1t3NshhU7Ry CvyKCF70H3W+oZGPdnKncTSJlXuRWR9h5j0D02JSD4bBRw3T01OGCo21QTRZQ0OuGa0/ flRErqACTVXujZ+Ad9MHsXz3P++CfwLx3r9bEjxI8pazKXfxdqZwpHfQQSXvfTZJnxkA X/Kw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:content-language :in-reply-to:mime-version:user-agent:date:message-id:from:references :cc:to:subject:dkim-signature; bh=uNIc7pfoGu/FJThfBBj9+RPriWv7zO4JIA2SEJzetJU=; b=nxfFA7orL0FNzfP9FS34itieU3UUqBIYaA/8zGVG1tX3bgI/X6OPIgj2ijJSUvTy8Z 0nyBdyVbmGUzmj8xVUxoP1LHA3pTE2z0jgo2Fk0o2On2zZpRZMP8jsOXNua4l3hy+8H7 0THqW/ZxDjCdxo8tdMbon155Jpw0AU5wCtJtXJY8OD0ECHJHpq7VMAXXWRPo0unpT3ux VxE/mvxlnAg6Y1rUF31lt+tfZT6Jj1h2SZySvxeDq0eO24y5VPFgv05W4SkNqhxEPo/K pHP4BBCzkypKq3L+QJjrsHYLSt7KXJSatAzqi58v/YEpEMDvLu5fypl2HtnxLqF+1lMd 6cLQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=OdyQCOsK; 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 d4si450400iow.1.2021.07.28.17.42.37; Wed, 28 Jul 2021 17:42:49 -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=OdyQCOsK; 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 S232890AbhG2Ak4 (ORCPT + 99 others); Wed, 28 Jul 2021 20:40:56 -0400 Received: from mail.kernel.org ([198.145.29.99]:46114 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232837AbhG2Ak4 (ORCPT ); Wed, 28 Jul 2021 20:40:56 -0400 Received: by mail.kernel.org (Postfix) with ESMTPSA id A843C6103B; Thu, 29 Jul 2021 00:40:52 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1627519254; bh=uNIc7pfoGu/FJThfBBj9+RPriWv7zO4JIA2SEJzetJU=; h=Subject:To:Cc:References:From:Date:In-Reply-To:From; b=OdyQCOsKhEDk9fPkieTeaxQN+hnutClJj5EUNp7HUhg8oXNR3w0AryUxZnQxWrUCv Eq66HIf/Y7hi8i2sG2U3ICf8Bpe08driDJnah557lnpQMWGVZuE+KHQ9YMFLo6iDEo 2rCgB5+H90rEHaH2pdeeM5Sv1NOv1P22K58TWFyJDHgWWGU5Jmr5TH4G+aaXDUGvi/ x1L2gA5CYtYWzK/CA5nXoOoizBq1AabMCzQKmo/AEtd3JNwSiE0PL9T6/lqYk42tZ7 JnYCmWWUokYUJ2Mntn5gPWnPe7BmRQbmv7YQNM16u1Y3fzgbourJ9MXcBulFnWN++0 ZT6jyeNs4HVSQ== Subject: Re: [f2fs-dev] [PATCH v4] f2fs: change fiemap way in printing compression chunk To: Jaegeuk Kim Cc: Daeho Jeong , linux-kernel@vger.kernel.org, linux-f2fs-devel@lists.sourceforge.net, kernel-team@android.com, Daeho Jeong , Eric Biggers References: <20210726041819.2059593-1-daeho43@gmail.com> From: Chao Yu Message-ID: <8c0d05d2-3988-a8a4-5403-1173f25b822b@kernel.org> Date: Thu, 29 Jul 2021 08:40:52 +0800 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:78.0) Gecko/20100101 Thunderbird/78.12.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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()? Thanks,