[2.6 patch] dpt_i2o fix for deadlock condition
From: Salyzyn, Mark (mark_salyzyn_at_adaptec.com)
Date: 11/29/05
- Previous message: Andi Kleen: "Re: [RT] read_tsc: ACK! TSC went backward! Unsynced TSCs?"
- Next in thread: Lennart Sorensen: "Re: [2.6 patch] dpt_i2o fix for deadlock condition"
- Reply: Lennart Sorensen: "Re: [2.6 patch] dpt_i2o fix for deadlock condition"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Tue, 29 Nov 2005 11:51:25 -0500 To: <linux-scsi@vger.kernel.org>
Miquel van Smoorenburg <miquels@cistron.nl> forwarded me this fix to
resolve a deadlock condition that occurs due to the API change in
2.6.13+ kernels dropping the host locking when entering the error
handling. They all end up calling adpt_i2o_post_wait(), which if you
call it unlocked, might return with host_lock locked anyway and that
causes a deadlock.
Signed-off-by: Mark Salyzyn <aacraid@adaptec.com>
drivers/scsi/dpt_i2o.c | 25 ++++++++++++++++++++-----
1 file changed, 20 insertions(+), 5 deletions(-)
Patch attached to email due to Outlook corrupting content when inlined.
Sincerely -- Mark Salyzyn
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
- application/octet-stream attachment: dpt_i2o.deadlock.patch
- Previous message: Andi Kleen: "Re: [RT] read_tsc: ACK! TSC went backward! Unsynced TSCs?"
- Next in thread: Lennart Sorensen: "Re: [2.6 patch] dpt_i2o fix for deadlock condition"
- Reply: Lennart Sorensen: "Re: [2.6 patch] dpt_i2o fix for deadlock condition"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]