summary refs log tree commit diff stats
path: root/fsdev/qemu-fsdev.c
diff options
context:
space:
mode:
authorVenkateswararao Jujjuri (JV) <jvrao@linux.vnet.ibm.com>2010-09-19 10:47:11 -0700
committerAnthony Liguori <aliguori@us.ibm.com>2010-10-20 12:10:58 -0500
commit0f8151cb75e09c9a7de24a37f22166e46a9eaf7b (patch)
treefeb70b137196bc20f6d07176ecf5391ba9e0cbdc /fsdev/qemu-fsdev.c
parentdf0973a4650d4889463ff66cb6fbdf0ab8090c70 (diff)
downloadfocaccia-qemu-0f8151cb75e09c9a7de24a37f22166e46a9eaf7b.tar.gz
focaccia-qemu-0f8151cb75e09c9a7de24a37f22166e46a9eaf7b.zip
[virtio-9p] Ignore O_DIRECT hint from client.
The O_DIRECT flag imposes alignment restrictions on the length and address
of userspace buffers and the file offset of I/Os.

While VirtFS/9P has plans to implement O_DIRECT behavior on the server,
for now we will stick to a behavior like NFS by bypassing the page cache
only on the client. Server may still cache the I/O.

Signed-off-by: Venkateswararao Jujjuri <jvrao@linux.vnet.ibm.com>
Diffstat (limited to 'fsdev/qemu-fsdev.c')
0 files changed, 0 insertions, 0 deletions