[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: st_nlink of directory nodes in shadowfs

From: Thomas Bushnell, BSG
Subject: Re: st_nlink of directory nodes in shadowfs
Date: 27 Oct 2001 18:20:24 -0700
User-agent: Gnus/5.0808 (Gnus v5.8.8) Emacs/20.7

Moritz Schulte <moritz@chaosdorf.de> writes:

> Actually i cared about the performance aspect. If there are shadowed
> directories, which contain _many_ entries and the user simply looks up
> that directory in shadowfs, shadowfs would have to first read _all_
> the directory entries of _all_ of the underlying directories just to
> provide the 100% right st_nlink number.

Why is it not sufficient to add up the link counts of the shadowed
directories (compensating for the -2 term) and use that?

reply via email to

[Prev in Thread] Current Thread [Next in Thread]