diff options
author | Oleg Nesterov <oleg@tv-sign.ru> | 2007-11-07 08:46:13 (GMT) |
---|---|---|
committer | Jens Axboe <jens.axboe@oracle.com> | 2007-11-07 08:46:13 (GMT) |
commit | b70c864d3ce706571d2f3cac1d35d4fba01d6072 (patch) | |
tree | fbdab2c4ddf484e5344b8cc00e4bc24b6e443191 /fs/jbd2 | |
parent | 2389d1ef172fc9df01f58265a436919d233fbc27 (diff) | |
download | linux-b70c864d3ce706571d2f3cac1d35d4fba01d6072.tar.xz |
cfq: fix IOPRIO_CLASS_IDLE delays
After the fresh boot:
ionice -c3 -p $$
echo cfq >> /sys/block/XXX/queue/scheduler
dd if=/dev/XXX of=/dev/null bs=512 count=1
Now dd hangs in D state and the queue is completely stalled for approximately
INITIAL_JIFFIES + CFQ_IDLE_GRACE jiffies. This is because cfq_init_queue()
forgets to initialize cfq_data->last_end_request.
(I guess this patch is not complete, overflow is still possible)
Signed-off-by: Oleg Nesterov <oleg@tv-sign.ru>
Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
Diffstat (limited to 'fs/jbd2')
0 files changed, 0 insertions, 0 deletions