<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40">

<head>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=us-ascii">
<meta name=Generator content="Microsoft Word 12 (filtered medium)">
<style>
<!--
 /* Font Definitions */
 @font-face
        {font-family:SimSun;
        panose-1:2 1 6 0 3 1 1 1 1 1;}
@font-face
        {font-family:"Cambria Math";
        panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
        {font-family:SimSun;
        panose-1:2 1 6 0 3 1 1 1 1 1;}
@font-face
        {font-family:Tahoma;
        panose-1:2 11 6 4 3 5 4 4 2 4;}
 /* Style Definitions */
 p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0cm;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:"Times New Roman","serif";}
h1
        {mso-style-priority:9;
        mso-style-link:"\6807\9898 1 Char";
        margin-top:30.0pt;
        margin-right:0cm;
        margin-bottom:4.0pt;
        margin-left:0cm;
        text-align:justify;
        text-justify:inter-ideograph;
        border:none;
        padding:0cm;
        font-size:12.0pt;
        font-family:"Cambria","serif";
        color:#365F91;}
h2
        {mso-style-priority:9;
        mso-style-link:"\6807\9898 2 Char";
        margin-top:10.0pt;
        margin-right:0cm;
        margin-bottom:4.0pt;
        margin-left:0cm;
        text-align:justify;
        text-justify:inter-ideograph;
        border:none;
        padding:0cm;
        font-size:12.0pt;
        font-family:"Cambria","serif";
        color:#365F91;
        font-weight:normal;}
h3
        {mso-style-priority:9;
        mso-style-link:"\6807\9898 3 Char";
        margin-top:10.0pt;
        margin-right:0cm;
        margin-bottom:4.0pt;
        margin-left:0cm;
        text-align:justify;
        text-justify:inter-ideograph;
        border:none;
        padding:0cm;
        font-size:12.0pt;
        font-family:"Cambria","serif";
        color:#4F81BD;
        font-weight:normal;}
h4
        {mso-style-priority:9;
        mso-style-link:"\6807\9898 4 Char";
        margin-top:10.0pt;
        margin-right:0cm;
        margin-bottom:4.0pt;
        margin-left:0cm;
        text-align:justify;
        text-justify:inter-ideograph;
        border:none;
        padding:0cm;
        font-size:12.0pt;
        font-family:"Cambria","serif";
        color:#4F81BD;
        font-weight:normal;
        font-style:italic;}
h5
        {mso-style-priority:9;
        mso-style-link:"\6807\9898 5 Char";
        margin-top:10.0pt;
        margin-right:0cm;
        margin-bottom:4.0pt;
        margin-left:0cm;
        text-align:justify;
        text-justify:inter-ideograph;
        font-size:10.0pt;
        font-family:"Cambria","serif";
        color:#4F81BD;
        font-weight:normal;}
h6
        {mso-style-priority:9;
        mso-style-link:"\6807\9898 6 Char";
        margin-top:14.0pt;
        margin-right:0cm;
        margin-bottom:5.0pt;
        margin-left:0cm;
        text-align:justify;
        text-justify:inter-ideograph;
        font-size:10.0pt;
        font-family:"Cambria","serif";
        color:#4F81BD;
        font-weight:normal;
        font-style:italic;}
p.MsoHeading7, li.MsoHeading7, div.MsoHeading7
        {mso-style-priority:9;
        mso-style-link:"\6807\9898 7 Char";
        margin-top:16.0pt;
        margin-right:0cm;
        margin-bottom:5.0pt;
        margin-left:0cm;
        text-align:justify;
        text-justify:inter-ideograph;
        font-size:10.0pt;
        font-family:"Cambria","serif";
        color:#9BBB59;
        font-weight:bold;}
p.MsoHeading8, li.MsoHeading8, div.MsoHeading8
        {mso-style-priority:9;
        mso-style-link:"\6807\9898 8 Char";
        margin-top:16.0pt;
        margin-right:0cm;
        margin-bottom:5.0pt;
        margin-left:0cm;
        text-align:justify;
        text-justify:inter-ideograph;
        font-size:10.0pt;
        font-family:"Cambria","serif";
        color:#9BBB59;
        font-weight:bold;
        font-style:italic;}
p.MsoHeading9, li.MsoHeading9, div.MsoHeading9
        {mso-style-priority:9;
        mso-style-link:"\6807\9898 9 Char";
        margin-top:16.0pt;
        margin-right:0cm;
        margin-bottom:5.0pt;
        margin-left:0cm;
        text-align:justify;
        text-justify:inter-ideograph;
        font-size:10.0pt;
        font-family:"Cambria","serif";
        color:#9BBB59;
        font-style:italic;}
p.MsoCaption, li.MsoCaption, div.MsoCaption
        {mso-style-priority:35;
        margin:0cm;
        margin-bottom:.0001pt;
        text-align:justify;
        text-justify:inter-ideograph;
        font-size:9.0pt;
        font-family:"Times New Roman","serif";
        font-weight:bold;}
p.MsoTitle, li.MsoTitle, div.MsoTitle
        {mso-style-priority:10;
        mso-style-link:"\6807\9898 Char";
        margin:0cm;
        margin-bottom:.0001pt;
        text-align:center;
        border:none;
        padding:0cm;
        font-size:30.0pt;
        font-family:"Cambria","serif";
        color:#243F60;
        font-style:italic;}
p.MsoSubtitle, li.MsoSubtitle, div.MsoSubtitle
        {mso-style-priority:11;
        mso-style-link:"\526F\6807\9898 Char";
        margin-top:10.0pt;
        margin-right:0cm;
        margin-bottom:45.0pt;
        margin-left:0cm;
        text-align:right;
        font-size:12.0pt;
        font-family:"Calibri","sans-serif";
        font-style:italic;}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:purple;
        text-decoration:underline;}
