blk-mq: improve scheduler queue sync/async running
authorJens Axboe <axboe@fb.com>
Thu, 26 Jan 2017 19:28:10 +0000 (12:28 -0700)
committerJens Axboe <axboe@fb.com>
Fri, 27 Jan 2017 15:20:30 +0000 (08:20 -0700)
commit0abad774124351ba211b9053786ebd5a5a722d53
treee8379de61d26569c1ad82639623a22eb3b8b39c8
parent4a46f05ebf9921dcba35770106e42574d323d6dd
blk-mq: improve scheduler queue sync/async running

We'll use the same criteria for whether we need to run the queue sync
or async when we have a scheduler, as we do without one.

Signed-off-by: Jens Axboe <axboe@fb.com>
Reviewed-by: Omar Sandoval <osandov@fb.com>
Tested-by: Hannes Reinecke <hare@suse.com>
block/blk-mq.c