commit | a4d907b6a33ba22adbbfc443e22eb3c1aa2c73f6 | [log] [tgz] |
---|---|---|
author | Christoph Hellwig <hch@lst.de> | Wed Mar 22 15:01:53 2017 -0400 |
committer | Jens Axboe <axboe@fb.com> | Wed Mar 22 20:17:03 2017 -0600 |
tree | 7cfa4b5728595103068b612d26cc0d15c0f905dd | |
parent | 2299722c4b117af867425d097e470c8566e0c82e [diff] |
blk-mq: streamline blk_mq_make_request Turn the different ways of merging or issuing I/O into a series of if/else statements instead of the current maze of gotos. Note that this means we pin the CPU a little longer for some cases as the CTX put is moved to common code at the end of the function. Signed-off-by: Christoph Hellwig <hch@lst.de> Signed-off-by: Jens Axboe <axboe@fb.com>