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
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
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:
>