From: Mark Fasheh Date: Thu, 1 Nov 2007 18:37:48 +0000 (-0700) Subject: ocfs2: fix write() performance regression X-Git-Tag: v2.6.24-rc3~176^2~2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=4e9563fd55ff4479f2b118d0757d121dd0cfc39c;p=pandora-kernel.git ocfs2: fix write() performance regression On file systems which don't support sparse files, Ocfs2_map_page_blocks() was reading blocks on appending writes. This caused write performance to suffer dramatically. Fix this by detecting an appending write on a nonsparse fs and skipping the read. Signed-off-by: Mark Fasheh --- Reading git-diff-tree failed