[PATCH v2 0/2] zbd: fix zone reset for file reset during asynchronous IOs

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

 



Repeated random write jobs with block size unaligned to zone size and libaio
engine trigger unaligned command errors because of zone reset during
asynchronous writes in-flight. The first patch of this series addresses the
problem by removing the zone reset. The second patch adds a new test case to
confirm the problem fix and to prevent future regression.

Changes from v1:
* Changed fix approach from waiting IO completion to removing zone reset
* Simplified the added test case not to refer sysfs

Shin'ichiro Kawasaki (2):
  zbd: avoid zone reset during asynchronous IOs in-flight
  t/zbd: test repeated async write with block size unaligned to zone
    size

 t/zbd/test-zbd-support | 18 ++++++++++++++++++
 zbd.c                  | 23 +++++++----------------
 2 files changed, 25 insertions(+), 16 deletions(-)

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