From patchwork Tue Jul 31 11:48:28 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Zheng Liu X-Patchwork-Id: 174252 Return-Path: X-Original-To: patchwork-incoming@ozlabs.org Delivered-To: patchwork-incoming@ozlabs.org Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by ozlabs.org (Postfix) with ESMTP id 03E332C0083 for ; Tue, 31 Jul 2012 21:40:54 +1000 (EST) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756042Ab2GaLkw (ORCPT ); Tue, 31 Jul 2012 07:40:52 -0400 Received: from mail-gh0-f174.google.com ([209.85.160.174]:54597 "EHLO mail-gh0-f174.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1756041Ab2GaLkv (ORCPT ); Tue, 31 Jul 2012 07:40:51 -0400 Received: by mail-gh0-f174.google.com with SMTP id r11so5889814ghr.19 for ; Tue, 31 Jul 2012 04:40:51 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:cc:subject:date:message-id:x-mailer:in-reply-to:references; bh=PWYvrxXFHB1Kxp4yJM74voVOxbS4LYgHiucoF5vAnec=; b=I/RKKMQXTw1yoaHCZOsvDjS1CFV064MEokm9his0aAFvr3qNXo9hjd71DbL3RUVB8E K84MAynq9C8ZQ561dbM3kcPIgtZG/XO2zmHS/Jrp9R3/fBgsdwAZ3SFasvns1C/thzSM /RPeDyH8XpRJ3AZ2OThn4SlWApLv2GrtrG6XnQioZMQZ9U19hlsM0OJvn89lA2y5leAQ e1NVNEdszXSpl+4lhFdthz8LoKXPPzi2B6KIidfVEN8mMhzFpwGZ37Rs3GAPneVu7n44 dNyw4Xh88/99S53H+LKsbkPdKgpYbcRg4l1FjZd8Kqw/rCIntJSfsdntzGPwg541v+Vm B/Bg== Received: by 10.66.80.193 with SMTP id t1mr31703557pax.40.1343734851173; Tue, 31 Jul 2012 04:40:51 -0700 (PDT) Received: from localhost.localdomain ([182.92.247.2]) by mx.google.com with ESMTPS id oo6sm135950pbc.22.2012.07.31.04.40.49 (version=TLSv1/SSLv3 cipher=OTHER); Tue, 31 Jul 2012 04:40:50 -0700 (PDT) From: Zheng Liu To: linux-ext4@vger.kernel.org Cc: Zheng Liu Subject: [PATCH 35/36 v4] tests: change test f_bad_disconnected_inode to support inline_data feature Date: Tue, 31 Jul 2012 19:48:28 +0800 Message-Id: <1343735309-30579-36-git-send-email-wenqing.lz@taobao.com> X-Mailer: git-send-email 1.7.4.1 In-Reply-To: <1343735309-30579-1-git-send-email-wenqing.lz@taobao.com> References: <1343735309-30579-1-git-send-email-wenqing.lz@taobao.com> Sender: linux-ext4-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-ext4@vger.kernel.org From: Zheng Liu In this test, inode flag is some random data, and when we apply inline data patch set we should need to handle it. Signed-off-by: Zheng Liu --- tests/f_bad_disconnected_inode/expect.1 | 27 ++++++++++++--------------- 1 files changed, 12 insertions(+), 15 deletions(-) diff --git a/tests/f_bad_disconnected_inode/expect.1 b/tests/f_bad_disconnected_inode/expect.1 index 11862f6..9b7f7d8 100644 --- a/tests/f_bad_disconnected_inode/expect.1 +++ b/tests/f_bad_disconnected_inode/expect.1 @@ -2,7 +2,16 @@ Pass 1: Checking inodes, blocks, and sizes Inode 1 has EXTENTS_FL flag set on filesystem without extents support. Clear? yes -Inode 15 has EXTENTS_FL flag set on filesystem without extents support. +Inode 11 has INLINE_DATA_FL flag set on filesystem without inline data support. +Clear? yes + +Inode 13 has INLINE_DATA_FL flag set on filesystem without inline data support. +Clear? yes + +Inode 14 has INLINE_DATA_FL flag set on filesystem without inline data support. +Clear? yes + +Inode 15 has INLINE_DATA_FL flag set on filesystem without inline data support. Clear? yes Inode 16 has EXTENTS_FL flag set on filesystem without extents support. @@ -15,18 +24,6 @@ Pass 3: Checking directory connectivity Pass 4: Checking reference counts Inode 2 ref count is 4, should be 3. Fix? yes -i_file_acl for inode 13 (...) is 4218798225, should be zero. -Clear? yes - -Inode 13 (...) has invalid mode (0117003). -Clear? yes - -i_file_acl for inode 14 (...) is 2892851642, should be zero. -Clear? yes - -Inode 14 (...) has invalid mode (0154247). -Clear? yes - Pass 5: Checking group summary information Block bitmap differences: -(9--19) Fix? yes @@ -37,13 +34,13 @@ Fix? yes Free blocks count wrong (79, counted=91). Fix? yes -Free inodes count wrong for group #0 (6, counted=5). +Free inodes count wrong for group #0 (4, counted=5). Fix? yes Directories count wrong for group #0 (3, counted=2). Fix? yes -Free inodes count wrong (6, counted=5). +Free inodes count wrong (4, counted=5). Fix? yes