Current-Users archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: write(2) and >=4GB buffer ... ubc_uiomove: error=14
On Wed, Feb 20, 2008 at 09:16:35AM +0200, Antti Kantee wrote:
> On Wed Feb 20 2008 at 01:15:59 +0100, Nicolas Joly wrote:
[...]
> > After some researches, i discovered that they appear with write(2)
> > calls + large buffers (>=4GB). It does not seems to be a write(2)
> > syscall limitation (up to SSIZE_MAX), but rather a filesystem problem.
> >
> > The attached testcase, fails for if writing to a `dummy.big' file on
> > ffs; but succeed if writing to the `/dev/null' device.
[...]
> Hmm, looks like uiomove might be overrunning its iovecs. Try this:
That fixed it. Thanks a lot.
--
Nicolas Joly
Biological Software and Databanks.
Institut Pasteur, Paris.
Home |
Main Index |
Thread Index |
Old Index