]> git.baikalelectronics.ru Git - kernel.git/commit
blk-mq: Micro-optimize bt_get()
authorBart Van Assche <bvanassche@acm.org>
Tue, 9 Dec 2014 15:59:48 +0000 (16:59 +0100)
committerJens Axboe <axboe@fb.com>
Tue, 9 Dec 2014 16:07:28 +0000 (09:07 -0700)
commit7caf18b64137d03603f32ec3c9e47e1197495e12
tree000158231baaf25480bc9adb50ba8dd7e37e646c
parent21aeced073f2976dac81b12febb61df9f8f9cf3a
blk-mq: Micro-optimize bt_get()

Remove a superfluous finish_wait() call. Convert the two bt_wait_ptr()
calls into a single call.

Signed-off-by: Bart Van Assche <bvanassche@acm.org>
Cc: Christoph Hellwig <hch@lst.de>
Cc: Robert Elliott <elliott@hp.com>
Cc: Ming Lei <ming.lei@canonical.com>
Cc: Alexander Gordeev <agordeev@redhat.com>
Signed-off-by: Jens Axboe <axboe@fb.com>
block/blk-mq-tag.c