Navigation: Linux Kernel Driver DataBase - web LKDDB: Main index - N index

CONFIG_NFS_DIRECTIO: Allow direct I/O on NFS files (EXPERIMENTAL)

General informations

The Linux kernel configuration item CONFIG_NFS_DIRECTIO has multiple definitions:

Allow direct I/O on NFS files (EXPERIMENTAL) found in fs/Kconfig

The configuration item CONFIG_NFS_DIRECTIO:

Help text

This option enables applications to perform uncached I/O on files in NFS file systems using the O_DIRECT open() flag. When O_DIRECT is set for a file, its data is not cached in the system's page cache. Data is moved to and from user-level application buffers directly. Unlike local disk-based file systems, NFS O_DIRECT has no alignment restrictions.

Unless your program is designed to use O_DIRECT properly, you are much better off allowing the NFS client to manage data caching for you. Misusing O_DIRECT can cause poor server performance or network storms. This kernel build option defaults OFF to avoid exposing system administrators unwittingly to a potentially hazardous feature.

For more details on NFS O_DIRECT, see fs/nfs/direct.c.

If unsure, say N. This reduces the size of the NFS client, and causes open() to return EINVAL if a file residing in NFS is opened with the O_DIRECT flag.

Allow direct I/O on NFS files found in fs/Kconfig

The configuration item CONFIG_NFS_DIRECTIO:

Help text

This option enables applications to perform uncached I/O on files in NFS file systems using the O_DIRECT open() flag. When O_DIRECT is set for a file, its data is not cached in the system's page cache. Data is moved to and from user-level application buffers directly. Unlike local disk-based file systems, NFS O_DIRECT has no alignment restrictions.

Unless your program is designed to use O_DIRECT properly, you are much better off allowing the NFS client to manage data caching for you. Misusing O_DIRECT can cause poor server performance or network storms. This kernel build option defaults OFF to avoid exposing system administrators unwittingly to a potentially hazardous feature.

For more details on NFS O_DIRECT, see fs/nfs/direct.c.

If unsure, say N. This reduces the size of the NFS client, and causes open() to return EINVAL if a file residing in NFS is opened with the O_DIRECT flag.

Hardware

LKDDb

Raw data from LKDDb:

Sources

This page is automaticly generated with free (libre, open) software lkddb(see lkddb-sources).

The data is retrived from:

Automatic links from Google (and ads)

Custom Search

Popular queries:

Navigation: Linux Kernel Driver DataBase - web LKDDB: main index - N index

Automatically generated (in year 2014) with gen-web-lkddb.py in lkddb-sources.