mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-02 23:33:54 -06:00
[virtio-9p] Introduce server side TFSYNC/RFSYNC for dotl
SYNOPSIS size[4] Tfsync tag[2] fid[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. Signed-off-by: Venkateswararao Jujjuri <jvrao@linux.vnet.ibm.com>
This commit is contained in:
parent
8f35400358
commit
b41e95d348
3 changed files with 36 additions and 0 deletions
|
@ -535,6 +535,13 @@ void pprint_pdu(V9fsPDU *pdu)
|
|||
case P9_RCLUNK:
|
||||
fprintf(llogfile, "RCLUNK: (");
|
||||
break;
|
||||
case P9_TFSYNC:
|
||||
fprintf(llogfile, "TFSYNC: (");
|
||||
pprint_int32(pdu, 0, &offset, "fid");
|
||||
break;
|
||||
case P9_RFSYNC:
|
||||
fprintf(llogfile, "RFSYNC: (");
|
||||
break;
|
||||
case P9_TLINK:
|
||||
fprintf(llogfile, "TLINK: (");
|
||||
pprint_int32(pdu, 0, &offset, "fid");
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue