Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753609AbbGaSAm (ORCPT ); Fri, 31 Jul 2015 14:00:42 -0400 Received: from fieldses.org ([173.255.197.46]:34425 "EHLO fieldses.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753377AbbGaSAl (ORCPT ); Fri, 31 Jul 2015 14:00:41 -0400 Date: Fri, 31 Jul 2015 14:00:40 -0400 To: Hugh Dickins Cc: Al Viro , Linus Torvalds , linux-kernel@vger.kernel.org, linux-fsdevel@vger.kernel.org Subject: Re: v4.2-rc dcache regression, probably 75a6f82a0d10 Message-ID: <20150731180040.GA19719@fieldses.org> References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.21 (2010-09-15) From: bfields@fieldses.org (J. Bruce Fields) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1906 Lines: 43 On Fri, Jul 31, 2015 at 10:46:51AM -0700, Hugh Dickins wrote: > I think there's something not quite right with the fs/dcache.c > commit 75a6f82a0d10 ("freeing unlinked file indefinitely delayed"). > > When running my old tmpfs swapping load (two repetitive make -j20 > kernel builds, one on tmpfs, one on ext4 over loop over tmpfs file, > in limited memory with plenty of swapping; rm -rf of both trees > in between the builds): one of the builds, always the ext4 so far, > fails after several hours, one or another header file "No such file > or directory", but the file's there when I check the tree afterwards. That's weird. In theory, if you're not running knfsd, and if nobody's doing open_by_handle_at() calls, then you shouldn't have any DCACHE_DISCONNECTED dentries on your system, so this patch shouldn't affect behavior. --b. > > Sounds like a dcache problem, and 75a6f82a0d10 seemed the only > likely candidate, so I experimented with reverting it yesterday, > and ran successfully for 24 hours. That's a little too soon to > be sure (I've set another run going this morning), but I'd say > 90% certain that is to blame, and thought I'd better alert you > sooner than later - you'll probably guess what's the matter > long before I get back to check today's run. > > (I saw exactly the same symptom two months ago; but that was just > before you put in 2159184ea01e "d_walk() might skip too much", > which fixed it back then.) > > Hugh > -- > 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 -- 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/