[virtio-9p] Add datasync to server side TFSYNC/RFSYNC for dotl
commit49594973fb38283e8c469892fe5eac2942d9bd25
authorVenkateswararao Jujjuri (JV) <jvrao@linux.vnet.ibm.com>
Fri, 22 Oct 2010 17:08:45 +0000 (22 10:08 -0700)
committerVenkateswararao Jujjuri (JV) <jvrao@linux.vnet.ibm.com>
Fri, 3 Dec 2010 00:06:47 +0000 (2 16:06 -0800)
tree7e2fabba2094a660c801dcc3340cab5224a90f57
parent6a8657528d94fa1be78d1be0821a01a251fa2de9
[virtio-9p] Add datasync to server side TFSYNC/RFSYNC for dotl

SYNOPSIS
    size[4] Tfsync tag[2] fid[4] datasync[4]

    size[4] Rfsync tag[2]

DESCRIPTION

    The Tfsync transaction transfers ("flushes") all modified in-core data of
    file identified by fid to the disk device (or other  permanent  storage
    device)  where that  file  resides.

    If datasync flag is specified data will be fleshed but does not flush
    modified metadata unless  that  metadata  is  needed  in order to allow a
    subsequent data retrieval to be correctly handled.

Signed-off-by: Venkateswararao Jujjuri <jvrao@linux.vnet.ibm.com>
hw/file-op-9p.h
hw/virtio-9p-local.c
hw/virtio-9p.c