block: change the request allocation/congestion logic to be sync/async based
authorJens Axboe <jens.axboe@oracle.com>
Mon, 6 Apr 2009 12:48:01 +0000 (14:48 +0200)
committerLinus Torvalds <torvalds@linux-foundation.org>
Mon, 6 Apr 2009 15:04:53 +0000 (08:04 -0700)
commit1faa16d22877f4839bd433547d770c676d1d964c
tree9a0d50be1ef0358c1f53d7107413100904e7d526
parent0221c81b1b8eb0cbb6b30a0ced52ead32d2b4e4c
block: change the request allocation/congestion logic to be sync/async based

This makes sure that we never wait on async IO for sync requests, instead
of doing the split on writes vs reads.

Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
block/blk-core.c
block/blk-sysfs.c
block/elevator.c
include/linux/backing-dev.h
include/linux/blkdev.h
mm/backing-dev.c