[Ocfs2-devel] A deadlock when system do not has sufficient memory
Joseph Qi
joseph.qi at huawei.com
Sun Aug 24 23:05:45 PDT 2014
On 2014/8/25 13:45, Sunil Mushran wrote:
> Please could you expand on that.
>
In our scenario, one node can mount multiple volumes across the
cluster.
For instance, N1 has mounted ocfs2 volumes say volume1, volume2,
volume3. And volume3 may do umount/mount during runtime of other
volumes.
> On Aug 24, 2014 10:42 PM, "Joseph Qi" <joseph.qi at huawei.com <mailto:joseph.qi at huawei.com>> wrote:
>
> On 2014/8/25 13:00, Sunil Mushran wrote:
> > Functions in dlmdomain.c are only triggered during mount. So they cannot trigger the deadlock as described above in this thread. I would leave them as is.
> >
> It is possible if mounts multiple volumes on each node.
>
> > On Aug 24, 2014 7:06 PM, "Xue jiufei" <xuejiufei at huawei.com <mailto:xuejiufei at huawei.com> <mailto:xuejiufei at huawei.com <mailto:xuejiufei at huawei.com>>> wrote:
> >
> > Hi Sunil,
> > On 2014/8/23 1:08, Sunil Mushran wrote:
> > > Allocs made via GFP_NOFS, by definition, should not trigger any reclaim from the fs.
> > > So this situation should never arise. That's why all allocs in the dlm have NOFS.
> > >
> > Thanks for your reply. I haven't noticed that before. So I think
> > dlm_query_region_handler() should also use GFP_NOFS instead of GFP_KERNEL,
> > right?
> >
> > Thanks.
> > Xuejiufei
> > >
> > > _______________________________________________
> > > Ocfs2-devel mailing list
> > > Ocfs2-devel at oss.oracle.com <mailto:Ocfs2-devel at oss.oracle.com> <mailto:Ocfs2-devel at oss.oracle.com <mailto:Ocfs2-devel at oss.oracle.com>>
> > > https://oss.oracle.com/mailman/listinfo/ocfs2-devel
> > >
> >
> >
> >
> >
> > _______________________________________________
> > Ocfs2-devel mailing list
> > Ocfs2-devel at oss.oracle.com <mailto:Ocfs2-devel at oss.oracle.com>
> > https://oss.oracle.com/mailman/listinfo/ocfs2-devel
> >
>
>
More information about the Ocfs2-devel
mailing list