Re: [PATCH blktests 0/5] Support zone capacity

Omar Sandoval
2020-08-04T21:03:34Z

On Tue, Jul 28, 2020 at 07:14:47PM +0900, Shin'ichiro Kawasaki wrote:
> Kernel 5.9 zone descriptor interface adds the new zone capacity field defining
> the range of sectors usable within a zone. This patch series adds support for
> this new field. This series depends on recent changes in blkzone and fio to
> support zone capacity.
>
> The first patch modifies the helper function _get_blkzone_report() to obtain
> zone capacity of the test target zones. Following three patches adjust test
> cases in zbd group for zone capacity. The last patch fixes a test condition
> issue found in this work.
>
> Shin'ichiro Kawasaki (5):
> zbd/rc: Support zone capacity report by blkzone
> zbd/002: Check validity of zone capacity
> zbd/004: Check zone boundary writes using zones without zone capacity
> gap
> zbd/005: Enable zonemode=zbd when zone capacity is less than zone size
> zbd/002: Check write pointers only when zones have valid conditions
>
> tests/zbd/002 | 16 ++++++++++++++--
> tests/zbd/004 | 6 +++++-
> tests/zbd/005 | 11 ++++++++---
> tests/zbd/rc | 35 ++++++++++++++++++++++++++++++-----
> 4 files changed, 57 insertions(+), 11 deletions(-)

Thanks, applied!