Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932347AbVK2Sxi (ORCPT ); Tue, 29 Nov 2005 13:53:38 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S932350AbVK2Sxi (ORCPT ); Tue, 29 Nov 2005 13:53:38 -0500 Received: from emailhub.stusta.mhn.de ([141.84.69.5]:54033 "HELO mailout.stusta.mhn.de") by vger.kernel.org with SMTP id S932347AbVK2Sxh (ORCPT ); Tue, 29 Nov 2005 13:53:37 -0500 Date: Tue, 29 Nov 2005 19:53:36 +0100 From: Adrian Bunk To: Lennart Sorensen Cc: "Salyzyn, Mark" , linux-scsi@vger.kernel.org, James.Bottomley@SteelEye.com, linux-kernel@vger.kernel.org Subject: Re: [2.6 patch] dpt_i2o fix for deadlock condition Message-ID: <20051129185336.GJ31395@stusta.de> References: <547AF3BD0F3F0B4CBDC379BAC7E4189F01E3DD6C@otce2k03.adaptec.com> <20051129180437.GB3803@csclub.uwaterloo.ca> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20051129180437.GB3803@csclub.uwaterloo.ca> User-Agent: Mutt/1.5.11 Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1681 Lines: 42 On Tue, Nov 29, 2005 at 01:04:37PM -0500, Lennart Sorensen wrote: > On Tue, Nov 29, 2005 at 11:51:25AM -0500, Salyzyn, Mark wrote: > > Miquel van Smoorenburg 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 > > > > drivers/scsi/dpt_i2o.c | 25 ++++++++++++++++++++----- > > 1 file changed, 20 insertions(+), 5 deletions(-) > > > > Patch attached to email due to Outlook corrupting content when inlined. > > There must still be a way to tell outlook to make the type something > useful, rather than application/octet-stream. maybe if the extension > was .patch.txt it would do something smarter. Patches in Attachments aren't nice, but better than corrupted patches. It's unfortunate, but bitching on the people who are somehow forced to use crappy email clients is IMHO not a good idea. > Len Sorensen cu Adrian -- "Is there not promise of rain?" Ling Tan asked suddenly out of the darkness. There had been need of rain for many days. "Only a promise," Lao Er said. Pearl S. Buck - Dragon Seed - 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/