X-Git-Url: https://nv-tegra.nvidia.com/r/gitweb?p=linux-2.6.git;a=blobdiff_plain;f=block%2Fblk-tag.c;h=6b0f52c20964e484c95a2e6c120dc77e2b821b88;hp=2e5cfeb59333ecc088576324f1d6e0e88faf3bed;hb=1b59dd511b9a36d4be3c01d7c7024aeec36dc651;hpb=316d315bffa4026f28085f6b24ebcebede370ac7;ds=inline diff --git a/block/blk-tag.c b/block/blk-tag.c index 2e5cfeb5933..6b0f52c2096 100644 --- a/block/blk-tag.c +++ b/block/blk-tag.c @@ -359,7 +359,7 @@ int blk_queue_start_tag(struct request_queue *q, struct request *rq) max_depth -= 2; if (!max_depth) max_depth = 1; - if (q->in_flight[0] > max_depth) + if (q->in_flight[BLK_RW_ASYNC] > max_depth) return 1; }