strong
        {mso-style-priority:22;
        letter-spacing:0pt;}
em
        {mso-style-priority:20;
        color:#5A5A5A;
        font-weight:bold;}
p.MsoNoSpacing, li.MsoNoSpacing, div.MsoNoSpacing
        {mso-style-priority:1;
        mso-style-link:"\65E0\95F4\9694 Char";
        margin:0cm;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:"Times New Roman","serif";}
p.MsoListParagraph, li.MsoListParagraph, div.MsoListParagraph
        {mso-style-priority:34;
        margin-top:0cm;
        margin-right:0cm;
        margin-bottom:0cm;
        margin-left:36.0pt;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:"Times New Roman","serif";}
p.MsoListParagraphCxSpFirst, li.MsoListParagraphCxSpFirst, div.MsoListParagraphCxSpFirst
        {mso-style-priority:34;
        mso-style-type:export-only;
        margin-top:0cm;
        margin-right:0cm;
        margin-bottom:0cm;
        margin-left:36.0pt;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:"Times New Roman","serif";}
p.MsoListParagraphCxSpMiddle, li.MsoListParagraphCxSpMiddle, div.MsoListParagraphCxSpMiddle
        {mso-style-priority:34;
        mso-style-type:export-only;
        margin-top:0cm;
        margin-right:0cm;
        margin-bottom:0cm;
        margin-left:36.0pt;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:"Times New Roman","serif";}
p.MsoListParagraphCxSpLast, li.MsoListParagraphCxSpLast, div.MsoListParagraphCxSpLast
        {mso-style-priority:34;
        mso-style-type:export-only;
        margin-top:0cm;
        margin-right:0cm;
        margin-bottom:0cm;
        margin-left:36.0pt;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:"Times New Roman","serif";}
p.MsoQuote, li.MsoQuote, div.MsoQuote
        {mso-style-priority:29;
        mso-style-link:"\5F15\7528 Char";
        margin:0cm;
        margin-bottom:.0001pt;
        font-size:10.0pt;
        font-family:"Cambria","serif";
        color:#5A5A5A;
        font-style:italic;}
p.MsoIntenseQuote, li.MsoIntenseQuote, div.MsoIntenseQuote
        {mso-style-priority:30;
        mso-style-link:"\660E\663E\5F15\7528 Char";
        margin-top:16.0pt;
        margin-right:72.0pt;
        margin-bottom:16.0pt;
        margin-left:72.0pt;
        line-height:125%;
        background:#4F81BD;
        border:none;
        padding:0cm;
        font-size:12.0pt;
        font-family:"Cambria","serif";
        color:white;
        font-style:italic;}
