> > 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���)ߣ