diff options
author | Yangtao Li <frank.li@vivo.com> | 2022-11-18 06:46:00 +0300 |
---|---|---|
committer | Jaegeuk Kim <jaegeuk@kernel.org> | 2022-11-28 23:50:19 +0300 |
commit | 48c08c51f938d955dd8f5b8972bc29faa4c9556f (patch) | |
tree | c39c030f05efa11f15c3a2cead1c14022e4251bb /lib/digsig.c | |
parent | e219aecfd4b766c4e878a3769057e9809f7fcadc (diff) | |
download | linux-48c08c51f938d955dd8f5b8972bc29faa4c9556f.tar.xz |
f2fs: init discard policy after thread wakeup
Under the current logic, after the discard thread wakes up, it will not
run according to the expected policy, but will use the expected policy
before sleep. Move the strategy selection to after the thread wakes up,
so that the running state of the thread meets expectations.
Signed-off-by: Yangtao Li <frank.li@vivo.com>
Reviewed-by: Chao Yu <chao@kernel.org>
Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>
Diffstat (limited to 'lib/digsig.c')
0 files changed, 0 insertions, 0 deletions