From mboxrd@z Thu Jan 1 00:00:00 1970 From: Christoph Hellwig Subject: Re: [PATCH] vfs: add d_prune dentry operation Date: Sun, 9 Oct 2011 09:21:55 -0400 Message-ID: <20111009132155.GA5920@infradead.org> References: <1317875170-9349-1-git-send-email-sage@newdream.net> <1317875170-9349-2-git-send-email-sage@newdream.net> <20111006212118.GA24109@infradead.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: Christoph Hellwig , linux-fsdevel@vger.kernel.org, viro@ZenIV.linux.org.uk, ceph-devel@vger.kernel.org, rwheeler@redhat.com, linux-kernel@vger.kernel.org, Dave Chinner To: Sage Weil Return-path: Content-Disposition: inline In-Reply-To: Sender: ceph-devel-owner@vger.kernel.org List-Id: linux-fsdevel.vger.kernel.org On Thu, Oct 06, 2011 at 03:20:37PM -0700, Sage Weil wrote: > > It also seem like it basically should not be be opencoded but in a > > wrapper around dentry_lru_del for all cases but the lazy removal from > > LRU in case that is referenced, with some comments explaining the whole > > thing. > > Yeah, that's a bit better. There are four dentry_lru_del() callers, two > where we there is a reference, and two where we want to ->d_prune too. > > How does the below look? This looks much better. It will clash a bit with Dave's dcache series that were part of his shrinker/lru series, which I really hope he is going to resumit for 3.2 (at least the dcache cleanup parts). Al, any progress on getting the current VFS queue up somewhere for review?