[OpenAFS-devel] stat bug?

Derek Atkins warlord@MIT.EDU
21 Aug 2001 13:37:33 -0400


Well, the fileserver could theoretically keep a running count,
so it would only be an expensive operation once (perhaps during
a salvage) and then updates can happen as new 'symlinks' are
created.

-derek

Nickolai Zeldovich <kolya@MIT.EDU> writes:

> > i was wondering if linkcount should also count the mount points?
> 
> Assuming you don't keep the mountpoint count state in the inode, it
> might be a fair amount of overhead on the server side to read all the
> vnodes (and the first data byte for symlinks) in a directory when it's
> stat'ed..  Though in theory, I'd agree that the link count probably
> should include the number of mountpoints.
> 
> -- kolya
> _______________________________________________
> OpenAFS-devel mailing list
> OpenAFS-devel@openafs.org
> https://lists.openafs.org/mailman/listinfo/openafs-devel

-- 
       Derek Atkins, SB '93 MIT EE, SM '95 MIT Media Laboratory
       Member, MIT Student Information Processing Board  (SIPB)
       URL: http://web.mit.edu/warlord/    PP-ASEL-IA     N1NWH
       warlord@MIT.EDU                        PGP key available