]> git.baikalelectronics.ru Git - kernel.git/commit
f2fs: let FI_OPU_WRITE override FADVISE_COLD_BIT
authorWeichao Guo <guoweichao@oppo.com>
Wed, 7 Sep 2022 02:38:48 +0000 (10:38 +0800)
committerJaegeuk Kim <jaegeuk@kernel.org>
Tue, 4 Oct 2022 20:31:43 +0000 (13:31 -0700)
commit7837e6485e913c5f2e8f3a74319671a5c78b1812
treeb366584e10dceecae0d9977eaa8b049ee6f36eaf
parent19c47cf7b93156b6a6399ff0b31810c1f5b2a4b4
f2fs: let FI_OPU_WRITE override FADVISE_COLD_BIT

Cold files may be fragmented due to SSR, defragment is needed as
sequential reads are dominant scenarios of these files. FI_OPU_WRITE
should override FADVISE_COLD_BIT to avoid defragment fails.

Signed-off-by: Weichao Guo <guoweichao@oppo.com>
Signed-off-by: Chao Yu <chao@kernel.org>
Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>
fs/f2fs/data.c