xfs: growfs should use synchronous transactions
authorChristoph Hellwig <hch@lst.de>
Thu, 5 Feb 2015 00:13:21 +0000 (11:13 +1100)
committerDave Chinner <david@fromorbit.com>
Thu, 5 Feb 2015 00:13:21 +0000 (11:13 +1100)
commitf8079b850c9e130423829c919f3c0802e677099d
tree453bfde1b546d1bbee9981965c2eb8d64b2cb2db
parent9b94fcc39822b450af823b3d8cbef6b53ce87ed9
xfs: growfs should use synchronous transactions

Growfs updates the secondary superblocks using synchronous unlogged
buffer writes after committing the updates to the primary superblock.

Mark the transaction to the primary superblock as synchronous so that
we guarantee it is committed to disk before we update the secondary
superblocks.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Dave Chinner <dchinner@redhat.com>
Signed-off-by: Dave Chinner <david@fromorbit.com>
fs/xfs/xfs_fsops.c