From: Anand Jain <anand.jain@oracle.com>
To: fstests@vger.kernel.org
Cc: linux-btrfs@vger.kernel.org
Subject: [PATCH 0/4] btrfs/220: make it compatible with older kernels
Date: Fri, 13 Aug 2021 09:59:31 +0800 [thread overview]
Message-ID: <cover.1628818510.git.anand.jain@oracle.com> (raw)
I found this test case fails on older kernels such as 5.4.17 as the
patches that brought the mount options changes aren't the candidate
for the backport because of ABI compliance.
So make this test case to check if the newer options such as [1]
are supported and tests the mount options along with the expected
output in /proc/self/mounts accordingly.
[1]
mount options changes:
new old
discard=sync discard
rescue=nologreplay nologreplay
/proc/self/mounts output changes:
new old
"" clear_cache
Patch 1 improves the debug log provided by the _fail() for the
scratch_mount.
Patch 2,3,4 fixes discard, nologreplay and clear_cache, respectively
and, they are separated into the individual patch to show the diff.
These may merge at the time of integration. I am ok.
This patchset is on top of Boris's patch [2]
[2]
[PATCH] btrfs/220: fix clear_cache and inode_cache option tests
https://patchwork.kernel.org/project/fstests/patch/409e4c73fefce666d151b043d6b2a0d821f8ef85.1610485406.git.boris@bur.io/
Anand Jain (4):
rc: debug add _scratch_mount_options to the _scratch_mount
btrfs/220: discard=sync support older kernel
btrfs/220: nologreplay support older kernel
btrfs/220: clear_cache fix for older kernel
common/rc | 2 +-
tests/btrfs/220 | 59 +++++++++++++++++++++++++++++++++++++++----------
2 files changed, 48 insertions(+), 13 deletions(-)
--
2.27.0
next reply other threads:[~2021-08-13 1:59 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-08-13 1:59 Anand Jain [this message]
2021-08-13 1:59 ` [PATCH 1/4] rc: debug add _scratch_mount_options to the _scratch_mount Anand Jain
2021-08-13 1:59 ` [PATCH 2/4] btrfs/220: discard=sync support older kernel Anand Jain
2021-08-13 1:59 ` [PATCH 3/4] btrfs/220: nologreplay " Anand Jain
2021-08-13 1:59 ` [PATCH 4/4] btrfs/220: clear_cache fix for " Anand Jain
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=cover.1628818510.git.anand.jain@oracle.com \
--to=anand.jain@oracle.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