]> git.karo-electronics.de Git - linux-beck.git/commit
xfs: log file size updates at I/O completion time
authorChristoph Hellwig <hch@infradead.org>
Tue, 13 Mar 2012 08:41:05 +0000 (08:41 +0000)
committerBen Myers <bpm@sgi.com>
Tue, 13 Mar 2012 21:30:49 +0000 (16:30 -0500)
commit281627df3eb55e1b729b9bb06fff5ff112929646
treeffb2d00056f661073f62fa42693970a4485b87b9
parent84803fb78237014cbbc86c0f012b273a199f4691
xfs: log file size updates at I/O completion time

Do not use unlogged metadata updates and the VFS dirty bit for updating
the file size after writeback.  In addition to causing various problems
with updates getting delayed for far too long this also drags in the
unscalable VFS dirty tracking, and is one of the few remaining unlogged
metadata updates.

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_aops.h