From: Tejun Heo Date: Sat, 29 Oct 2005 09:18:42 +0000 (+0900) Subject: [PATCH] blk: fix merge bug in as-iosched X-Git-Tag: v2.6.15-rc1~731^2~15 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=47e627ce83b6df9f4bb8e4b0a4dde1c5d7a4c929;p=pandora-kernel.git [PATCH] blk: fix merge bug in as-iosched 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: Tejun Heo Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed