diff options
author | Chao Yu <chao@kernel.org> | 2022-05-06 18:30:31 +0800 |
---|---|---|
committer | Jaegeuk Kim <jaegeuk@kernel.org> | 2022-05-06 14:26:33 -0700 |
commit | 71419129625a50cfb5e3c5cc215948a3f98c806d (patch) | |
tree | 1c98cc9d1aa6447472d0f9eaa72237fccdb44a27 /fs/ksmbd/nterr.h | |
parent | 6b8beca0edd32075a769bfe4178ca00c0dcd22a9 (diff) | |
download | linux-71419129625a50cfb5e3c5cc215948a3f98c806d.tar.bz2 |
f2fs: give priority to select unpinned section for foreground GC
Previously, during foreground GC, if victims contain data of pinned file,
it will fail migration of the data, and meanwhile i_gc_failures of that
pinned file may increase, and when it exceeds threshold, GC will unpin
the file, result in breaking pinfile's semantics.
In order to mitigate such condition, let's record and skip section which
has pinned file's data and give priority to select unpinned one.
Signed-off-by: Chao Yu <chao.yu@oppo.com>
Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>
Diffstat (limited to 'fs/ksmbd/nterr.h')
0 files changed, 0 insertions, 0 deletions