Re: [f2fs-dev] [PATCH] f2fs: use rwlock instead of rwsem for journal

2021-07-22 Thread Chao Yu
On 2021/7/22 9:41, Jaegeuk Kim wrote: This tries to fix priority inversion in the below condition resulting in long checkpoint delay. f2fs_get_node_info() - nat_tree_lock -> sleep in journal_rwsem checkpoint -

Re: [f2fs-dev] [PATCH] f2fs: use rwlock instead of rwsem for journal

2021-07-21 Thread Hillf Danton
On Wed, 21 Jul 2021 18:41:49 -0700 Jaegeuk Kim wrote: > >This tries to fix priority inversion in the below condition resulting in >long checkpoint delay. If you are right and the patch makes real sense, feel free to specify a bit more on the priority inversion you are trying to fix, and how the

[f2fs-dev] [PATCH] f2fs: use rwlock instead of rwsem for journal

2021-07-21 Thread Jaegeuk Kim
This tries to fix priority inversion in the below condition resulting in long checkpoint delay. f2fs_get_node_info() - nat_tree_lock -> sleep in journal_rwsem checkpoint - waiting for nat_tree_lock Signed-off-by: