]> git.baikalelectronics.ru Git - kernel.git/commit
mtip32xx: abstract out "are any commands active" helper
authorJens Axboe <axboe@fb.com>
Fri, 28 Apr 2017 13:54:06 +0000 (07:54 -0600)
committerJens Axboe <axboe@fb.com>
Tue, 2 May 2017 13:52:08 +0000 (07:52 -0600)
commitf001e35a7610c665f1d7f367684551c64c4d0b4c
tree0e8a717cea2da2f7a40f468fd6d80add778f1c43
parent49707b1b531ea8eafa086cc81d1ed95c52c5fd1b
mtip32xx: abstract out "are any commands active" helper

This is a prep patch for backoff in ->queue_rq() for non-ncq commands.

Reviewed-by: Bart Van Assche <Bart.VanAssche@sandisk.com>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Tested-by: Ming Lei <ming.lei@redhat.com>
Signed-off-by: Jens Axboe <axboe@fb.com>
drivers/block/mtip32xx/mtip32xx.c