[PATCH 0/2] Extend file size for 'null' and 'filecreate' ioengines

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

 



The commit ad46c5715ffc "filesetup: honor the offset option" intended to fix
a failure observed with null ioengine, but it affected all other ioengines. It
changed io_size and caused t/zbd/test-zbd-support test script failures for
zoned block devices.

This patch series suggests to replace the commit with the better fix which
affects only null ioengine and filecreate ioengine. The cause of the failure was
that fio does not extend file size even when it is smaller than io_size + offset
if null ioengine is set. This failure is observed also for filecreate ioengine.
The first patch reverts the fix affecting all ioengines. The second patch
extends file size for null ioengine and filecreate ioengine when file size is
smaller than io_size + offset.

Shin'ichiro Kawasaki (2):
  Revert "filesetup: honor the offset option"
  filesetup: Extend file size for 'null' and 'filecreate' ioengines

 filesetup.c | 12 +++++++-----
 1 file changed, 7 insertions(+), 5 deletions(-)

-- 
2.21.0




[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