linux-btrfs.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Qu Wenruo <quwenruo@cn.fujitsu.com>
To: <linux-btrfs@vger.kernel.org>
Cc: <robert.munteanu@gmail.com>
Subject: [PATCH 3/3] btrfs-progs: fsck-tests: Add test case for inode lost all its file extent
Date: Wed, 5 Aug 2015 16:03:14 +0800	[thread overview]
Message-ID: <1438761794-32738-4-git-send-email-quwenruo@cn.fujitsu.com> (raw)
In-Reply-To: <1438761794-32738-1-git-send-email-quwenruo@cn.fujitsu.com>

Add test case with no file extents, but still non-zero inode size.
To test whether fsck will infinite loop.

Signed-off-by: Qu Wenruo <quwenruo@cn.fujitsu.com>
---
 .../017-missing-all-file-extent/default_case.img.xz      | Bin 0 -> 1104 bytes
 1 file changed, 0 insertions(+), 0 deletions(-)
 create mode 100644 tests/fsck-tests/017-missing-all-file-extent/default_case.img.xz

diff --git a/tests/fsck-tests/017-missing-all-file-extent/default_case.img.xz b/tests/fsck-tests/017-missing-all-file-extent/default_case.img.xz
new file mode 100644
index 0000000000000000000000000000000000000000..10cd4c786e1223d1d00eaeab81941b142135d97c
GIT binary patch
literal 1104
zcmV-W1h4!3H+ooF000E$*0e?f03iVu0001VFXf})lm7${T>wRyj;C3^v%$$4d1rE0
zjjaER49m*J$Ny#wkkW^{#)(qVu6jW@U&${Z!$pUxwR_2<M^&H7KU2hve~sxWXa?I<
z%Nm>WQokys>I=scC%OAq$m&Z!a?Xa@3%R}h@8vWy-xl~qOuWtRg-R5!%XR;99;~oq
zdk{P`R>yx4e(-g_fYI=#ZDobJ@0`2Gi5Z==2t%tsj$0@PK$0}7L`88Br(*1nkpN>K
z_XxR>VtghToWQcwSZMnTkBh=v`!_jtFZnBcHm1>wf5wOm9i*QuB{`*iwt$@={jV)*
z%}T2!cPnR{zgSI}F-k1(>|ItD#YU*lQ5caPRu;$454g#EI<MlP+@`=aT*A@LADD7u
zk@V7c2kM}eBPO^Qu;ANX4!roj9d3LYnAteNtD<3soCJnDoNp54HZ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read overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-08-05  8:03 [PATCH 0/3] Fix for infinite loop on non-empty inode but with no file extent Qu Wenruo
2015-08-05  8:03 ` [PATCH 1/3] btrfs-progs: fsck: Print correct file hole Qu Wenruo
2015-08-05  8:03 ` [PATCH 2/3] btrfs-progs: fsck: Fix a infinite loop on discount file extent repair Qu Wenruo
2015-08-05  8:03 ` Qu Wenruo [this message]
2015-08-05 16:40 ` [PATCH 0/3] Fix for infinite loop on non-empty inode but with no file extent David Sterba
2015-08-07 13:05   ` Robert Munteanu
2015-08-07 14:00     ` David Sterba
2015-08-07 14:17       ` Robert Munteanu
2015-08-07 14:19         ` David Sterba
2015-08-07 14:23           ` Robert Munteanu

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1438761794-32738-4-git-send-email-quwenruo@cn.fujitsu.com \
    --to=quwenruo@cn.fujitsu.com \
    --cc=linux-btrfs@vger.kernel.org \
    --cc=robert.munteanu@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).