From: Dave Chinner Date: Fri, 25 Mar 2011 22:13:08 +0000 (+1100) Subject: xfs: preallocation transactions do not need to be synchronous X-Git-Tag: v2.6.39-rc1~15^2~5 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=8287889742940cf3c416e755322090d09f2829be;p=pandora-kernel.git xfs: preallocation transactions do not need to be synchronous Preallocation and hole punch transactions are currently synchronous and this is causing performance problems in some cases. The transactions don't need to be synchronous as we don't need to guarantee the preallocation is persistent on disk until a fdatasync, fsync, sync operation occurs. If the file is opened O_SYNC or O_DATASYNC, only then should the transaction be issued synchronously. Signed-off-by: Dave Chinner Reviewed-by: Christoph Hellwig Reviewed-by: Alex Elder --- Reading git-diff-tree failed