span.MsoSubtleEmphasis
        {mso-style-priority:19;
        color:#5A5A5A;
        font-style:italic;}
span.MsoIntenseEmphasis
        {mso-style-priority:21;
        color:#4F81BD;
        font-weight:bold;
        font-style:italic;}
span.MsoSubtleReference
        {mso-style-priority:31;
        color:windowtext;
        text-decoration:underline;}
span.MsoIntenseReference
        {mso-style-priority:32;
        color:#76923C;
        font-weight:bold;
        text-decoration:underline;}
span.MsoBookTitle
        {mso-style-priority:33;
        font-family:"Cambria","serif";
        color:windowtext;
        font-weight:bold;
        font-style:italic;}
p.MsoTocHeading, li.MsoTocHeading, div.MsoTocHeading
        {mso-style-priority:39;
        margin-top:30.0pt;
        margin-right:0cm;
        margin-bottom:4.0pt;
        margin-left:0cm;
        text-align:justify;
        text-justify:inter-ideograph;
        border:none;
        padding:0cm;
        font-size:12.0pt;
        font-family:"Cambria","serif";
        color:#365F91;
        font-weight:bold;}
span.1Char
        {mso-style-name:"\6807\9898 1 Char";
        mso-style-priority:9;
        mso-style-link:"\6807\9898 1";
        font-family:"Cambria","serif";
        color:#365F91;
        font-weight:bold;}
