Message ID | 20171014071047.GA31154@ming.t460p (mailing list archive) |
---|---|
State | Not Applicable |
Headers | show |
diff --git a/block/kyber-iosched.c b/block/kyber-iosched.c index f58cab82105b..94df3ce99f2f 100644 --- a/block/kyber-iosched.c +++ b/block/kyber-iosched.c @@ -641,7 +641,7 @@ static bool kyber_has_work(struct blk_mq_hw_ctx *hctx) if (!list_empty_careful(&khd->rqs[i])) return true; } - return false; + return sbitmap_any_bit_set(&hctx->ctx_map); } #define KYBER_LAT_SHOW_STORE(op) \