RE: [PATCH] fio: fix hangs due to iodepth_low

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

 



> > should be:
> >
> >      if (min_events > td->cur_depth)
> >          min_events = td->cur_depth;
> >
> > and we should probably put this logic in io_u_queued_complete(), I
> think
> > that would be a safer alternative instead of near the callers.

io_u_quisce, which calls io_u_queued_complete with an argument 
of 1, includes this comment:
         * and cur_depth is meaningless for sync engines.

If that is invoked during sync traffic too, then putting this
change inside io_u_queued_complete might not work right.


---
Rob Elliott    HP Server Storage





��.n��������+%������w��{.n�������^n�r������&��z�ޗ�zf���h���~����������_��+v���)ߣ�


[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