Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

f2fs: give scheduling point in shrinking path

It needs to give a chance to be rescheduled while shrinking slab entries.

Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>

+1
+1
fs/f2fs/extent_cache.c
··· 569 569 570 570 if (node_cnt + tree_cnt >= nr_shrink) 571 571 goto unlock_out; 572 + cond_resched(); 572 573 } 573 574 up_write(&sbi->extent_tree_lock); 574 575