All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/2] btrfs: minor bs != ps cases fixes for free space tree enforcing
@ 2025-12-18  4:45 Qu Wenruo
  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
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: Qu Wenruo @ 2025-12-18  4:45 UTC (permalink / raw)
  To: linux-btrfs

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


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2025-12-18  9:36 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-12-18  4:45 [PATCH 0/2] btrfs: minor bs != ps cases fixes for free space tree enforcing Qu Wenruo
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

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.