diff options
author | jvrao <jvrao@linux.vnet.ibm.com> | 2010-08-24 11:43:28 -0400 |
---|---|---|
committer | Eric Van Hensbergen <ericvh@gmail.com> | 2010-10-28 10:08:45 -0400 |
commit | 3e24ad2ff9d477f949acd0982cf12e58812210cb (patch) | |
tree | f234e6df673e7d2a6e394949dbe7f98ed6032a8c /fs/9p/vfs_file.c | |
parent | 4f7ebe807242898ee08ed732d56982874442c304 (diff) |
9p: Add a Direct IO support for non-cached operations.
The presence of v9fs_direct_IO() in the address space ops vector
allowes open() O_DIRECT flags which would have failed otherwise.
In the non-cached mode, we shunt off direct read and write requests before
the VFS gets them, so this method should never be called.
Direct IO is not 'yet' supported in the cached mode. Hence when
this routine is called through generic_file_aio_read(), the read/write fails
with an error.
Signed-off-by: Venkateswararao Jujjuri <jvrao@linux.vnet.ibm.com>
Signed-off-by: Eric Van Hensbergen <ericvh@gmail.com>
Diffstat (limited to 'fs/9p/vfs_file.c')
0 files changed, 0 insertions, 0 deletions