diff options
author | Mark Fasheh <mark.fasheh@oracle.com> | 2007-11-01 11:37:48 -0700 |
---|---|---|
committer | Mark Fasheh <mark.fasheh@oracle.com> | 2007-11-06 15:35:29 -0800 |
commit | 4e9563fd55ff4479f2b118d0757d121dd0cfc39c (patch) | |
tree | 604066cd76db3d40896263d4a24a7fd5d9824eb2 /fs/lockd/svc4proc.c | |
parent | 9ea2d32f40434589ea0e136373f7d1545afb411f (diff) | |
download | linux-3.10-4e9563fd55ff4479f2b118d0757d121dd0cfc39c.tar.gz linux-3.10-4e9563fd55ff4479f2b118d0757d121dd0cfc39c.tar.bz2 linux-3.10-4e9563fd55ff4479f2b118d0757d121dd0cfc39c.zip |
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>
Diffstat (limited to 'fs/lockd/svc4proc.c')
0 files changed, 0 insertions, 0 deletions