blk-mq: split the plug and sync cases in blk_mq_make_request
authorChristoph Hellwig <hch@lst.de>
Wed, 22 Mar 2017 19:01:52 +0000 (15:01 -0400)
committerJens Axboe <axboe@fb.com>
Thu, 23 Mar 2017 02:17:01 +0000 (20:17 -0600)
commit2299722c4b117af867425d097e470c8566e0c82e
treeb6dca79cc10b4eee7a3a56f74be80532f0f12afa
parent5eb6126e1c5c5b69d90003444acc99743881b7b7
blk-mq: split the plug and sync cases in blk_mq_make_request

Now that we have a nice direct issue heper this helps simplifying
the code a bit, and also gets rid of the old_rq variable.

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