Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932755AbXBVHlk (ORCPT ); Thu, 22 Feb 2007 02:41:40 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S932803AbXBVHlk (ORCPT ); Thu, 22 Feb 2007 02:41:40 -0500 Received: from nommos.sslcatacombnetworking.com ([67.18.224.114]:37996 "EHLO nommos.sslcatacombnetworking.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932755AbXBVHlj (ORCPT ); Thu, 22 Feb 2007 02:41:39 -0500 In-Reply-To: <20070221133112.aec2bdac.akpm@linux-foundation.org> References: <20070221125736.e5ff4206.akpm@linux-foundation.org> <20070221133112.aec2bdac.akpm@linux-foundation.org> Mime-Version: 1.0 (Apple Message framework v752.2) Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed Message-Id: Cc: Alan Stern , OGAWA Hirofumi , , Pete Zaitcev , Greg KH , Linux Kernel list Content-Transfer-Encoding: 7bit From: Kumar Gala Subject: Re: [linux-usb-devel] 2.6.20 kernel hang with USB drive and vfat doing ftruncate Date: Thu, 22 Feb 2007 01:40:29 -0600 To: Andrew Morton X-Mailer: Apple Mail (2.752.2) X-PopBeforeSMTPSenders: kumar-chaos@kgala.com,kumar-statements@kgala.com,kumar@kgala.com X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - nommos.sslcatacombnetworking.com X-AntiAbuse: Original Domain - vger.kernel.org X-AntiAbuse: Originator/Caller UID/GID - [0 0] / [47 12] X-AntiAbuse: Sender Address Domain - kernel.crashing.org X-Source: X-Source-Args: X-Source-Dir: Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1262 Lines: 42 On Feb 21, 2007, at 3:31 PM, Andrew Morton wrote: > On Wed, 21 Feb 2007 16:22:17 -0500 (EST) > Alan Stern wrote: > >> On Wed, 21 Feb 2007, Andrew Morton wrote: >> >>>>> It seems like usb-storage and aio are completely off in the weeds. >>>>> Ideas? >>>> >>>> It seems usb-storage should remove some kmalloc and use mempool >>>> () for >>>> urb... Is someone working on this? And idea? >>> >>> I think Pete said that we're supposed to be using GFP_NOIO in there. >> >> We _are_ using it. > > How admirably prompt. > >>> Not that it'll help much: the VM calls throttle_vm_writeout() for >>> GFP_NOIO >>> and GFP_NOFS allocations, which is a bug. Because if the caller >>> holds >>> locks which prevent filesystem or IO progress, we deadlock. >>> >>> I'll fix the VM if someone else fixes USB ;) >> >> What else needs to be fixed? > > Would be nice if someone can confirm that this fixes it: Doesn't seem to help my problem in a quick test, will get more data in the morning. - k - 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/