From 58feae97dd1a120bbd8bfa6de44aeaa27e3bd71b Mon Sep 17 00:00:00 2001 From: Jens Axboe Date: Tue, 6 Oct 2009 20:19:02 +0200 Subject: [PATCH] --- yaml --- r: 167431 b: refs/heads/master c: 1b59dd511b9a36d4be3c01d7c7024aeec36dc651 h: refs/heads/master i: 167429: 74cacd71cefb28de906beaff60f755d90cda6797 167427: 572f8dbb3c3d0ed3b5c49cd4d7c3c48815c520e6 167423: 2973b9ed4d7feb13452e7eab3b516d94bfcdc9b1 v: v3 --- [refs] | 2 +- trunk/block/blk-tag.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/[refs] b/[refs] index 6e0db146d91e..2291a5922b8e 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: 316d315bffa4026f28085f6b24ebcebede370ac7 +refs/heads/master: 1b59dd511b9a36d4be3c01d7c7024aeec36dc651 diff --git a/trunk/block/blk-tag.c b/trunk/block/blk-tag.c index 2e5cfeb59333..6b0f52c20964 100644 --- a/trunk/block/blk-tag.c +++ b/trunk/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; }