diff options
author | 2021-07-22 10:30:58 -0700 | |
---|---|---|
committer | 2021-07-25 08:42:38 -0700 | |
commit | 2eeb0dce728a7eac3e4dfe355d98af40d61f7a26 (patch) | |
tree | 1664feb29229d482c2c33001430724b2ec866b69 /fs/f2fs/data.c | |
parent | f2fs: remove allow_outplace_dio() (diff) | |
download | linux-2eeb0dce728a7eac3e4dfe355d98af40d61f7a26.tar.gz linux-2eeb0dce728a7eac3e4dfe355d98af40d61f7a26.tar.bz2 linux-2eeb0dce728a7eac3e4dfe355d98af40d61f7a26.zip |
f2fs: don't sleep while grabing nat_tree_lock
This tries to fix priority inversion in the below condition resulting in
long checkpoint delay.
f2fs_get_node_info()
- nat_tree_lock
-> sleep to grab journal_rwsem by contention
checkpoint
- waiting for nat_tree_lock
In order to let checkpoint go, let's release nat_tree_lock, if there's a
journal_rwsem contention.
Signed-off-by: Daeho Jeong <daehojeong@google.com>
Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>
Diffstat (limited to 'fs/f2fs/data.c')
0 files changed, 0 insertions, 0 deletions