tech-kern archive

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

Re: CVS commit: src/bin/cp



On Mon, Oct 25, 2010 at 05:49:11PM +0100, David Laight wrote:
 > > No, since in general the file is also being extended (certainly in
 > > this case it is) it also has to lock the file size, and that's going
 > > to deny stat() until it's done.
 > 
 > A stat request during a write can safely return the old size.

Yes it can, if it has it. Hence "multiversion"...

-- 
David A. Holland
dholland%netbsd.org@localhost


Home | Main Index | Thread Index | Old Index