ocfs2: fix write() performance regression
authorMark Fasheh <mark.fasheh@oracle.com>
Thu, 1 Nov 2007 18:37:48 +0000 (11:37 -0700)
committerMark Fasheh <mark.fasheh@oracle.com>
Tue, 6 Nov 2007 23:35:29 +0000 (15:35 -0800)
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 <mark.fasheh@oracle.com>

No differences found