xfs: log file size updates as part of unwritten extent conversion
authorChristoph Hellwig <hch@infradead.org>
Wed, 29 Feb 2012 09:53:50 +0000 (09:53 +0000)
committerBen Myers <bpm@sgi.com>
Mon, 5 Mar 2012 17:53:16 +0000 (11:53 -0600)
commit84803fb78237014cbbc86c0f012b273a199f4691
tree5910f6bae119115d006f65dca3d8e698ed83fb42
parent6923e686f19cb7017fc9777a10e06c2e2b2a2936
xfs: log file size updates as part of unwritten extent conversion

If we convert and unwritten extent past the current i_size log the size update
as part of the extent manipulation transactions instead of doing an unlogged
metadata update later.

Reviewed-by: Dave Chinner <dchinner@redhat.com>
Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Mark Tinguely <tinguely@sgi.com>
Signed-off-by: Ben Myers <bpm@sgi.com>
fs/xfs/xfs_aops.c
fs/xfs/xfs_iomap.c