diff options
author | Jens Axboe | 2009-10-13 12:29:45 +0200 |
---|---|---|
committer | Jens Axboe | 2009-10-13 12:29:45 +0200 |
commit | c30f33437c3f85ec48353a1ef811e148217a2aaf (patch) | |
tree | d5a0ca1e8d091a30fece2e9aeed285225c026049 /block/blk-tag.c | |
parent | drbd: needs __ratelimit() (diff) | |
parent | cciss: Add cciss_allow_hpsa module parameter (diff) | |
download | kernel-qcow2-linux-c30f33437c3f85ec48353a1ef811e148217a2aaf.tar.gz kernel-qcow2-linux-c30f33437c3f85ec48353a1ef811e148217a2aaf.tar.xz kernel-qcow2-linux-c30f33437c3f85ec48353a1ef811e148217a2aaf.zip |
Merge branch 'for-linus' into for-2.6.33
Diffstat (limited to 'block/blk-tag.c')
-rw-r--r-- | block/blk-tag.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/block/blk-tag.c b/block/blk-tag.c index 2e5cfeb59333..6b0f52c20964 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; } |