public inbox for fstests@vger.kernel.org
 help / color / mirror / Atom feed
From: Qu Wenruo <wqu@suse.com>
To: fstests@vger.kernel.org, linux-btrfs@vger.kernel.org
Subject: [PATCH 0/3] fstests: btrfs/15[78] btrfs/14[23]: Use more accurate devid/phsyical for corruption
Date: Wed, 11 Dec 2019 18:40:26 +0800	[thread overview]
Message-ID: <20191211104029.25541-1-wqu@suse.com> (raw)

Btrfs-progs commit c501c9e3b816 ("btrfs-progs: mkfs: match devid order
to the stripe index") changed the chunk layout, making it more human
friendly for manually offset calculation.

However btrfs/14[23] btrfs/15[78] are using hard-coded devid sequence
for corruption, thus they can't stand such change and fail.

This patchset will handle such problems in patch 2 and 3, to use more
accurate helper to replace the hard-coded one.

And the first patch will address a bad _notrun messages, which is mostly
related to btrfs/14[23].

Qu Wenruo (3):
  fstests: common: Use more accurate kernel config for
    _require_fail_make_request
  fstests: btrfs/14[23]: Use proper help to get both devid and physical
    offset for corruption.
  fstests: btrfs/15[78]: Use proper helper to get both devid and
    physical offset for corruption

 common/rc           |  2 +-
 tests/btrfs/142     | 50 +++++++++++++++++++++++++++++-------------
 tests/btrfs/142.out |  2 --
 tests/btrfs/143     | 48 +++++++++++++++++++++++++++++-----------
 tests/btrfs/143.out |  2 --
 tests/btrfs/157     | 53 +++++++++++++++++++++++++++++----------------
 tests/btrfs/157.out |  4 ----
 tests/btrfs/158     | 48 +++++++++++++++++++++++++---------------
 tests/btrfs/158.out |  4 ----
 9 files changed, 136 insertions(+), 77 deletions(-)

-- 
2.23.0


             reply	other threads:[~2019-12-11 10:40 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-12-11 10:40 Qu Wenruo [this message]
2019-12-11 10:40 ` [PATCH 1/3] fstests: common: Use more accurate kernel config for _require_fail_make_request Qu Wenruo
2019-12-17 17:24   ` Filipe Manana
2019-12-11 10:40 ` [PATCH 2/3] fstests: btrfs/14[23]: Use proper help to get both devid and physical offset for corruption Qu Wenruo
2019-12-11 11:24   ` Nikolay Borisov
2019-12-17 17:30   ` Filipe Manana
2019-12-11 10:40 ` [PATCH 3/3] fstests: btrfs/15[78]: Use proper helper " Qu Wenruo
2019-12-11 11:24   ` Nikolay Borisov
2019-12-17 17:33   ` Filipe Manana

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=20191211104029.25541-1-wqu@suse.com \
    --to=wqu@suse.com \
    --cc=fstests@vger.kernel.org \
    --cc=linux-btrfs@vger.kernel.org \
    /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