Source-Changes-D archive

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

Re: CVS commit: src/sys/kern



On Wed, Dec 16, 2009 at 12:31:21AM -0500, Michael wrote:
> >
> >
> >To generate a diff of this commit:
> >cvs rdiff -u -r1.124 -r1.125 src/sys/kern/sys_pipe.c
> 
> 
> This causes spurious aborts with tar and gzip
> For example tar tzf pkgsrc/distfiles/mysql-4.1.22.tar.gz aborts  
> halfway through but works fine with revision 1.124

I think that is all down to one of the relevant processes not liking
a partial return from a blocking write().

I commented out that bit, but have a better fix in mind.
(In particular one that doesn't use ERESTART unless one thread closes
an fd while other threads are doing io on that fd.)

        David

-- 
David Laight: david%l8s.co.uk@localhost


Home | Main Index | Thread Index | Old Index