From: Chandan Rajendra <chandan@linux.vnet.ibm.com>
To: fstests@vger.kernel.org
Cc: Chandan Rajendra <chandan@linux.vnet.ibm.com>,
linux-btrfs@vger.kernel.org, fdmanana@gmail.com,
chandan@mykolab.com
Subject: [PATCH 00/12] Fix Btrfs tests to work on non-4k block sized fs instances
Date: Wed, 25 Nov 2015 16:32:54 +0530 [thread overview]
Message-ID: <1448449386-4186-1-git-send-email-chandan@linux.vnet.ibm.com> (raw)
This patchset fixes Btrfs tests to work on variable block size. This
is based off the RFC patch sent during March of this year
(https://www.marc.info/?l=linux-btrfs&m=142736088310300&w=2).
Currently, some of the tests are written with the assumption that 4k
is the block size of the filesystem instance. On architectures
(e.g. ppc64) with a larger page size (and hence larger block size),
these tests fail because the block bondaries assumed by the the tests
are no longer true and hence btrfs_ioctl_clone() (which requires a
block aligned file offset range) returns -EINVAL.
To fix the issue, This patchset adds three new filter functions:
1. _filter_xfs_io_blocks_modified
2. _filter_xfs_io_pages_modified
3. _filter_od
P.S: Since the changes made are trivial, I could have clubbed all the
patches into two patches. First patch introducing the new filtering
functions and the second patch containing the changes to made to the
tests. If this approach sounds right, I can post version V2 with the
two patches containing the relevant changes.
Chandan Rajendra (12):
Filter xfs_io and od's output in units of FS block size and the CPU's
page size
Fix btrfs/017 to work on non-4k block sized filesystems
Fix btrfs/052 to work on non-4k block sized filesystems
Fix btrfs/055 to work on non-4k block sized filesystems
Fix btrfs/056 to work on non-4k block sized filesystems
Fix btrfs/094 to work on non-4k block sized filesystems
Fix btrfs/095 to work on non-4k block sized filesystems
Fix btrfs/096 to work on non-4k block sized filesystems
Fix btrfs/097 to work on non-4k block sized filesystems
Fix btrfs/098 to work on non-4k block sized filesystems
Fix btrfs/103 to work on non-4k block sized filesystems
Fix btrfs/106 to work on non-4k block sized filesystems
common/filter | 52 +++++
common/rc | 5 +
tests/btrfs/017 | 16 +-
tests/btrfs/017.out | 3 +-
tests/btrfs/052 | 127 +++++++-----
tests/btrfs/052.out | 546 +++++++++++++++++++++++-----------------------------
tests/btrfs/055 | 128 +++++++-----
tests/btrfs/055.out | 378 ++++++++++++++++++------------------
tests/btrfs/056 | 51 +++--
tests/btrfs/056.out | 152 ++++++---------
tests/btrfs/094 | 78 +++++---
tests/btrfs/094.out | 17 +-
tests/btrfs/095 | 113 ++++++-----
tests/btrfs/095.out | 10 +-
tests/btrfs/096 | 45 +++--
tests/btrfs/096.out | 15 +-
tests/btrfs/097 | 42 ++--
tests/btrfs/097.out | 7 +-
tests/btrfs/098 | 65 ++++---
tests/btrfs/098.out | 7 +-
tests/btrfs/103 | 47 +++--
tests/btrfs/103.out | 48 ++---
tests/btrfs/106 | 42 ++--
tests/btrfs/106.out | 14 +-
24 files changed, 1018 insertions(+), 990 deletions(-)
--
2.1.0
next reply other threads:[~2015-11-25 11:04 UTC|newest]
Thread overview: 17+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-11-25 11:02 Chandan Rajendra [this message]
2015-11-25 11:02 ` [PATCH 01/12] Filter xfs_io and od's output in units of FS block size and the CPU's page size Chandan Rajendra
2015-11-25 11:02 ` [PATCH 02/12] Fix btrfs/017 to work on non-4k block sized filesystems Chandan Rajendra
2015-11-25 11:02 ` [PATCH 03/12] Fix btrfs/052 " Chandan Rajendra
2015-11-25 11:02 ` [PATCH 04/12] Fix btrfs/055 " Chandan Rajendra
2015-11-25 11:02 ` [PATCH 05/12] Fix btrfs/056 " Chandan Rajendra
2015-11-25 11:03 ` [PATCH 06/12] Fix btrfs/094 " Chandan Rajendra
2015-11-25 11:11 ` Filipe Manana
2015-11-25 11:47 ` Chandan Rajendra
2015-11-25 11:51 ` Filipe Manana
2015-11-25 12:03 ` Chandan Rajendra
2015-11-25 11:03 ` [PATCH 07/12] Fix btrfs/095 " Chandan Rajendra
2015-11-25 11:03 ` [PATCH 08/12] Fix btrfs/096 " Chandan Rajendra
2015-11-25 11:03 ` [PATCH 09/12] Fix btrfs/097 " Chandan Rajendra
2015-11-25 11:03 ` [PATCH 10/12] Fix btrfs/098 " Chandan Rajendra
2015-11-25 11:03 ` [PATCH 11/12] Fix btrfs/103 " Chandan Rajendra
2015-11-25 11:03 ` [PATCH 12/12] Fix btrfs/106 " Chandan Rajendra
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=1448449386-4186-1-git-send-email-chandan@linux.vnet.ibm.com \
--to=chandan@linux.vnet.ibm.com \
--cc=chandan@mykolab.com \
--cc=fdmanana@gmail.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