Yeah, the new wait strategy looks better. I will test the patch soon. 2014-10-29 1:09 GMT+08:00 Jens Axboe <axboe@xxxxxxxxx>: > On 2014-10-28 09:49, Ketor D wrote: >> >> Cannot get the new commited code from github now. >> When I get the newest code, I will test. > > > So here's another idea, applies on top of current -git. Basically it makes > rbd wait for the oldest event, not just the first one in the array of all > ios. This is the saner thing to do, as hopefully the oldest event will be > the one to complete first. At least it has a much higher chance of being the > right thing to do, than just waiting on a random event. > > Completely untested, so you might have to fiddle a bit with it to ensure > that it actually works... > > -- > 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