span.2Char
        {mso-style-name:"\6807\9898 2 Char";
        mso-style-priority:9;
        mso-style-link:"\6807\9898 2";
        font-family:"Cambria","serif";
        color:#365F91;}
span.3Char
        {mso-style-name:"\6807\9898 3 Char";
        mso-style-priority:9;
        mso-style-link:"\6807\9898 3";
        font-family:"Cambria","serif";
        color:#4F81BD;}
span.4Char
        {mso-style-name:"\6807\9898 4 Char";
        mso-style-priority:9;
        mso-style-link:"\6807\9898 4";
        font-family:"Cambria","serif";
        color:#4F81BD;
        font-style:italic;}
span.5Char
        {mso-style-name:"\6807\9898 5 Char";
        mso-style-priority:9;
        mso-style-link:"\6807\9898 5";
        font-family:"Cambria","serif";
        color:#4F81BD;}
span.6Char
        {mso-style-name:"\6807\9898 6 Char";
        mso-style-priority:9;
        mso-style-link:"\6807\9898 6";
        font-family:"Cambria","serif";
        color:#4F81BD;
        font-style:italic;}
span.7Char
        {mso-style-name:"\6807\9898 7 Char";
        mso-style-priority:9;
        mso-style-link:"\6807\9898 7";
        font-family:"Cambria","serif";
        color:#9BBB59;
        font-weight:bold;}
span.8Char
        {mso-style-name:"\6807\9898 8 Char";
        mso-style-priority:9;
        mso-style-link:"\6807\9898 8";
        font-family:"Cambria","serif";
        color:#9BBB59;
        font-weight:bold;
        font-style:italic;}
span.9Char
        {mso-style-name:"\6807\9898 9 Char";
        mso-style-priority:9;
        mso-style-link:"\6807\9898 9";
        font-family:"Cambria","serif";
        color:#9BBB59;
        font-style:italic;}
span.Char
        {mso-style-name:"\6807\9898 Char";
        mso-style-priority:10;
        mso-style-link:\6807\9898;
        font-family:"Cambria","serif";
        color:#243F60;
        font-style:italic;}
span.Char0
        {mso-style-name:"\526F\6807\9898 Char";
        mso-style-priority:11;
        mso-style-link:\526F\6807\9898;
        font-family:"Calibri","sans-serif";
        font-style:italic;}
span.Char1
        {mso-style-name:"\65E0\95F4\9694 Char";
        mso-style-priority:1;
        mso-style-link:\65E0\95F4\9694;
        font-family:SimSun;}
span.Char2
        {mso-style-name:"\5F15\7528 Char";
        mso-style-priority:29;
        mso-style-link:\5F15\7528;
        font-family:"Cambria","serif";
        color:#5A5A5A;
        font-style:italic;}
span.Char3
        {mso-style-name:"\660E\663E\5F15\7528 Char";
        mso-style-priority:30;
        mso-style-link:\660E\663E\5F15\7528;
        font-family:"Cambria","serif";
        color:white;
        background:#4F81BD;
        font-style:italic;}
span.EmailStyle46
        {mso-style-type:personal-reply;
        font-family:"Times New Roman","serif";
        color:#1F497D;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-size:10.0pt;}
@page Section1
        {size:612.0pt 792.0pt;
        margin:72.0pt 90.0pt 72.0pt 90.0pt;}
div.Section1
        {page:Section1;}
-->
</style>
<!--[if gte mso 9]><xml>
 <o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
 <o:shapelayout v:ext="edit">
  <o:idmap v:ext="edit" data="1" />
 </o:shapelayout></xml><![endif]-->
</head>

<body lang=ZH-CN link=blue vlink=purple>

<div class=Section1>

<p class=MsoNormal><span lang=EN-US style='font-size:10.5pt;color:#1F497D'>Build
rpm failed<o:p></o:p></span></p>

<p class=MsoNormal><span lang=EN-US style='font-size:10.5pt;color:#1F497D'><o:p>&nbsp;</o:p></span></p>

<p class=MsoNormal><span lang=EN-US style='font-size:10.5pt;color:#1F497D'>+
/usr/lib/rpm/check-rpaths /usr/lib/rpm/check-buildroot<o:p></o:p></span></p>

<p class=MsoNormal><span lang=EN-US style='font-size:10.5pt;color:#1F497D'>*******************************************************************************<o:p></o:p></span></p>

<p class=MsoNormal><span lang=EN-US style='font-size:10.5pt;color:#1F497D'>*<o:p></o:p></span></p>

<p class=MsoNormal><span lang=EN-US style='font-size:10.5pt;color:#1F497D'>*
WARNING: 'check-rpaths' detected a broken RPATH and will cause 'rpmbuild'<o:p></o:p></span></p>

<p class=MsoNormal><span lang=EN-US style='font-size:10.5pt;color:#1F497D'>*&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
to fail. To ignore these errors, you can set the '$QA_RPATHS'<o:p></o:p></span></p>

<p class=MsoNormal><span lang=EN-US style='font-size:10.5pt;color:#1F497D'>*&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
environment variable which is a bitmask allowing the values<o:p></o:p></span></p>

<p class=MsoNormal><span lang=EN-US style='font-size:10.5pt;color:#1F497D'>*&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
below. The current value of QA_RPATHS is 0x0000.<o:p></o:p></span></p>

<p class=MsoNormal><span lang=EN-US style='font-size:10.5pt;color:#1F497D'>*<o:p></o:p></span></p>

<p class=MsoNormal><span lang=EN-US style='font-size:10.5pt;color:#1F497D'>*&nbsp;&nbsp;&nbsp;
0x0001 ... standard RPATHs (e.g. /usr/lib); such RPATHs are a minor<o:p></o:p></span></p>

<p class=MsoNormal><span lang=EN-US style='font-size:10.5pt;color:#1F497D'>*&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
issue but are introducing redundant searchpaths without<o:p></o:p></span></p>

<p class=MsoNormal><span lang=EN-US style='font-size:10.5pt;color:#1F497D'>*&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
providing a benefit. They can also cause errors in multilib<o:p></o:p></span></p>

<p class=MsoNormal><span lang=EN-US style='font-size:10.5pt;color:#1F497D'>*&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
environments.<o:p></o:p></span></p>

<p class=MsoNormal><span lang=EN-US style='font-size:10.5pt;color:#1F497D'>*&nbsp;&nbsp;&nbsp;
0x0002 ... invalid RPATHs; these are RPATHs which are neither absolute<o:p></o:p></span></p>

<p class=MsoNormal><span lang=EN-US style='font-size:10.5pt;color:#1F497D'>*&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
nor relative filenames and can therefore be a SECURITY risk<o:p></o:p></span></p>

<p class=MsoNormal><span lang=EN-US style='font-size:10.5pt;color:#1F497D'>*&nbsp;&nbsp;&nbsp;
0x0004 ... insecure RPATHs; these are relative RPATHs which are a<o:p></o:p></span></p>

<p class=MsoNormal><span lang=EN-US style='font-size:10.5pt;color:#1F497D'>*&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
SECURITY risk<o:p></o:p></span></p>

<p class=MsoNormal><span lang=EN-US style='font-size:10.5pt;color:#1F497D'>*&nbsp;&nbsp;&nbsp;
0x0008 ... the special '$ORIGIN' RPATHs are appearing after other<o:p></o:p></span></p>

<p class=MsoNormal><span lang=EN-US style='font-size:10.5pt;color:#1F497D'>*&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
RPATHs; this is just a minor issue but usually unwanted<o:p></o:p></span></p>

<p class=MsoNormal><span lang=EN-US style='font-size:10.5pt;color:#1F497D'>*&nbsp;&nbsp;&nbsp;
0x0010 ... the RPATH is empty; there is no reason for such RPATHs<o:p></o:p></span></p>

<p class=MsoNormal><span lang=EN-US style='font-size:10.5pt;color:#1F497D'>*&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
and they cause unneeded work while loading libraries<o:p></o:p></span></p>

<p class=MsoNormal><span lang=EN-US style='font-size:10.5pt;color:#1F497D'>*&nbsp;&nbsp;&nbsp;
0x0020 ... an RPATH references '..' of an absolute path; this will break<o:p></o:p></span></p>

<p class=MsoNormal><span lang=EN-US style='font-size:10.5pt;color:#1F497D'>*&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
the functionality when the path before '..' is a symlink<o:p></o:p></span></p>

<p class=MsoNormal><span lang=EN-US style='font-size:10.5pt;color:#1F497D'>*&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
<o:p></o:p></span></p>

<p class=MsoNormal><span lang=EN-US style='font-size:10.5pt;color:#1F497D'>*<o:p></o:p></span></p>

<p class=MsoNormal><span lang=EN-US style='font-size:10.5pt;color:#1F497D'>*
Examples:<o:p></o:p></span></p>

<p class=MsoNormal><span lang=EN-US style='font-size:10.5pt;color:#1F497D'>* -
to ignore standard and empty RPATHs, execute 'rpmbuild' like<o:p></o:p></span></p>

<p class=MsoNormal><span lang=EN-US style='font-size:10.5pt;color:#1F497D'>*&nbsp;&nbsp;
$ QA_RPATHS=$[ 0x0001|0x0010 ] rpmbuild my-package.src.rpm<o:p></o:p></span></p>

<p class=MsoNormal><span lang=EN-US style='font-size:10.5pt;color:#1F497D'>* -
to check existing files, set $RPM_BUILD_ROOT and execute check-rpaths like<o:p></o:p></span></p>

<p class=MsoNormal><span lang=EN-US style='font-size:10.5pt;color:#1F497D'>*&nbsp;&nbsp;
$ RPM_BUILD_ROOT=&lt;top-dir&gt; /usr/lib/rpm/check-rpaths<o:p></o:p></span></p>

<p class=MsoNormal><span lang=EN-US style='font-size:10.5pt;color:#1F497D'>*&nbsp; <o:p></o:p></span></p>

<p class=MsoNormal><span lang=EN-US style='font-size:10.5pt;color:#1F497D'>*******************************************************************************<o:p></o:p></span></p>

<p class=MsoNormal><span lang=EN-US style='font-size:10.5pt;color:#1F497D'>ERROR&nbsp;&nbsp;
0002: file '/usr/lib64/glusterfs/2.0.0rc7/apache/2.2/mod_glusterfs.so' contains
an invalid rpath
'/root/rpmbuild/BUILD/glusterfs-2.0.0rc7/libglusterfsclient/src/.libs' in
[/root/rpmbuild/BUILD/glusterfs-2.0.0rc7/libglusterfsclient/src/.libs]<o:p></o:p></span></p>

<p class=MsoNormal><span lang=EN-US style='font-size:10.5pt;color:#1F497D'>error:
Bad exit status from /var/tmp/rpm-tmp.14389 (%install)<o:p></o:p></span></p>

<p class=MsoNormal><span lang=EN-US style='font-size:10.5pt;color:#1F497D'><o:p>&nbsp;</o:p></span></p>

<p class=MsoNormal><span lang=EN-US style='font-size:10.5pt;color:#1F497D'><o:p>&nbsp;</o:p></span></p>

<div style='border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0cm 0cm 0cm'>

<p class=MsoNormal><b><span lang=EN-US style='font-size:10.0pt;font-family:
"Tahoma","sans-serif"'>From:</span></b><span lang=EN-US style='font-size:10.0pt;
font-family:"Tahoma","sans-serif"'> raghavendra.hg@gmail.com
[mailto:raghavendra.hg@gmail.com] <b>On Behalf Of </b>Raghavendra G<br>
<b>Sent:</b> Tuesday, March 24, 2009 7:06 PM<br>
<b>To:</b> Kirby Zhou<br>
<b>Cc:</b> gluster-users@gluster.org<br>
<b>Subject:</b> Re: [Gluster-users] 2.0.0rc4 performance/write-behind seems
broken with flush-behind=on<o:p></o:p></span></p>

</div>

<p class=MsoNormal><span lang=EN-US><o:p>&nbsp;</o:p></span></p>

<p class=MsoNormal><span lang=EN-US>Hi Kirby,<br>
<br>
There are some significant changes to write-behind that went into repository
after 2.0.0rc4. Can you check with the latest code from repository or get
2.0.0rc6 from our internal releases at<br>
<a
href="http://ftp.gluster.com/pub/gluster/glusterfs/qa-releases/glusterfs-2.0.0rc6.tar.gz">http://ftp.gluster.com/pub/gluster/glusterfs/qa-releases/glusterfs-2.0.0rc6.tar.gz</a><br>
<br>
regards,<o:p></o:p></span></p>

<div>

<p class=MsoNormal><span lang=EN-US>On Fri, Mar 20, 2009 at 4:39 PM, Kirby Zhou
&lt;<a href="mailto:kirbyzhou@sohu-rd.com">kirbyzhou@sohu-rd.com</a>&gt; wrote:<o:p></o:p></span></p>

<p class=MsoNormal><span lang=EN-US>2.0.0rc4 performance/write-behind seems
broken with flush-behind=on<br>
<br>
If you use flush-behind=on, it is a acceptable result that other client<br>
machines will not see your operations immediately.<br>
But it is not acceptable that the sequentially executed program cannot see<br>
the result immediately caused by the prior one on the same client machine.<br>
<br>
The later situation happens when I run rpmbuild over a glusterfs volume.<br>
<br>
If I run following commands with flush-behind = on, some error happens.<br>
############<br>
[root@xen-727057 BUILD]# ( set -x ; rm -fr openssl-fips-0.9.8e;<br>
/usr/bin/bzip2 -dc /root/rpmbuild/SOURCES/openssl-fips-0.9.8e-usa.tar.bz2 |<br>
tar -xf -; cd openssl-fips-0.9.8e; /root/rpmbuild/SOURCES/hobble-openssl &gt;<br>
/dev/null; patch -p1 -b --suffix .redhat &lt;<br>
/root/rpmbuild/SOURCES/openssl-fips-0.9.8e-redhat.patch; patch -p1 -b<br>
--suffix .defaults &lt; /root/rpmbuild/SOURCES/openssl-0.9.8a-defaults.patch;<br>
patch -p1 -b --suffix .krb5 &lt;<br>
/root/rpmbuild/SOURCES/openssl-0.9.8a-link-krb5.patch; patch -p1 -b --suffix<br>
.soversion &lt; /root/rpmbuild/SOURCES/openssl-0.9.8b-soversion.patch; )<br>
+ rm -i -fr openssl-fips-0.9.8e<br>
+ /usr/bin/bzip2 -dc /root/rpmbuild/SOURCES/openssl-fips-0.9.8e-usa.tar.bz2<br>
+ tar -xf -<br>
+ cd openssl-fips-0.9.8e<br>
+ /root/rpmbuild/SOURCES/hobble-openssl<br>
find: crypto/idea/asm: No such file or directory<br>
find: crypto/mdc2/asm: No such file or directory<br>
+ patch -p1 -b --suffix .redhat<br>
patching file Configure<br>
+ patch -p1 -b --suffix .defaults<br>
patching file apps/openssl.cnf<br>
Hunk #1 succeeded at 107 (offset 8 lines).<br>
Hunk #3 succeeded at 153 (offset 8 lines).<br>
+ patch -p1 -b --suffix .krb5<br>
patching file Makefile.org<br>
Hunk #1 succeeded at 420 (offset 154 lines).<br>
+ patch -p1 -b --suffix .soversion<br>
patching file Makefile.org<br>
Hunk #2 FAILED at 278.<br>
Hunk #3 FAILED at 291.<br>
2 out of 3 hunks FAILED -- saving rejects to file Makefile.org.rej<br>
patching file Configure<br>
Hunk #1 FAILED at 1327.<br>
1 out of 1 hunk FAILED -- saving rejects to file Configure.rej<br>
############<br>
You can see, the last 2 patch operates the same file &quot;Makefile.org&quot;.<br>
############<br>
[root@xen-727057 BUILD]# lsdiff<br>
/root/rpmbuild/SOURCES/openssl-0.9.8a-link-krb5.patch<br>
openssl-0.9.8a/Makefile.org<br>
[root@xen-727057 BUILD]# lsdiff<br>
/root/rpmbuild/SOURCES/openssl-0.9.8b-soversion.patch<br>
openssl-0.9.8b/Makefile.org<br>
openssl-0.9.8b/Configure<br>
############<br>
If I run each of the command above manually, everything goes right.<br>
If the flush-behind is turned off, everything goes right too.<br>
<br>
#### client vol spec file<br>
volume 10.10.123.32-brick1<br>
&nbsp;type protocol/client<br>
&nbsp;option transport-type tcp/client<br>
&nbsp;option remote-host 10.10.123.32<br>
&nbsp;option remote-port 6986<br>
&nbsp;option transport-timeout 5<br>
&nbsp;option remote-subvolume brick1<br>
end-volume<br>
volume 10.10.123.32-brick2<br>
....<br>
end-volume<br>
<br>
volume dht0-raw<br>
&nbsp;type cluster/distribute<br>
&nbsp;subvolumes 10.10.123.21-brick1 10.10.123.21-brick2 10.10.123.22-brick1<br>
10.10.123.22-brick2 10.10.123.31-brick1 10.10.123.31-brick2<br>
10.10.123.32-brick1 10.10.123.32-brick2<br>
&nbsp;option lookup-unhashed yes<br>
end-volume<br>
<br>
volume dht0-io-cache<br>
&nbsp;type performance/io-cache<br>
&nbsp;option cache-size 128MB &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;#
default is 32MB<br>
&nbsp;option page-size 128KB &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; # 128KB
is default option<br>
# option priority *.h:3,*.html:2,*:1 # default is '*:0'<br>
# option cache-timeout 2 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; # default is
1 second<br>
&nbsp;subvolumes dht0-raw<br>
end-volume<br>
<br>
volume dht0-writebehind<br>
&nbsp;type performance/write-behind<br>
&nbsp;option aggregate-size 128KB &nbsp; &nbsp; &nbsp; &nbsp;# default is
0bytes<br>
&nbsp;option window-size 2MB &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; #
default is equal to aggregate-size<br>
&nbsp;option flush-behind on &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; #
default is 'off'<br>
&nbsp;subvolumes dht0-io-cache<br>
end-volume<br>
<br>
volume dht0<br>
&nbsp;type features/filter<br>
&nbsp;option read-only off<br>
&nbsp;#option root-squashing enable<br>
&nbsp;option fixed-uid 99<br>
&nbsp;option fixed-gid 99<br>
&nbsp;#option translate-uid 0=999<br>
&nbsp;#option translate-gid 0=999<br>
&nbsp;subvolumes dht0-writebehind<br>
&nbsp;#subvolumes dht0-io-cache<br>
end-volume<br>
############################<br>
<br>
<br>
<br>
<br>
<br>
_______________________________________________<br>
Gluster-users mailing list<br>
<a href="mailto:Gluster-users@gluster.org">Gluster-users@gluster.org</a><br>
<a href="http://zresearch.com/cgi-bin/mailman/listinfo/gluster-users"
target="_blank">http://zresearch.com/cgi-bin/mailman/listinfo/gluster-users</a><o:p></o:p></span></p>

</div>

<p class=MsoNormal style='margin-bottom:12.0pt'><span lang=EN-US><br>
<br clear=all>
<br>
-- <br>
Raghavendra G<o:p></o:p></span></p>

</div>

</body>

</html>