Re: blk-mq: for sync case, whether it is mq or sq make_request instances, we should send the request directly

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

 



On 5/15/18 9:42 PM, 胡海 wrote:
> Author: huhai <huhai@xxxxxxxxxx>
> Date:   Wed May 16 10:34:22 2018 +0800
> 
>     blk-mq: for sync case, whether it is mq or sq make_request instances, we should send the request directly
>     
>     For sq make_request instances, we should issue sync request directly too, 
>     otherwise it will break down the semantics of sync request, 
>     the current code logic is to send synchronous requests asynchronously.

It doesn't break the semantics of a sync request. The reason we don't do
it on single queue hardware is for efficiency reasons. On multiple queue
hardware, we can efficiently have multiple processes doing sync issue,
that isn't the case on single queue hardware.

-- 
Jens Axboe




[Index of Archives]     [Linux RAID]     [Linux SCSI]     [Linux ATA RAID]     [IDE]     [Linux Wireless]     [Linux Kernel]     [ATH6KL]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Device Mapper]

  Powered by Linux