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

Re: strange nfs...



Klaus Rein wrote:
> 
> Steve Lord wrote:
> 
> > If you unmount the filesystem and then remount it the files should
> > report using the correct amount of space again.
> 
> Yes, that worked. Considering the time it took to unmount and mount
> I think the update ist done during the unmount, right?

Yes:

/*
 * This is called from the XFS unmount code to purge all entries for the
 * given mount from the cache.  It uses the refcache busy counter to
 * make sure that new entries are not added to the cache as we purge
them.
 */
void
xfs_refcache_purge_mp(

> What happens after a system crash?

Good question...  Steve?  :)

-Eric

-- 
Eric Sandeen      XFS for Linux     http://oss.sgi.com/projects/xfs
sandeen@sgi.com   SGI, Inc.