Skip to main content

A Python interface to read/write on a direct I/O context.

Project description

This is an interface to read() and write() on a direct I/O context (O_DIRECT flag) from the Python programming language.

These system calls are Linux system calls to * open a file with the O_DIRECT flag, and close it. * read or write from the file ignores the buffer cache.

The O_DIRECT flag introduced in SGI IRIX, where it has alignment restrictions similar to those of Linux 2.4. FreeBSD 4.x introduced a flag of the same name, but without alignment restrictions. Support was added under Linux in kernel version 2.4.10. Older Linux kernels simply ignore this flag.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

directio-1.3.tar.gz (3.6 kB view hashes)

Uploaded Source

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page