commit | 4e9563fd55ff4479f2b118d0757d121dd0cfc39c | [log] [tgz] |
---|---|---|
author | Mark Fasheh <mark.fasheh@oracle.com> | Thu Nov 01 11:37:48 2007 -0700 |
committer | Mark Fasheh <mark.fasheh@oracle.com> | Tue Nov 06 15:35:29 2007 -0800 |
tree | 604066cd76db3d40896263d4a24a7fd5d9824eb2 | |
parent | 9ea2d32f40434589ea0e136373f7d1545afb411f [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>