Repeated random write jobs to zones with libaio engine trigger unaligned command errors because of zone resets for file reset during asynchronous writes in- flight. The first patch of this series addresses the problem by waiting the asynchronous IOs to complete before zone reset. The second patch adds a new test case to confirm the problem fix and to prevent future regression. Shin'ichiro Kawasaki (2): zbd: avoid zone reset for file reset during asynchronous IOs in-flight t/zbd: test repeated async write to sequential write required zones t/zbd/functions | 12 ++++++++++++ t/zbd/test-zbd-support | 18 ++++++++++++++++++ zbd.c | 7 +++++++ 3 files changed, 37 insertions(+) -- 2.29.2