On 2018/6/21 14:49, Yunlei He wrote:
> This patch fix hungtask problem which can be reproduced as follow:
> 
> Thread 0~3:
> while true
> do
>         touch /xxx/test/file_xxx
> done
> 
> Thread 4 write a new checkpoint every three seconds.
> 
> In the meantime, fio start 16 threads for randwrite.
> 
> With my debug info, cycles num will exceed 1000 in function
> f2fs_sync_dirty_inodes, and most of cycle will be dropped
> into congestion_wait() and sleep more than 20ms. Cycles num
> reduced to 3 with this patch.
> 
> Signed-off-by: Yunlei He <heyun...@huawei.com>

Reviewed-by: Chao Yu <yuch...@huawei.com>

Thanks,


------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Linux-f2fs-devel mailing list
Linux-f2fs-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/linux-f2fs-devel

Reply via email to