On 6/3/21 6:53 AM, Hao Xu wrote: > Hi Jens, > I've a question about poll_multi_file in io_do_iopoll(). > It keeps spinning in f_op->iopoll() if poll_multi_file is > true (and we're under the requested amount). But in my > understanding, reqs may be in different hardware queues > for blk-mq device even in this situation. > Should we consider the hardware queue number as well? Some > thing like below: That looks reasonable to me - do you have any performance numbers to go with it? -- Jens Axboe