From mboxrd@z Thu Jan 1 00:00:00 1970 From: Christoph Hellwig Subject: keeping nfsd dentries on unused_list Date: Mon, 21 Oct 2002 17:37:53 -0400 Sender: linux-fsdevel-owner@vger.kernel.org Message-ID: <20021021173753.A15099@sgi.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: linux-fsdevel@vger.kernel.org Return-path: To: Neil Brown Content-Disposition: inline List-Id: linux-fsdevel.vger.kernel.org Hi Neil, since your export changes in 2.5. always have a non-empty ->d_hash (linked into sb->s_anon) and thus are put on the unused list by dput instead of directly reclaiming it. Is this behaviour intentional and will stay during 2.6? Keeping those dentries alive will allow me to remove lots of code in XFS to keep inodes that are written to by nfsd in cache as the final iput will flush all delayed allocated space and thus decrease nfs write performance massively - but as long as the dentry is on the unused list after dput we still have an inode reference and thus the delalloc block don't need to be converted.