From: Mark Harmstone <maharmstone@meta.com>
To: Qu Wenruo <wqu@suse.com>,
"linux-btrfs@vger.kernel.org" <linux-btrfs@vger.kernel.org>
Subject: Re: [PATCH 00/12] btrfs: remap tree
Date: Wed, 11 Jun 2025 08:06:38 +0000 [thread overview]
Message-ID: <fe02c731-104f-444b-a923-e4c380f83b97@meta.com> (raw)
In-Reply-To: <7a58ebec-17e1-4070-a80d-3828f639c5f1@suse.com>
Thanks Qu.
On 11/6/25 00:56, Qu Wenruo wrote:
> 在 2025/6/11 00:01, Mark Harmstone 写道:
>> On 5/6/25 17:23, Mark Harmstone wrote:
>>> * Some test failures: btrfs/156, btrfs/170, btrfs/226, btrfs/250
>>
>> These all turned out to be spurious.
>>
>> btrfs/226 is broken for me on the btrfs/for-next branch that I based
>> these on (254ae2606b258a63b5063bed03bb4cf87a688502)
>
> You may need to update fstests, as a recent kernel change requires
> nodatasum for NOWAIT.
>
> And fstest commit 7e92cb991b0b ("fstests: btrfs/226: use nodatasum mount
> option to prevent false alerts") updated the test case to handle the
> kernel change.
Makes sense, thank you.
>> btrfs/156, btrfs/170, and btrfs/250 all involve creating small
>> filesystems, which are then ENOSPCing because of the extra REMAP chunk.
>
> I do not have a good idea how to handle those cases.
>
> E.g, the test case btrfs/156 is creating a 1G fs, although small it
> should still be fine for most cases.
>
> If even a single 32MiB remap chunk is causing ENOSPC, it may indicate
> more ENOSPC in the real world.
Probably 8MB actually, as IIRC that's the chunk size that mkfs uses for
everything. It'd be 32MB the second and subsequent times round.
I'll investigate the tests properly, but I'm fairly sure they're not
diagnosing a problem with this particular patchset.
Mark
next prev parent reply other threads:[~2025-06-11 8:06 UTC|newest]
Thread overview: 39+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-06-05 16:23 [PATCH 00/12] btrfs: remap tree Mark Harmstone
2025-06-05 16:23 ` [PATCH 01/12] btrfs: add definitions and constants for remap-tree Mark Harmstone
2025-06-13 21:02 ` Boris Burkov
2025-06-05 16:23 ` [PATCH 02/12] btrfs: add REMAP chunk type Mark Harmstone
2025-06-13 21:22 ` Boris Burkov
2025-06-05 16:23 ` [PATCH 03/12] btrfs: allow remapped chunks to have zero stripes Mark Harmstone
2025-06-13 21:41 ` Boris Burkov
2025-08-08 14:12 ` Mark Harmstone
2025-06-05 16:23 ` [PATCH 04/12] btrfs: remove remapped block groups from the free-space tree Mark Harmstone
2025-06-06 6:41 ` kernel test robot
2025-06-13 22:00 ` Boris Burkov
2025-08-12 14:50 ` Mark Harmstone
2025-06-05 16:23 ` [PATCH 05/12] btrfs: don't add metadata items for the remap tree to the extent tree Mark Harmstone
2025-06-13 22:39 ` Boris Burkov
2025-06-05 16:23 ` [PATCH 06/12] btrfs: add extended version of struct block_group_item Mark Harmstone
2025-06-05 16:23 ` [PATCH 07/12] btrfs: allow mounting filesystems with remap-tree incompat flag Mark Harmstone
2025-06-05 16:23 ` [PATCH 08/12] btrfs: redirect I/O for remapped block groups Mark Harmstone
2025-06-05 16:23 ` [PATCH 09/12] btrfs: handle deletions from remapped block group Mark Harmstone
2025-06-13 23:42 ` Boris Burkov
2025-08-11 16:48 ` Mark Harmstone
2025-08-11 16:59 ` Mark Harmstone
2025-06-05 16:23 ` [PATCH 10/12] btrfs: handle setting up relocation of block group with remap-tree Mark Harmstone
2025-06-13 23:25 ` Boris Burkov
2025-08-12 11:20 ` Mark Harmstone
2025-06-05 16:23 ` [PATCH 11/12] btrfs: move existing remaps before relocating block group Mark Harmstone
2025-06-06 11:20 ` kernel test robot
2025-06-05 16:23 ` [PATCH 12/12] btrfs: replace identity maps with actual remaps when doing relocations Mark Harmstone
2025-06-05 16:43 ` [PATCH 00/12] btrfs: remap tree Jonah Sabean
2025-06-06 13:35 ` Mark Harmstone
2025-06-09 16:05 ` Anand Jain
2025-06-09 18:51 ` David Sterba
2025-06-10 9:19 ` Mark Harmstone
2025-06-10 14:31 ` Mark Harmstone
2025-06-10 23:56 ` Qu Wenruo
2025-06-11 8:06 ` Mark Harmstone [this message]
2025-06-11 15:28 ` Mark Harmstone
2025-06-14 0:04 ` Boris Burkov
2025-06-26 22:10 ` Mark Harmstone
2025-06-27 5:59 ` Neal Gompa
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=fe02c731-104f-444b-a923-e4c380f83b97@meta.com \
--to=maharmstone@meta.com \
--cc=linux-btrfs@vger.kernel.org \
--cc=wqu@suse.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