]> 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)
commitc6f99c947f8386ed5ae6dde155cbed450dde9f5b
tree0e8a717cea2da2f7a40f468fd6d80add778f1c43
parentaef28edb4ee9a353921f447bde4a2f167312a243
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