From: Christoph Hellwig Date: Fri, 5 Feb 2010 09:57:55 +0000 (+0000) Subject: xfs: optimize log flushing in xfs_fsync X-Git-Tag: v2.6.34-rc1~278^2~2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=180040b89ee2aed88c0a0b1fcf7ada9a512b12e3;p=pandora-kernel.git xfs: optimize log flushing in xfs_fsync If we have a pinned inode it must have a log item attached to it. Usually that log item will have ili_last_lsn already set, in which case we only need to flush the log up to that LSN instead of doing a full log force. This gives speedups of about 5% in some fsync heavy workloads. Signed-off-by: Christoph Hellwig Signed-off-by: Alex Elder --- Reading git-diff-tree failed