O_DIRECT on stdin?

Alex Fraser me at privacy.net
Tue Nov 8 02:12:17 CET 2005


"Gordon Burditt" <gordon at hammy.burditt.org> wrote in message
news:11mvf2a2b8nf54b at corp.supernews.com...
> >I want to be able to read a HUGE file without having such a negative
> >impact on the system's buffer cache.
[snip]
> 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?

Very likely. It is also likely that the same applies to the destination (ie
memory) address.

Alex





More information about the Python-list mailing list