From mboxrd@z Thu Jan 1 00:00:00 1970 From: Wu Fengguang Date: Sun, 03 May 2009 12:40:13 +0000 Subject: Re: very slow NFS boot on linux-next and -mm Message-Id: <20090503124013.GA31700@localhost> List-Id: References: <20090503105456.GA30449@localhost> In-Reply-To: <20090503105456.GA30449@localhost> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: linux-nfs@vger.kernel.org Cc: Trond Myklebust , linux-hotplug@vger.kernel.org Ah it's not really a NFS problem.. On Sun, May 03, 2009 at 06:54:56PM +0800, Wu Fengguang wrote: > > My NFSROOT box sometimes will get stuck for a dozen seconds during boot. > [snip] > The NFSROOT client that got stuck is running latest linux-next, the > server side is running 2.6.30-rc3. > > Switching the client kernel to latest -mm makes it very reproducible. > Here is another stack dump: > > [ 180.399845] udevd D ffff8800280291e0 3056 1388 1 The udevd is doing this busy loop like mad: open("/etc/group", O_RDONLY|O_CLOEXEC) = 7 lseek(7, 0, SEEK_CUR) = 0 fstat(7, {st_mode=S_IFREG|0644, st_sizey7, ...}) = 0 mmap(NULL, 797, PROT_READ, MAP_SHARED, 7, 0) = 0x7f6791601000 lseek(7, 797, SEEK_SET) = 797 munmap(0x7f6791601000, 797) = 0 close(7) = 0 udev version is 0.141-1. Thanks, Fengguang