Re: [PATCH 6/6] blk-mq: Micro-optimize bt_get()

2014-12-09 Thread Jens Axboe
On 12/09/2014 08:59 AM, Bart Van Assche wrote: Remove a superfluous finish_wait() call. Convert the two bt_wait_ptr() calls into a single call. I had to double check this, but looks OK to me. And it's better than a micro-optimization, should be a nice win for the tag contended case. -- Jens

[PATCH 6/6] blk-mq: Micro-optimize bt_get()

2014-12-09 Thread Bart Van Assche
Remove a superfluous finish_wait() call. Convert the two bt_wait_ptr() calls into a single call. Signed-off-by: Bart Van Assche Cc: Christoph Hellwig Cc: Robert Elliott Cc: Ming Lei Cc: Alexander Gordeev --- block/blk-mq-tag.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --