Re: number_ios is checked on completion, not submission

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

 



On 03/11/2014 10:08 AM, Elliott, Robert (Server Storage) wrote:
That patch still exits after 5127 ios.

io_bytes_exceeded is called 5128 times, but it sees td->io_u_queued=0 each time.

Can you check if ->cur_depth or ->io_u_in_flight catches it?

keep_running makes it to the if (td->o.number_ios) branch one time, and sees number_ios set to 5127  and td->o.number_ios set to 5000 (causing it to return 0 and trigger the end, after 5127 ios).

That's expected. That just controls the outer loop, we want to catch it in both places.

--
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




[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