diff options
author | Mark Fasheh <mark.fasheh@oracle.com> | 2007-11-12 14:09:22 -0800 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2007-11-16 09:37:01 -0800 |
commit | 78fd2b3595b7c73b109154f1abe0f1d2b85dbbe6 (patch) | |
tree | 29c0812e58c473bb2e3cea26b276334842201f24 /fs/nfs/write.c | |
parent | f0ae3188daf70ed07a4dfbeb133bef3a92838a15 (diff) |
ocfs2: fix write() performance regression
patch 4e9563fd55ff4479f2b118d0757d121dd0cfc39c in mainline.
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 <mark.fasheh@oracle.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'fs/nfs/write.c')
0 files changed, 0 insertions, 0 deletions