• Shaohua Li's avatar
    block CFQ: avoid moving request to different queue · 3d106fba
    Shaohua Li authored
    request is queued in cfqq->fifo list. Looks it's possible we are moving a
    request from one cfqq to another in request merge case. In such case, adjusting
    the fifo list order doesn't make sense and is impossible if we don't iterate
    the whole fifo list.
    
    My test does hit one case the two cfqq are different, but didn't cause kernel
    crash, maybe it's because fifo list isn't used frequently. Anyway, from the
    code logic, this is buggy.
    
    I thought we can re-enable the recusive merge logic after this is fixed.
    Signed-off-by: default avatarShaohua Li <shli@fusionio.com>
    Signed-off-by: default avatarJens Axboe <axboe@kernel.dk>
    3d106fba
cfq-iosched.c 108 KB