• M
    9p: Include fsync support for 9p client · 7a4439c4
    M. Mohan Kumar 提交于
    Implement the fsync in the client side by marking stat field values to 'don't touch' so that server may 
    interpret it as a request to guarantee that the contents of the associated file are committed to stable 
    storage before the Rwstat message is returned.
    
    Without this patch, calling fsync on a 9p file results in "Invalid argument" error. Please check the attached 
    C program.
    
    Signed-off-by: Aneesh Kumar K.V <aneesh.kumar@linux.vnet.ibm.com> 
    Signed-off-by: M. Mohan Kumar <mohan@in.ibm.com> 
    Acked-by: NVenkateswararao Jujjuri (JV) <jvrao@linux.vnet.ibm.com>
    Signed-off-by: NEric Van Hensbergen <ericvh@gmail.com>
    
    7a4439c4
vfs_inode.c 25.7 KB