diff options
author | Jens Axboe <jens.axboe@oracle.com> | 2008-09-25 11:42:41 +0200 |
---|---|---|
committer | Jens Axboe <jens.axboe@oracle.com> | 2008-10-09 08:56:19 +0200 |
commit | e3ba9ae58a5599226e3976b29c8093041ae7c332 (patch) | |
tree | 5e8a7c0c1b675e19fa6209489479fe9b799a1b3e /fs | |
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>
Diffstat (limited to 'fs')
0 files changed, 0 insertions, 0 deletions