Skip to content
  • Tejun Heo's avatar
    [PATCH] blk: fix merge bug in as-iosched · 47e627ce
    Tejun Heo authored
    
    
    as-iosched deals with aliased requests differently from other ioscheds.
    
    It links together aliased requests using rq->queuelist instead of
    spilling alises to dispatch queue like other ioscheds do.  Requests
    linked in this way cannot be merged.
    
    Unfortunately, generic q->last_merge handling patch didn't take this
    into account and q->last_merge could be set to an aliased request
    resulting in Badness, corrupt list and eventually panic.
    
    This explicitly marks aliased requests to be unmergeable.
    
    Signed-off-by: default avatarTejun Heo <htejun@gmail.com>
    Signed-off-by: default avatarLinus Torvalds <torvalds@osdl.org>
    47e627ce