diff options
author | Jens Axboe <axboe@suse.de> | 2005-06-28 16:35:11 +0200 |
---|---|---|
committer | Linus Torvalds <torvalds@ppc970.osdl.org> | 2005-06-28 14:56:50 -0700 |
commit | 082cf69eb82681f4eacb3a5653834c7970714bef (patch) | |
tree | a0817817c787a89abd0eb7e5bf6f217523060b63 /init | |
parent | f8b58edf3acf0dcc186b8330939000ecf709368a (diff) | |
download | blackbird-op-linux-082cf69eb82681f4eacb3a5653834c7970714bef.tar.gz blackbird-op-linux-082cf69eb82681f4eacb3a5653834c7970714bef.zip |
[PATCH] ll_rw_blk: prevent huge request allocations
Currently we cap request allocations at q->nr_requests, but we allow a
batching io context to allocate up to 32 more (default setting). This
can flood the queue with request allocations, with only a few batching
processes. The real fix would be to limit the number of batchers, but
as that isn't currently tracked, I suggest we just cap the maximum
number of allocated requests to eg 50% over the limit.
This was observed in real life, users typically see this as vmstat bo
numbers going off the wall with seconds of no queueing afterwards.
Behaviour this bursty is not beneficial.
Signed-off-by: Jens Axboe <axboe@suse.de>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'init')
0 files changed, 0 insertions, 0 deletions