mbox series

[0/2] btrfs/072:

Message ID cover.1694760780.git.naohiro.aota@wdc.com (mailing list archive)
Headers show
Series btrfs/072: | expand

Message

Naohiro Aota Sept. 15, 2023, 6:57 a.m. UTC
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(-)

Comments

Naohiro Aota Sept. 15, 2023, 7:21 a.m. UTC | #1
On Fri, Sep 15, 2023 at 03:57:58PM +0900, Naohiro Aota wrote:
> 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.

Oops, I forgot to write the subject except the test case number. And, even
that test case number is wrong... I'll send v2 with proper subject lines.

> 
> 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
>