commit | 0a7ae2ff0d29bb3b327edff4c8ab67b3834fa811 | [log] [tgz] |
---|---|---|
author | Jens Axboe <jens.axboe@oracle.com> | Wed May 20 08:54:31 2009 +0200 |
committer | Jens Axboe <jens.axboe@oracle.com> | Wed May 20 08:54:31 2009 +0200 |
tree | 88309ac99a39e15b9b23525a00a15b1564957b32 | |
parent | ac36552a52a6ec8563ac0a109e2a0935673f4abb [diff] [blame] |
block: change the tag sync vs async restriction logic Make them fully share the tag space, but disallow async requests using the last any two slots. Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
diff --git a/block/blk-core.c b/block/blk-core.c index 4906507..1c74840 100644 --- a/block/blk-core.c +++ b/block/blk-core.c
@@ -1815,7 +1815,7 @@ * the driver side. */ if (blk_account_rq(rq)) - q->in_flight++; + q->in_flight[rq_is_sync(rq)]++; } /**