Commit 1c4d94e4 authored by Fengnan Chang's avatar Fengnan Chang Committed by Greg Kroah-Hartman
Browse files

f2fs: compress: remove unneeded read when rewrite whole cluster



[ Upstream commit 7eab7a69 ]

when we overwrite the whole page in cluster, we don't need read original
data before write, because after write_end(), writepages() can help to
load left data in that cluster.

Signed-off-by: default avatarFengnan Chang <changfengnan@vivo.com>
Signed-off-by: default avatarChao Yu <yuchao0@huawei.com>
Acked-by: default avatarChao Yu <yuchao0@huawei.com>
Signed-off-by: default avatarJaegeuk Kim <jaegeuk@kernel.org>
Signed-off-by: default avatarSasha Levin <sashal@kernel.org>
parent 2c4741d1
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment