• C
    [XFS] write barrier support Issue all log sync operations as ordered · f538d4da
    Christoph Hellwig 提交于
    writes.  In addition flush the disk cache on fsync if the sync cached
    operation didn't sync the log to disk (this requires some additional
    bookeping in the transaction and log code). If the device doesn't claim to
    support barriers, the filesystem has an extern log volume or the trial
    superblock write with barriers enabled failed we disable barriers and
    print a warning.  We should probably fail the mount completely, but that
    could lead to nasty boot failures for the root filesystem.  Not enabled by
    default yet, needs more destructive testing first.
    
    SGI-PV: 912426
    SGI-Modid: xfs-linux:xfs-kern:198723a
    Signed-off-by: NChristoph Hellwig <hch@sgi.com>
    Signed-off-by: NNathan Scott <nathans@sgi.com>
    f538d4da
xfs_super.c 22.6 KB