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