From mboxrd@z Thu Jan 1 00:00:00 1970 From: Kay Sievers Subject: Re: [PATCH 25/20] sysfs: Only support removing emtpy sysfs directories. Date: Mon, 25 May 2009 13:45:14 +0200 Message-ID: References: <1243178448.4035.12.camel@poy> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: QUOTED-PRINTABLE Cc: "Eric W. Biederman" , Andrew Morton , Greg Kroah-Hartman , linux-kernel@vger.kernel.org, Tejun Heo , Cornelia Huck , linux-fsdevel@vger.kernel.org, "Eric W. Biederman" To: Alan Stern Return-path: Received: from mail-fx0-f168.google.com ([209.85.220.168]:45585 "EHLO mail-fx0-f168.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751143AbZEYLpf convert rfc822-to-8bit (ORCPT ); Mon, 25 May 2009 07:45:35 -0400 In-Reply-To: Sender: linux-fsdevel-owner@vger.kernel.org List-ID: On Mon, May 25, 2009 at 04:06, Alan Stern w= rote: > This looks like a bug I found almost two weeks ago. =C2=A0The bug was > introduced by Arjan as part of his async conversion (the async routin= e > runs without acquiring one of the mutexes held by its caller). =C2=A0= The > result is a race in the sd driver -- no connection with USB, Ah, I see. > by the way -- so it's a little difficult to trigger. I can trigger it pretty reliable now on plain -rc7 , but only with more hubs in-between the storage device. It usually take less than 10-15 connect/disconnect cycles. It looks like a serious bug though, after the bug triggered, random, likely unrelated, applications crash, and I can not cleanly shot down anymore. > I posted a patch, but the > reporter never said whether or not the patch fixed the problem. =C2=A0= Hence > the patch hasn't been submitted. > > Here it is for you to try out. I'll give it try now. Kay -- To unsubscribe from this list: send the line "unsubscribe linux-fsdevel= " in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html