]> rtime.felk.cvut.cz Git - mcf548x/linux.git/commit
xfs: remove incorrect log write optimization
authorChristoph Hellwig <hch@infradead.org>
Mon, 28 Jun 2010 14:34:34 +0000 (10:34 -0400)
committerAlex Elder <aelder@sgi.com>
Mon, 26 Jul 2010 18:16:45 +0000 (13:16 -0500)
commit651701d71da4dc0ac607f17a638e77906f0d280e
tree13df2162d97f9fdd7bb6e2789740fc6e8225b123
parent2727ccc950ae17375b15005403e1c35ba8fec1df
xfs: remove incorrect log write optimization

We do need a barrier for the first buffer of a split log write.
Otherwise we might incorrectly stamp the tail LSN into transactions
in the first part of the split write, or not flush data I/O before
updating the inode size.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Alex Elder <aelder@sgi.com>
fs/xfs/xfs_log.c