RE: [PATCH 0/2] zbd: fix zone reset during asynchronous IOs

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



I was able to reproduce the failure by running the new test #57 against
a zoned SAS drive and I can confirm that applying the first patch in the
series fixes the problem. Looks good to me.

Reviewed-by: Dmitry Fomichev <dmitry.fomichev@xxxxxxx>

> -----Original Message-----
> From: Shin'ichiro Kawasaki <shinichiro.kawasaki@xxxxxxx>
> Sent: Monday, March 22, 2021 9:13 PM
> To: fio@xxxxxxxxxxxxxxx; Jens Axboe <axboe@xxxxxxxxx>
> Cc: Damien Le Moal <Damien.LeMoal@xxxxxxx>; Dmitry Fomichev
> <Dmitry.Fomichev@xxxxxxx>; Shinichiro Kawasaki
> <shinichiro.kawasaki@xxxxxxx>
> Subject: [PATCH 0/2] zbd: fix zone reset during asynchronous IOs
> 
> 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





[Index of Archives]     [Linux Kernel]     [Linux SCSI]     [Linux IDE]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux SCSI]

  Powered by Linux