• S
    GFS2: Split data write & wait in fsync · 2f0264d5
    Steven Whitehouse 提交于
    Now that the data writing is part of fsync proper, we can split
    the waiting part out and do it later on. This reduces the
    number of waits that we do during fsync on average.
    
    There is also no need to take the i_mutex unless we are flushing
    metadata to disk, so we can move that to within the metadata
    flushing code.
    Signed-off-by: NSteven Whitehouse <swhiteho@redhat.com>
    2f0264d5
file.c 27.2 KB