commit | da41a589f52464e24ddefe76814ee35bfb07950c | [log] [tgz] |
---|---|---|
author | Robert Elliott <elliott@hp.com> | Tue May 20 16:46:26 2014 -0500 |
committer | Jens Axboe <axboe@fb.com> | Tue May 20 15:49:03 2014 -0600 |
tree | e3270f36a1a5766e2433b70b0eef4e2205096075 | |
parent | eba7176826ddab1d04c51bb2d5f2bbf22865444c [diff] |
blk-mq: Micro-optimize blk_queue_nomerges() check In blk_mq_make_request(), do the blk_queue_nomerges() check outside the call to blk_attempt_plug_merge() to eliminate function call overhead when nomerges=2 (disabled) Signed-off-by: Robert Elliott <elliott@hp.com> Signed-off-by: Jens Axboe <axboe@fb.com>