Replay of blktrace containing trims causes assert

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

 



(this note might be a repeat - notice I previously had email formatted as HTML - probably put ended up in bitbucket)

I have an issue replaying an blktrace which contains trim operations. It results in an assert failure: 
> fio: fio.h:552: fio_ro_check: Assertion `!(io_u->ddir == DDIR_WRITE && !((td)->o.td_ddir & TD_DDIR_WRITE)) && !(io_u->ddir == DDIR_TRIM && !((td)->o.td_ddir & TD_DDIR_TRIM))' 

I posted a detailed explanation and a simple patch in https://github.com/axboe/fio/issues/771, along with a pull request.  
Can someone please take a look?
Thanks
Kris Davis





[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