summaryrefslogtreecommitdiffstats
path: root/block/blk-mq-cpu.c
diff options
context:
space:
mode:
authorRobert Elliott <elliott@hp.com>2014-05-20 16:46:26 -0500
committerJens Axboe <axboe@fb.com>2014-05-20 15:49:03 -0600
commitda41a589f52464e24ddefe76814ee35bfb07950c (patch)
treee3270f36a1a5766e2433b70b0eef4e2205096075 /block/blk-mq-cpu.c
parenteba7176826ddab1d04c51bb2d5f2bbf22865444c (diff)
downloadlinux-stable-da41a589f52464e24ddefe76814ee35bfb07950c.tar.gz
linux-stable-da41a589f52464e24ddefe76814ee35bfb07950c.tar.bz2
linux-stable-da41a589f52464e24ddefe76814ee35bfb07950c.zip
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>
Diffstat (limited to 'block/blk-mq-cpu.c')
0 files changed, 0 insertions, 0 deletions