O_DIRECT on stdin?
Dan Stromberg
strombrg at dcs.nac.uci.edu
Mon Nov 7 15:58:23 EST 2005
On Mon, 07 Nov 2005 20:42:50 +0000, Gordon Burditt wrote:
>> [quoted text muted]
>
> Does O_DIRECT perhaps invoke some of the restrictions of "raw"
> device files, where the current offset and transfer size must be a
> multiple of some block size? (I don't see any mention of that in
> FreeBSD's documentation.) What is the value of blocksize at the
> time of the traceback above? I suggest keeping it well under 2G.
>
> Gordon L. Burditt
I'm not aware of such a restriction on O_DIRECT, but then I just learned
of O_DIRECT's existence earlier today. :)
The value of blocksize at the time of the error should be 1 megabyte.
More information about the Python-list
mailing list