Received: by 2002:a05:6a10:206:0:0:0:0 with SMTP id 6csp2903903pxj; Mon, 14 Jun 2021 09:42:45 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxZyvr6uROnlOu4qt/Lp4XhWKuz3IPUwTOuRL2kMXsA9NsJwyEn9pU9yozUGrbLA/ve9TKI X-Received: by 2002:a05:6402:2805:: with SMTP id h5mr18656641ede.379.1623688965723; Mon, 14 Jun 2021 09:42:45 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1623688965; cv=none; d=google.com; s=arc-20160816; b=u9DDE9B2Gj2Ujj3Nzb4oi0dIk9p5Z7Tx1lBNE5EdClNLuAdMVkLGuiVmcF8sMYDu8A LEctyV3x1R+vbnscvt7QMzuxHwtK5ukK+fDgJQsMDmxY5od0rFL3r/62yzJwDUBYoRsI zGEuKWcjfzBDH4xAI/4434XAzAKbY3ZFPyyjKOk5RDnzAwdrHCWVyzHaZn9NnOLMzcQv Yx03k1AotgleIqLuwjVhHlWpoohjUzXQQpEcZtDT/D0p7BC5hGCCvvCpBcjSC9KLiKy7 k6kkFlNp+N1QQoFBhpu7i24vIBA0pxZlD2UwAZAdFTWY6W1bL+ugKwYOGWyLoKizQQRw Q09w== 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=DKpk//O7Cn6jXyxKcgNv+zFppPVhkU7jH4HZKy2O0Yk=; b=R8ShgAUAfeCUKrFa7Na0k2YSgkWxylTVizzTNDzXfrX84BuTvgKShLy+y/rXOz3b0l V0x/1iKE7+hxdkoFdv2aIA3N8T8QqNemLgrgBmKSxraRByk+jIy8PjUe0RuKdE2Wkfiy F/xZHsv2S5fabWYyA1+y3u1i5W6ILv5wqA+aiaNjIgG/7rjGUa5CQtb0h4Ot6JS5qav3 mTSLdEJVkQLIy/rYp6NchHxoPJ666v8rZg8zAZY4WNpCVX+4H8kL99grCZaYbM3DBDzG ut8e3N4nvTkGlZeZCbUaSIuB3YPuBx2BpBQ4oiYXhAbYTcmzeFR4vRLJEZhTGjncW94J kdDw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=UepY0NsR; 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; 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 yh12si10855843ejb.237.2021.06.14.09.42.17; Mon, 14 Jun 2021 09:42:45 -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=@kernel.org header.s=k20201202 header.b=UepY0NsR; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S235394AbhFNQn3 (ORCPT + 99 others); Mon, 14 Jun 2021 12:43:29 -0400 Received: from mail.kernel.org ([198.145.29.99]:45164 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235538AbhFNQnA (ORCPT ); Mon, 14 Jun 2021 12:43:00 -0400 Received: by mail.kernel.org (Postfix) with ESMTPSA id 06CD161078; Mon, 14 Jun 2021 16:40:57 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1623688857; bh=+zFjYf1H+0XwZaDz4ckQ0PILBfQwwW7rEibV77nNug8=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=UepY0NsRt0ovL+8Px+H2/QJd8fNLoqrjyL6QGBEzRyLS2Y5X2e/tDrsU3GRaG4yLT UIrHzsx5+uh3H/HgIe0HS++UwAdnmBSMJEZwblW6EUOSPytVMVBfTfeyuMSN/q+HvC fjuf7d7oCMNQmYKRUwadOb5W7qlx0JUTF+lEDa1GdIa+DRL+GiKVtsIUfsCDw0amCm ygDbpP6LHZjwCVdSJZkDBdJxIALQf7V5IIBS6GHIMyZSPR/RGN21VfmYpAnHy0gcIL fDV7iHMNVNCTA6aRSUOgonFb1OHSut8qpQn6/OfPa23Am3fBrdgGVblW8K5T+fFj9a O5MG7QAAi90Ig== Date: Mon, 14 Jun 2021 09:40:56 -0700 From: "Darrick J. Wong" To: Ritesh Harjani Cc: fstests@vger.kernel.org, linux-ext4@vger.kernel.org Subject: Re: [PATCH 2/9] ext4/027: Correct the right code of block and inode bitmap Message-ID: <20210614164056.GA2945720@locust> References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: Precedence: bulk List-ID: X-Mailing-List: linux-ext4@vger.kernel.org On Mon, Jun 14, 2021 at 11:58:06AM +0530, Ritesh Harjani wrote: > Observed occasional failure of this test sometimes say with 64k config > and small device size. Reason is we were grepping for wrong values for > inode and block bitmap. > > Correct those values according to [1] to fix this test. > > [1]: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/tree/fs/ext4/fsmap.h#n53 > > Signed-off-by: Ritesh Harjani > --- > tests/ext4/027 | 4 ++-- > 1 file changed, 2 insertions(+), 2 deletions(-) > > diff --git a/tests/ext4/027 b/tests/ext4/027 > index 97c14cf5..83d5a413 100755 > --- a/tests/ext4/027 > +++ b/tests/ext4/027 > @@ -45,11 +45,11 @@ x=$(grep -c 'static fs metadata' $TEST_DIR/fsmap) > test $x -gt 0 || echo "No fs metadata?" > > echo "Check block bitmap" | tee -a $seqres.full > -x=$(grep -c 'special 102:1' $TEST_DIR/fsmap) > +x=$(grep -c 'special 102:3' $TEST_DIR/fsmap) > test $x -gt 0 || echo "No block bitmaps?" > > echo "Check inode bitmap" | tee -a $seqres.full > -x=$(grep -c 'special 102:2' $TEST_DIR/fsmap) > +x=$(grep -c 'special 102:4' $TEST_DIR/fsmap) Maaaaybe I should have added textual descriptions for the ext4 getfsmap owners. Sorry... :( Reviewed-by: Darrick J. Wong --D > test $x -gt 0 || echo "No inode bitmaps?" > > echo "Check inodes" | tee -a $seqres.full > -- > 2.31.1 >