diff options
author | Mark Fasheh <mark.fasheh@oracle.com> | 2007-11-14 13:33:27 -0800 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2007-11-21 09:25:56 -0800 |
commit | 2e95672cd8684beddb2390ed5212ac50e1fd0dae (patch) | |
tree | 301501efe5bee4d262c6d09e8b4f060c6236ce42 /fs/mpage.c | |
parent | 0b81a81aecb120cff349eec24c2553e88c94991c (diff) |
ocfs2: fix write() performance regression
ocfs2: fix write() performance regression
patch 4e9563fd55ff4479f2b118d0757d121dd0cfc39c in mainline.
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>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'fs/mpage.c')
0 files changed, 0 insertions, 0 deletions