On 09/10, Chao Yu wrote:
> On 2018/9/10 16:18, Zhikang Zhang wrote:
> > In the call trace below, we might sleep in function dput().
> >
> > So in order to avoid sleeping under spin_lock, we remove
> > f2fs_mark_inode_dirty_sync
> > from __try_update_largest_extent && __drop_largest_extent.
> >
>
On 2018/9/10 16:18, Zhikang Zhang wrote:
> In the call trace below, we might sleep in function dput().
>
> So in order to avoid sleeping under spin_lock, we remove
> f2fs_mark_inode_dirty_sync
> from __try_update_largest_extent && __drop_largest_extent.
>
> BUG: sleeping function called from inv
In the call trace below, we might sleep in function dput().
So in order to avoid sleeping under spin_lock, we remove
f2fs_mark_inode_dirty_sync
from __try_update_largest_extent && __drop_largest_extent.
BUG: sleeping function called from invalid context at fs/dcache.c:796
Call trace:
dum