Re: Race conditions in file creation in 2.3.

manfreds@colorfullife.com
Sat, 4 Sep 1999 20:10:49 -0400 (EDT)


>
> > cp -vrf /usr/bin /mnt & cp -vrf /usr/bin /mnt & cp -vrf /usr/bin /mnt
> >
> > produces large numbers of file not found errors in response to create. It
> > looks like two people creating a file at once causes a bogus
> > error on one of the openers.
> >
> > Is /mnt over NFS?
>
> This is an ext2->ext2 copy going from one ext2fs on ide to one on FC
>
Are you sure it is create?

write() and truncate() are not syncronized, is it possible that this causes your problem?

--
	Manfred

- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.rutgers.edu Please read the FAQ at http://www.tux.org/lkml/