RE: çå: [f2fs-dev] [PATCH] f2fs: prevent newly created inode from being dirtied incorrectly
From: ìëí
Date: Fri Jan 12 2018 - 02:59:16 EST
Hi Zhikang,
We dropped vfs caches periodically to reproduce the kernel panic using drop cache command.
I mean you have to trigger a checkpoint right after f2fs_mark_inode_dirty_sync() for a new inode.
We don't have any special test cases for that and we just triggered to drop caches periodically.
It was not easy to reproduce that, but it always occurrs within 24 hours.
Thanks,
Â
--------- Original Message ---------
Sender : zhangzhikangÂ<zhangzhikang1@xxxxxxxxxx>
Date : 2018-01-12 16:11 (GMT+9)
Title : çå: [f2fs-dev] [PATCH] f2fs: prevent newly created inode from being dirtied incorrectly
Â
HiÂDaeho:
Â
WeÂhadÂtriedÂtoÂmsleep(10000)ÂafterÂf2fs_mark_inode_dirty_sync()ÂinÂcreatingÂaÂnewÂfile,ÂandÂthenÂwriteÂcheckpointÂinÂanotherÂthread.
ButÂitÂdidn'tÂcauseÂaÂkernelÂpanic.
Â
SoÂcanÂyouÂtellÂmeÂwhatÂtestÂcaseÂdidÂyouÂuse,ÂandÂprovideÂtheÂcallÂtrace?
Â
ThankÂyou!
Â
BestÂregards,
ZhikangÂZhang