From: Naohiro Aota <naohiro.aota@wdc.com>
To: fstests@vger.kernel.org
Cc: linux-btrfs@vger.kernel.org, Naohiro Aota <naohiro.aota@wdc.com>
Subject: [PATCH v2 0/2] btrfs/076: fix failure on device with small zone_append_max_bytes
Date: Fri, 15 Sep 2023 16:25:09 +0900 [thread overview]
Message-ID: <cover.1694762532.git.naohiro.aota@wdc.com> (raw)
Running btrfs/072 on a zoned null_blk device fails with a mismatch of the
number of extents. That mismatch happens because the max size of extent is
limited by not only BTRFS_MAX_UNCOMPRESSED, but also zone_append_max_bytes
on the zoned mode.
Fix the issue by calculating the expected number of extents instead of
hard-coding it in the output file.
Also, use _fixed_by_kernel_commit to rewrite the fixing commit indication
in the comment.
- v2: Only fixed the subject lines
Naohiro Aota (2):
btrfs/076: support smaller extent size limit
btrfs/076: use _fixed_by_kernel_commit to tell the fixing kernel
commit
tests/btrfs/076 | 29 ++++++++++++++++++++++++-----
tests/btrfs/076.out | 3 +--
2 files changed, 25 insertions(+), 7 deletions(-)
--
2.42.0
next reply other threads:[~2023-09-15 7:25 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-09-15 7:25 Naohiro Aota [this message]
2023-09-15 7:25 ` [PATCH v2 1/2] btrfs/076: support smaller extent size limit Naohiro Aota
2023-09-15 9:16 ` Filipe Manana
2023-09-21 7:41 ` Naohiro Aota
2023-09-21 17:09 ` Zorro Lang
2023-09-22 0:04 ` Naohiro Aota
2023-09-15 7:25 ` [PATCH v2 2/2] btrfs/076: use _fixed_by_kernel_commit to tell the fixing kernel commit Naohiro Aota
2023-09-15 9:17 ` 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=cover.1694762532.git.naohiro.aota@wdc.com \
--to=naohiro.aota@wdc.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;
as well as URLs for NNTP newsgroup(s).