From: Tejun Heo Date: Fri, 8 May 2009 02:54:00 +0000 (+0900) Subject: mg_disk: fix queue hang / infinite retry on !fs requests X-Git-Tag: v2.6.31-rc1~389^2~79 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=9a8d23d8855e554fc5887f14cb008b55c4300ccc;p=pandora-kernel.git mg_disk: fix queue hang / infinite retry on !fs requests Both request functions in mg_disk simply return when they encounter a !fs request, which means the request will never be cleared from the queue causing queue hang and indefinite retry of the request. Fix it. While at it, flatten condition checks and add unlikely to !fs tests. [ Impact: fix possible queue hang / infinite retry of !fs requests ] Signed-off-by: Tejun Heo Cc: unsik Kim Signed-off-by: Jens Axboe --- Reading git-diff-tree failed