I just found the aio_get_return and aio_release bug, then you fix it. So fast! But the test looks bad. The write bytes is always zero.......... 2014-10-27 23:25 GMT+08:00 Jens Axboe <axboe@xxxxxxxxx>: > On 10/27/2014 09:22 AM, Jens Axboe wrote: >> On 10/27/2014 09:12 AM, Ketor D wrote: >>> The v5 patch does not work. >>> >>> Run 5 times: >>> 3 times SEGSV >>> 2 times NO IOPS, Endless loop >> >> Try this one, perhaps it's the wrong type passed for release. Typedefs >> for the win (or not). >> >> This also fixes comp leaks, if the read/write/sync fails. > > The get_return was wrong too, here's -v7... > > -- > Jens Axboe > -- To unsubscribe from this list: send the line "unsubscribe fio" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html