diff options
| author | Zhiguo Niu <zhiguo.niu@unisoc.com> | 2024-01-17 10:59:58 +0300 |
|---|---|---|
| committer | Jaegeuk Kim <jaegeuk@kernel.org> | 2024-02-06 05:58:41 +0300 |
| commit | 8e9c1a349b5e227f687fa6f047e1a785b07371ea (patch) | |
| tree | d8f7d84b0feeeae0a0d3f4c58695e01822d881cf /scripts/objdiff | |
| parent | f289e95fffd5e6b59d175cb1e653db0daad7e456 (diff) | |
| download | linux-8e9c1a349b5e227f687fa6f047e1a785b07371ea.tar.xz | |
f2fs: use IS_INODE replace IS_DNODE in f2fs_flush_inline_data
Now IS_DNODE is used in f2fs_flush_inline_data and it has some problems:
1. Just only inodes may include inline data,not all direct nodes
2. When system IO is busy, it is inefficient to lock a direct node page
but not an inode page. Besides, if this direct node page is being
locked by others for IO, f2fs_flush_inline_data will be blocked here,
which will affects the checkpoint process, this is unreasonable.
So IS_INODE should be used in f2fs_flush_inline_data.
Signed-off-by: Zhiguo Niu <zhiguo.niu@unisoc.com>
Reviewed-by: Chao Yu <chao@kernel.org>
Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>
Diffstat (limited to 'scripts/objdiff')
0 files changed, 0 insertions, 0 deletions
