From: Qu Wenruo <wqu@suse.com>
To: linux-btrfs@vger.kernel.org
Subject: [PATCH 0/2] btrfs: minor bs != ps cases fixes for free space tree enforcing
Date: Thu, 18 Dec 2025 15:15:27 +1030 [thread overview]
Message-ID: <cover.1766032843.git.wqu@suse.com> (raw)
I'm update btrfs/131 to remove the v1 cache usage since v1 cache is
already marked deprecated.
With that update, I can run the test on bs < ps and bs > ps cases, the
formal failed due to the following reason:
- Free space cache is always enforced for bs < ps case
Even if 'nospace_cache' mount option is provided.
This is fixed by the first patch
And during tests I also exposed a minor problem for bs > ps cases:
- v1 cache mount is rejected for bs > ps cases
That's because we lack the automatic free space tree enforcing for
bs > ps cases.
This is fixed by the second patch.
Qu Wenruo (2):
btrfs: only enforce free space tree if v1 cache is required for bs <
ps cases
btrfs: forcing free space tree for bs > ps cases
fs/btrfs/super.c | 12 +++++-------
1 file changed, 5 insertions(+), 7 deletions(-)
--
2.52.0
next reply other threads:[~2025-12-18 4:45 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-12-18 4:45 Qu Wenruo [this message]
2025-12-18 4:45 ` [PATCH 1/2] btrfs: only enforce free space tree if v1 cache is required for bs < ps cases Qu Wenruo
2025-12-18 4:45 ` [PATCH 2/2] btrfs: forcing free space tree for bs > " Qu Wenruo
2025-12-18 9:36 ` [PATCH 0/2] btrfs: minor bs != ps cases fixes for free space tree enforcing 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.1766032843.git.wqu@suse.com \
--to=wqu@suse.com \
--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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.