commit | e3ba9ae58a5599226e3976b29c8093041ae7c332 | [log] [tgz] |
---|---|---|
author | Jens Axboe <jens.axboe@oracle.com> | Thu Sep 25 11:42:41 2008 +0200 |
committer | Jens Axboe <jens.axboe@oracle.com> | Thu Oct 09 08:56:19 2008 +0200 |
tree | 5e8a7c0c1b675e19fa6209489479fe9b799a1b3e | |
parent | f7d7b7a7a3db6526a84ea755c1c54a051e9a52de [diff] |
block: reserve some tags just for sync IO By only allowing async IO to consume 3/4 ths of the tag depth, we always have slots free to serve sync IO. This is important to avoid having writes fill the entire tag queue, thus starving reads. Original patch and idea from Linus Torvalds <torvalds@linux-foundation.org> Signed-off-by: Jens Axboe <jens.axboe@oracle.com>