• Christoph Hellwig's avatar
    xfs: make log devices with write back caches work · a27a263b
    Christoph Hellwig authored
    There's no reason not to support cache flushing on external log devices.
    The only thing this really requires is flushing the data device first
    both in fsync and log commits.  A side effect is that we also have to
    remove the barrier write test during mount, which has been superflous
    since the new FLUSH+FUA code anyway.  Also use the chance to flush the
    RT subvolume write cache before the fsync commit, which is required
    for correct semantics.
    Signed-off-by: default avatarChristoph Hellwig <hch@lst.de>
    Signed-off-by: default avatarAlex Elder <aelder@sgi.com>
    a27a263b
xfs_log.c 105 KB