f2fs: inherit mtime of original block during GC
authorChao Yu <yuchao0@huawei.com>
Tue, 4 Aug 2020 13:14:47 +0000 (21:14 +0800)
committerJaegeuk Kim <jaegeuk@kernel.org>
Thu, 10 Sep 2020 21:03:30 +0000 (14:03 -0700)
commitc5d02785c59dd8ee20031d742003daff8df73e2d
tree7de44975b613dd2b6396f4f1a3e104686ee6e12e
parent6f3a01ae9b72d5b7c57632632b8c8088db11e7ab
f2fs: inherit mtime of original block during GC

Don't let f2fs inner GC ruins original aging degree of segment.

Signed-off-by: Chao Yu <yuchao0@huawei.com>
Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>
fs/f2fs/data.c
fs/f2fs/f2fs.h
fs/f2fs/gc.c
fs/f2fs/segment.c