Re: [PATCH v2 2/3] vdpa_sim_blk: limit the number of request handled per batch

2022-07-04 Thread Jason Wang
On Thu, Jun 30, 2022 at 11:32 PM Stefano Garzarella wrote: > > Limit the number of requests (4 per queue as for vdpa_sim_net) handled > in a batch to prevent the worker from using the CPU for too long. > > Suggested-by: Eugenio Pérez > Signed-off-by: Stefano Garzarella Acked-by: Jason Wang >

[PATCH v2 2/3] vdpa_sim_blk: limit the number of request handled per batch

2022-06-30 Thread Stefano Garzarella
Limit the number of requests (4 per queue as for vdpa_sim_net) handled in a batch to prevent the worker from using the CPU for too long. Suggested-by: Eugenio Pérez Signed-off-by: Stefano Garzarella --- v2: - restored previous behaviour, exiting the loop immediately if the request is