<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
</head>
<body>
<p>Hi, PSC<br>
</p>
<p>We encounter the same issue a few month ago, and git bisect says
the first bad commit is 2fb445ba. This patch is not quota related,
but it addressed the quota issue! <br>
</p>
<p>Maybe it's gcc issue?? <br>
</p>
<p>commit 2fb445babdd621b71676e40804fe98e95fc9084d<br>
Author: Xavi Hernandez <a class="moz-txt-link-rfc2396E" href="mailto:xhernandez@redhat.com"><xhernandez@redhat.com></a><br>
Date: Thu Jan 31 08:13:58 2019 +0100<br>
<br>
syncop: remove unnecessary call to gf_backtrace_save()<br>
<br>
A call to gf_backtrace_save() was done on each context switch
of a<br>
synctask. The backtrace is generated writing to the
filesystem, so it<br>
can have an important impact on latency.<br>
<br>
The generated backtrace was not used anywhere, so it's been
removed.<br>
<br>
Change-Id: I399a93b932c5b6e981c696c72c3e1ef44710ba52<br>
Updates: bz#1193929<br>
Signed-off-by: Xavi Hernandez <a class="moz-txt-link-rfc2396E" href="mailto:xhernandez@redhat.com"><xhernandez@redhat.com></a><br>
<br>
diff --git a/libglusterfs/src/glusterfs/syncop.h
b/libglusterfs/src/glusterfs/syncop.h<br>
index 7a6167b..e0f1017 100644<br>
--- a/libglusterfs/src/glusterfs/syncop.h<br>
+++ b/libglusterfs/src/glusterfs/syncop.h<br>
@@ -73,7 +73,6 @@ struct synctask {<br>
int done;<br>
<br>
struct list_head waitq; /* can wait only "once" at a time */<br>
- char btbuf[GF_BACKTRACE_LEN];<br>
};<br>
<br>
struct syncproc {<br>
diff --git a/libglusterfs/src/syncop.c b/libglusterfs/src/syncop.c<br>
index bf70daf..6206d4c 100644<br>
--- a/libglusterfs/src/syncop.c<br>
+++ b/libglusterfs/src/syncop.c<br>
@@ -327,7 +327,6 @@ synctask_yield(struct synctask *task)<br>
<br>
if (task->state != SYNCTASK_DONE) {<br>
task->state = SYNCTASK_SUSPEND;<br>
- (void)gf_backtrace_save(task->btbuf);<br>
}<br>
if (swapcontext(&task->ctx,
&task->proc->sched) < 0) {<br>
gf_msg("syncop", GF_LOG_ERROR, errno,
LG_MSG_SWAPCONTEXT_FAILED,<br>
</p>
<p><br>
</p>
<div class="moz-cite-prefix">在 2019/11/29 16:12, PSC 写道:<br>
</div>
<blockquote type="cite"
cite="mid:tencent_B6FFF490490909F86C0C4BDDC47EA2BC1B0A@qq.com">
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
Hi, I am studying on port glusterfs to ARM platform. I compiled
and ran it. Most of its functions works fine, however, when I
enable quota on any kind of volume, and mount it, and try to read
or write anything to the volume. It will run into crash, and tell
me the "Transport endpoint is not connected".
<div><br>
</div>
<div>The version of glusterfs I am using is GlusterFS 3.12.2.</div>
<div>And I test it from version 3.12.2 to 6.0. This problem was
solved on 6.0, but I didn't found any addressed Bugs relate to
quota.</div>
<div>I also do some test on x86 servers, quota works fine. </div>
<div><br>
</div>
<div>On both of x86 and ARM servers, I am using CentOS 7.6.</div>
<div><br>
</div>
<div>For stability reason, I had been told that I should use
GlusterFS 3.12.2, rather than new versions. So I need to find
out how to address this bug.</div>
<div><br>
</div>
<div>Please offer me some help. Thank you very much!!</div>
<div><br>
</div>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<pre class="moz-quote-pre" wrap="">_______________________________________________
Community Meeting Calendar:
APAC Schedule -
Every 2nd and 4th Tuesday at 11:30 AM IST
Bridge: <a class="moz-txt-link-freetext" href="https://bluejeans.com/441850968">https://bluejeans.com/441850968</a>
NA/EMEA Schedule -
Every 1st and 3rd Tuesday at 01:00 PM EDT
Bridge: <a class="moz-txt-link-freetext" href="https://bluejeans.com/441850968">https://bluejeans.com/441850968</a>
Gluster-devel mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Gluster-devel@gluster.org">Gluster-devel@gluster.org</a>
<a class="moz-txt-link-freetext" href="https://lists.gluster.org/mailman/listinfo/gluster-devel">https://lists.gluster.org/mailman/listinfo/gluster-devel</a>
</pre>
</blockquote>
</body>
</html>