xfs: make log devices with write back caches work
authorChristoph Hellwig <hch@infradead.org>
Thu, 16 Jun 2011 12:02:23 +0000 (12:02 +0000)
committerAlex Elder <aelder@sgi.com>
Thu, 16 Jun 2011 15:52:39 +0000 (10:52 -0500)
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: Christoph Hellwig <hch@lst.de>
Signed-off-by: Alex Elder <aelder@sgi.com>

No differences found