Message ID | 223CABEA-71E0-426F-A4AB-17BA8437C978@linaro.org (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
diff --git a/block/bfq-mq-iosched.c b/block/bfq-mq-iosched.c index 118f319af7c0..6662efe29b69 100644 --- a/block/bfq-mq-iosched.c +++ b/block/bfq-mq-iosched.c @@ -525,8 +525,13 @@ static void bfq_limit_depth(unsigned int op, struct blk_mq_alloc_data *data) if (unlikely(bfqd->sb_shift != bt->sb.shift)) bfq_update_depths(bfqd, bt); +#if 0 data->shallow_depth = bfqd->word_depths[!!bfqd->wr_busy_queues][op_is_sync(op)]; +#else + data->shallow_depth = 1; +#endif + bfq_log(bfqd, "wr_busy %d sync %d depth %u", bfqd->wr_busy_queues, op_is_sync(op),