aboutsummaryrefslogtreecommitdiff
path: root/mm/swap.c
diff options
context:
space:
mode:
authorMark Fasheh <mark.fasheh@oracle.com>2007-11-01 11:37:48 -0700
committerMark Fasheh <mark.fasheh@oracle.com>2007-11-06 15:35:29 -0800
commit4e9563fd55ff4479f2b118d0757d121dd0cfc39c (patch)
tree604066cd76db3d40896263d4a24a7fd5d9824eb2 /mm/swap.c
parent9ea2d32f40434589ea0e136373f7d1545afb411f (diff)
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 'mm/swap.c')
0 files changed, 0 insertions, 0 deletions