RE: [fuse-devel] fuse try to freeze with lock held

From: Liu, Chuansheng
Date: Wed Dec 11 2013 - 19:53:44 EST


Hello Miklos,

> -----Original Message-----
> From: Miklos Szeredi [mailto:miklos@xxxxxxxxxx]
> Sent: Wednesday, December 11, 2013 11:35 PM
> To: Liu, Chuansheng
> Cc: mszeredi@xxxxxxx; fuse-devel@xxxxxxxxxxxxxxxxxxxxx;
> linux-kernel@xxxxxxxxxxxxxxx
> Subject: Re: [fuse-devel] fuse try to freeze with lock held
>
> On Wed, Nov 27, 2013 at 3:19 AM, Liu, Chuansheng
> <chuansheng.liu@xxxxxxxxx> wrote:
> > Hit the below warning when enabling the CONFIG_DEBUG_LOCK_ALLOC,
> > __fuse_request_send == >
> > request_wait_answer == >
> > wait_event_freezable == >
> > try_to_freeze()
> >
> > But here the inode->i_mutex is hold yet in vfs_readdir().
> >
> > Could anyone give some help? Thanks.
> >
>
> Mainline doesn't have wait_event_freezable() in fuse. What kernel
> variant is this?
>
Thanks your pointing out, it is my fault since it is not mainline.
èº{.nÇ+‰·Ÿ®‰­†+%ŠËlzwm…ébëæìr¸›zX§»®w¥Š{ayºÊÚë,j­¢f£¢·hš‹àz¹®w¥¢¸ ¢·¦j:+v‰¨ŠwèjØm¶Ÿÿ¾«‘êçzZ+ƒùšŽŠÝj"ú!¶iO•æ¬z·švØ^¶m§ÿðà nÆàþY&—