Linux Btrfs filesystem development
 help / color / mirror / Atom feed
* [PATCH 0/2] btrfs/072:
@ 2023-09-15  6:57 Naohiro Aota
  2023-09-15  6:57 ` [PATCH 1/2] btrfs/072: support smaller extent size limit Naohiro Aota
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: Naohiro Aota @ 2023-09-15  6:57 UTC (permalink / raw)
  To: fstests; +Cc: linux-btrfs, Naohiro Aota

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.

Naohiro Aota (2):
  btrfs/072: support smaller extent size limit
  btrfs/072: 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


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

end of thread, other threads:[~2023-09-15  7:21 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-09-15  6:57 [PATCH 0/2] btrfs/072: Naohiro Aota
2023-09-15  6:57 ` [PATCH 1/2] btrfs/072: support smaller extent size limit Naohiro Aota
2023-09-15  6:58 ` [PATCH 2/2] btrfs/072: use _fixed_by_kernel_commit to tell the fixing kernel commit Naohiro Aota
2023-09-15  7:21 ` [PATCH 0/2] btrfs/072: Naohiro Aota

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox