* keeping nfsd dentries on unused_list
@ 2002-10-21 21:37 Christoph Hellwig
2002-10-21 23:15 ` Neil Brown
0 siblings, 1 reply; 2+ messages in thread
From: Christoph Hellwig @ 2002-10-21 21:37 UTC (permalink / raw)
To: Neil Brown; +Cc: linux-fsdevel
Hi Neil,
since your export changes in 2.5.<early> 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.
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: keeping nfsd dentries on unused_list
2002-10-21 21:37 keeping nfsd dentries on unused_list Christoph Hellwig
@ 2002-10-21 23:15 ` Neil Brown
0 siblings, 0 replies; 2+ messages in thread
From: Neil Brown @ 2002-10-21 23:15 UTC (permalink / raw)
To: Christoph Hellwig; +Cc: linux-fsdevel
On Monday October 21, hch@sgi.com wrote:
> Hi Neil,
>
> since your export changes in 2.5.<early> 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.
Yes. That behaviour is intentional and will stay.
NeilBrown
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2002-10-21 23:16 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-10-21 21:37 keeping nfsd dentries on unused_list Christoph Hellwig
2002-10-21 23:15 ` Neil Brown
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).