[Pvfs2-developers] patches: dirent_count check bug fixes

Phil Carns pcarns at wastedcycles.org
Fri Jan 20 14:56:18 EST 2006


> 
> bash-2.05b# /sbin/sysctl -w pvfs2.acache.timeout-msecs=10000000
> bash-2.05b# mkdir -p /mnt/pvfs2/scratch/boom
> bash-2.05b# mkdir -p /mnt/pvfs2/scratch/yeah/1
> bash-2.05b# rename boom yeah /mnt/pvfs2/scratch/boom
> rename: renaming /mnt/pvfs2/scratch/boom to /mnt/pvfs2/scratch/yeah 
> failed: Directory not empty
> bash-2.05b# ls /mnt/pvfs2/scratch/yeah
> 

I realized that I should probably clarify the above example.  In this 
case the rename failure is correct.  The real problem shows up in the 
ls, because the subdirectory named "1" has been destroyed when it should 
not have been.

-Phil


More information about the Pvfs2-developers mailing list