<p dir="ltr">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.</p>
<div class="gmail_quote">On Aug 24, 2014 7:06 PM, &quot;Xue jiufei&quot; &lt;<a href="mailto:xuejiufei@huawei.com">xuejiufei@huawei.com</a>&gt; wrote:<br type="attribution"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Hi Sunil,<br>
On 2014/8/23 1:08, Sunil Mushran wrote:<br>
&gt; Allocs made via GFP_NOFS, by definition, should not trigger any reclaim from the fs.<br>
&gt; So this situation should never arise. That&#39;s why all allocs in the dlm have NOFS.<br>
&gt;<br>
Thanks for your reply. I haven&#39;t noticed that before. So I think<br>
dlm_query_region_handler() should also use GFP_NOFS instead of GFP_KERNEL,<br>
right?<br>
<br>
Thanks.<br>
Xuejiufei<br>
&gt;<br>
&gt; _______________________________________________<br>
&gt; Ocfs2-devel mailing list<br>
&gt; <a href="mailto:Ocfs2-devel@oss.oracle.com">Ocfs2-devel@oss.oracle.com</a><br>
&gt; <a href="https://oss.oracle.com/mailman/listinfo/ocfs2-devel" target="_blank">https://oss.oracle.com/mailman/listinfo/ocfs2-devel</a><br>
&gt;<br>
<br>
<br>
</blockquote></div>