]> git.baikalelectronics.ru Git - kernel.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)
commit08d88bee7aea4a6fbd1e9f51936e1b262f054dee
treeffb2d00056f661073f62fa42693970a4485b87b9
parent89946080489bb7f23319f023f88fce888091c525
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