[f2fs-dev] 答复: [PATCH] f2fs: prevent newly created inode from being dirtied incorrectly

2018-01-11 Thread zhangzhikang
Hi Daeho: We had tried to msleep(1) 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

Re: [f2fs-dev] [PATCH] f2fs: remove sleep from atomic lock in __try_update_largest_extent

2018-09-07 Thread zhangzhikang
Hi Chao, I send a new patch to fix it. Thanks! Regards, Zhikang > Hi Zhikang, > > On 2018/9/8 1:31, Zhikang Zhang wrote: > > In the call trace below, we might sleep in function dput(). > > > > So we should move f2fs_mark_inode_dirty_sync to the end of > > f2fs_update_extent_tree_range(out of th

[f2fs-dev] 答复: [PATCH v2] f2fs: remove sleep from atomic lock

2018-09-09 Thread zhangzhikang
Hi Chao, Thanks for your suggestion, I will send a new patch for this. Regards, Zhikang On 2018/9/9 14:20, Chao Yu wrote: > Hi Zhikang, > > It's completely trivial, but how about changing title as below, :) > > f2fs: avoid sleeping under spin_lock > > On 2018/9/9 12:05, Zhikang Zhang wrote: >