Skip to content

btrfs/076: fix failure on device with small zone_append_max_bytes

Naohiro Aota fstests linux-btrfs 3 versions – New

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v3 Latest2 patches 0 repliesNew
  2. v22 patches 5 repliesSuperseded
  3. v12 patches 1 replySuperseded

Patches in v3 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2btrfs/076: support smaller extent size limittests/btrfs/076 tests/btrfs/076.out+22 -40 replies
2/2btrfs/076: use _fixed_by_kernel_commit to tell the fixing kernel committests/btrfs/076+3 -30 replies

Reviews trailers per patch

All 2 patches have a Reviewed-by or Acked-by.

PatchFilipe Manana
1/2R-b
2/2R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v3 thread

Cover letter [PATCH v3 0/2] btrfs/076: fix failure on device with small zone_append_max_bytes

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.

- v3: Use 1024s instead of "<< 10"s to represents KB or MB
- 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(-)
Signature · 1 line
2.42.0