]> git.kernelconcepts.de Git - karo-tx-linux.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)
commitbaed548a98397f57a71d61917177f7d42ab17881
tree0e8a717cea2da2f7a40f468fd6d80add778f1c43
parent8afdd94c74e416de74a8ee61d79e4bf93466420b
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