On 02/07/2018 02:11 PM, Paolo Bonzini wrote:
> On 06/02/2018 21:30, Roman Kagan wrote:
>> +    blk_io_plug(d->conf.blk);
>> +    if (scsi_req_enqueue(sreq)) {
>> +        scsi_req_continue(sreq);
>> +    }
>> +    blk_io_unplug(d->conf.blk);
> Is plug/unplug really useful?
>
> Paolo
good point. here - no. plug/unplug should be moved to upper
layer, where we process all requests. Plug/Unplug should
cover all currently available bits.

Den

Reply via email to