summaryrefslogtreecommitdiffstats
path: root/fs/ocfs2/slot_map.c
diff options
context:
space:
mode:
authorMark Fasheh <mark.fasheh@oracle.com>2007-11-01 19:37:48 +0100
committerMark Fasheh <mark.fasheh@oracle.com>2007-11-07 00:35:29 +0100
commit4e9563fd55ff4479f2b118d0757d121dd0cfc39c (patch)
tree604066cd76db3d40896263d4a24a7fd5d9824eb2 /fs/ocfs2/slot_map.c
parentocfs2: Commit journal on sync writes (diff)
downloadlinux-4e9563fd55ff4479f2b118d0757d121dd0cfc39c.tar.xz
linux-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/ocfs2/slot_map.c')
0 files changed, 0 insertions, 0 deletions