• M. Mohan Kumar's avatar
    9p: Include fsync support for 9p client · 7a4439c4
    M. Mohan Kumar authored
    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: default avatarVenkateswararao Jujjuri (JV) <jvrao@linux.vnet.ibm.com>
    Signed-off-by: default avatarEric Van Hensbergen <ericvh@gmail.com>
    
    7a4439c4
vfs_file.c 6.87 KB