Skip to content
Commit 4e9563fd authored by Mark Fasheh's avatar Mark Fasheh
Browse files

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: default avatarMark Fasheh <mark.fasheh@oracle.com>
parent 9ea2d32f
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment