• T
    NFS: Getattr doesn't require data sync semantics · 79566ef0
    Trond Myklebust 提交于
    When retrieving stat() information, NFS unfortunately does require us to
    sync writes to disk in order to ensure that mtime and ctime are up to
    date. However we shouldn't have to ensure that those writes are persisted.
    
    Relaxing that requirement does mean that we may see an mtime/ctime change
    if the server reboots and forces us to replay all writes.
    
    The exception to this rule are pNFS clients that are required to send
    layoutcommit, however that is dealt with by the call to pnfs_sync_inode()
    in _nfs_revalidate_inode().
    Signed-off-by: NTrond Myklebust <trond.myklebust@primarydata.com>
    79566ef0
inode.c 57.4 KB