All of lore.kernel.org
 help / color / mirror / Atom feed
* Replay of blktrace containing trims causes assert
       [not found] <DM6PR04MB46979AAC86FAAEF22257B2A2810F0@DM6PR04MB4697.namprd04.prod.outlook.com>
@ 2019-05-16 14:59 ` Kris Davis
  0 siblings, 0 replies; only message in thread
From: Kris Davis @ 2019-05-16 14:59 UTC (permalink / raw)
  To: fio

(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



^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2019-05-16 14:59 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <DM6PR04MB46979AAC86FAAEF22257B2A2810F0@DM6PR04MB4697.namprd04.prod.outlook.com>
2019-05-16 14:59 ` Replay of blktrace containing trims causes assert Kris Davis

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.