blk-mq: merge mq and sq make_request instances
authorChristoph Hellwig <hch@lst.de>
Wed, 22 Mar 2017 19:01:50 +0000 (15:01 -0400)
committerJens Axboe <axboe@fb.com>
Thu, 23 Mar 2017 02:16:58 +0000 (20:16 -0600)
commit254d259da0c3cb77f03a2adb8959c293f638a3d2
tree52874333cef9cb69290db0ce210a5e7df66712ba
parent7642747d674aff1f7cfe74ad9af7e9b12ab1d5ee
blk-mq: merge mq and sq make_request instances

They are mostly the same code anyway - this just one small conditional
for the plug case that is different for both variants.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Jens Axboe <axboe@fb.com>
block/blk-mq.c