[Pvfs2-developers] ncache causes shared creat problems
Pete Wyckoff
pw at osc.edu
Mon Aug 28 16:28:32 EDT 2006
pcarns at wastedcycles.org wrote on Mon, 28 Aug 2006 19:02 +0200:
> What happens on each iteration? Does the code at some point delete a
> file with a particular name and then create a new one with the same name?
Each iter (of which there are 200, but it fails on #2 or 3) does:
task0
rm file
task0 and task1
fd = creat(file, 0644);
close(fd)
barrier
So yeah, the file gets deleted by just one task. Then they all
simultaneously try to create it again.
Source is here
ftp://ftp.llnl.gov/pub/siop/simul/simul-1.12.tar.gz
grep for simul_creat in the one source file in there.
-- Pete
More information about the Pvfs2-developers
mailing list