<!-- 
RSS generated by JIRA (9.4.14#940014-sha1:734e6822bbf0d45eff9af51f82432957f73aa32c) at Sat Feb 10 01:19:03 UTC 2024

It is possible to restrict the fields that are returned in this document by specifying the 'field' parameter in your request.
For example, to request only the issue key and summary append 'field=key&field=summary' to the URL of your request.
-->
<rss version="0.92" >
<channel>
    <title>Whamcloud Community JIRA</title>
    <link>https://jira.whamcloud.com</link>
    <description>This file is an XML representation of an issue</description>
    <language>en-us</language>    <build-info>
        <version>9.4.14</version>
        <build-number>940014</build-number>
        <build-date>05-12-2023</build-date>
    </build-info>


<item>
            <title>[LU-1715] flock deadlock detection does not work properly</title>
                <link>https://jira.whamcloud.com/browse/LU-1715</link>
                <project id="10000" key="LU">Lustre</project>
                    <description>&lt;p&gt;flock deadlocks are checked on the first attempt to grant the flock only. if we try again to grant it after its blocking lock is cancelled, we do not check for deadlocks which also may exist.&lt;/p&gt;

&lt;p&gt;the reproducer is attached, its output is the following:&lt;br/&gt;
4730: sleeping 1&lt;br/&gt;
4731: taking lock0 &lt;span class=&quot;error&quot;&gt;&amp;#91;0, 100&amp;#93;&lt;/span&gt;&lt;br/&gt;
4732: taking lock1 &lt;span class=&quot;error&quot;&gt;&amp;#91;100, 200&amp;#93;&lt;/span&gt;&lt;br/&gt;
4731: done&lt;br/&gt;
4731 sleeping 1&lt;br/&gt;
4732: done&lt;br/&gt;
4732 sleeping 2&lt;br/&gt;
4730: taking lock2 &lt;span class=&quot;error&quot;&gt;&amp;#91;200, 300&amp;#93;&lt;/span&gt;&lt;br/&gt;
4730: done&lt;br/&gt;
4730: taking lock0 &lt;span class=&quot;error&quot;&gt;&amp;#91;0, 100&amp;#93;&lt;/span&gt;&lt;br/&gt;
4731: taking lock3 &lt;span class=&quot;error&quot;&gt;&amp;#91;100, 300&amp;#93;&lt;/span&gt;&lt;br/&gt;
4732: putting lock1 &lt;span class=&quot;error&quot;&gt;&amp;#91;100, 200&amp;#93;&lt;/span&gt;&lt;br/&gt;
4732: done&lt;br/&gt;
4732 Exit&lt;br/&gt;
--&amp;gt; it is waiting forever here.&lt;/p&gt;</description>
                <environment></environment>
        <key id="15428">LU-1715</key>
            <summary>flock deadlock detection does not work properly</summary>
                <type id="1" iconUrl="https://jira.whamcloud.com/secure/viewavatar?size=xsmall&amp;avatarId=11303&amp;avatarType=issuetype">Bug</type>
                                            <priority id="4" iconUrl="https://jira.whamcloud.com/images/icons/priorities/minor.svg">Minor</priority>
                        <status id="5" iconUrl="https://jira.whamcloud.com/images/icons/statuses/resolved.png" description="A resolution has been taken, and it is awaiting verification by reporter. From here issues are either reopened, or are closed.">Resolved</status>
                    <statusCategory id="3" key="done" colorName="success"/>
                                    <resolution id="1">Fixed</resolution>
                                        <assignee username="keith">Keith Mannthey</assignee>
                                    <reporter username="askulysh">Andriy Skulysh</reporter>
                        <labels>
                            <label>patch</label>
                    </labels>
                <created>Tue, 7 Aug 2012 08:17:31 +0000</created>
                <updated>Wed, 21 Aug 2013 16:29:51 +0000</updated>
                            <resolved>Sat, 10 Aug 2013 00:42:54 +0000</resolved>
                                                    <fixVersion>Lustre 2.5.0</fixVersion>
                                        <due></due>
                            <votes>0</votes>
                                    <watches>6</watches>
                                                                            <comments>
                            <comment id="42806" author="askulysh" created="Tue, 7 Aug 2012 08:39:29 +0000"  >&lt;p&gt;&lt;a href=&quot;http://review.whamcloud.com/3553&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://review.whamcloud.com/3553&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="48228" author="nrutman" created="Wed, 21 Nov 2012 17:41:07 +0000"  >&lt;p&gt;Xyratex-bug-id: &lt;a href=&quot;http://jira-nss.xy01.xyratex.com:8080/browse/MRP-393&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;MRP-393&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="57576" author="keith" created="Thu, 2 May 2013 19:16:40 +0000"  >&lt;p&gt;Looks like this has been sitting for a bit.  Please rebase the patch if it is still a desired change. &lt;/p&gt;</comment>
                            <comment id="62025" author="askulysh" created="Wed, 10 Jul 2013 14:23:57 +0000"  >&lt;p&gt;I have a problem with adding new ldlm flag. It looks like master uses autogen to generate lustre_dlm_flags.h&lt;br/&gt;
I&apos;ve added flag description to lustre_dlm_flags.def but observe following error : &lt;/p&gt;

&lt;p&gt;$ pwd&lt;br/&gt;
/local/work/lustre-release/contrib/bit-masks&lt;br/&gt;
$ make&lt;br/&gt;
+ autogen --version&lt;br/&gt;
+ autogen -DTESTING=1 lustre_dlm_flags.def&lt;br/&gt;
/bin/bash: line 46: .: script.sh: file not found&lt;br/&gt;
columns: illegal option &amp;#8211; end= };&lt;br/&gt;
columns (GNU AutoGen) - Columnize Input Text - Ver. 1.2&lt;br/&gt;
USAGE:  columns [ -&amp;lt;flag&amp;gt; &lt;span class=&quot;error&quot;&gt;&amp;#91;&amp;lt;val&amp;gt;&amp;#93;&lt;/span&gt; | --&amp;lt;name&amp;gt;[&lt;/p&gt;
{=| }&amp;lt;val&amp;gt;] ]...&lt;br/&gt;
  Flg Arg Option-Name    Description&lt;br/&gt;
   -W Num width          Maximum Line Width&lt;br/&gt;
   -c Num columns        Desired number of columns&lt;br/&gt;
   -w Num col-width      Set width of each column&lt;br/&gt;
      Num spread         maximum spread added to column width&lt;br/&gt;
      no  fill           Fill lines with input&lt;br/&gt;
   -I Str indent         Line prefix or indentation&lt;br/&gt;
      Str first-indent   First line prefix&lt;br/&gt;
      Num tab-width      tab width&lt;br/&gt;
   -s opt sort           Sort input text&lt;br/&gt;
   -f Str format         Formatting string for each input&lt;br/&gt;
   -S Str separation     Separation string - follows all but last&lt;br/&gt;
      Str line-separation string at end of all lines but last&lt;br/&gt;
      no  by-columns     Print entries in column order&lt;br/&gt;
   -i Str input          Input file (if not stdin)&lt;br/&gt;
   -v opt version        Output version information and exit&lt;br/&gt;
   -? no  help           Display usage information and exit&lt;br/&gt;
   -! no  more-help      Extended usage information passed thru pager&lt;br/&gt;
   -&amp;gt; opt save-opts      Save the option state to a config file&lt;br/&gt;
   -&amp;lt; Str load-opts      Load options from a config file&lt;br/&gt;
&lt;br/&gt;
Options are specified by doubled hyphens and their name&lt;br/&gt;
or by a single hyphen and the flag character.&lt;br/&gt;
&lt;br/&gt;
please send bug reports to:  autogen-users@lists.sourceforge.net&lt;br/&gt;
columns: illegal option &amp;#8211; end= };&lt;br/&gt;
columns (GNU AutoGen) - Columnize Input Text - Ver. 1.2&lt;br/&gt;
USAGE:  columns [ -&amp;lt;flag&amp;gt; &lt;span class=&quot;error&quot;&gt;&amp;#91;&amp;lt;val&amp;gt;&amp;#93;&lt;/span&gt; | --&amp;lt;name&amp;gt;[{=| }
&lt;p&gt;&amp;lt;val&amp;gt;] ]...&lt;br/&gt;
  Flg Arg Option-Name    Description&lt;br/&gt;
   -W Num width          Maximum Line Width&lt;br/&gt;
   -c Num columns        Desired number of columns&lt;br/&gt;
   -w Num col-width      Set width of each column&lt;br/&gt;
      Num spread         maximum spread added to column width&lt;br/&gt;
      no  fill           Fill lines with input&lt;br/&gt;
   -I Str indent         Line prefix or indentation&lt;br/&gt;
      Str first-indent   First line prefix&lt;br/&gt;
      Num tab-width      tab width&lt;br/&gt;
   -s opt sort           Sort input text&lt;br/&gt;
   -f Str format         Formatting string for each input&lt;br/&gt;
   -S Str separation     Separation string - follows all but last&lt;br/&gt;
      Str line-separation string at end of all lines but last&lt;br/&gt;
      no  by-columns     Print entries in column order&lt;br/&gt;
   -i Str input          Input file (if not stdin)&lt;br/&gt;
   -v opt version        Output version information and exit&lt;br/&gt;
   -? no  help           Display usage information and exit&lt;br/&gt;
   -! no  more-help      Extended usage information passed thru pager&lt;br/&gt;
   -&amp;gt; opt save-opts      Save the option state to a config file&lt;br/&gt;
   -&amp;lt; Str load-opts      Load options from a config file&lt;/p&gt;

&lt;p&gt;Options are specified by doubled hyphens and their name&lt;br/&gt;
or by a single hyphen and the flag character.&lt;/p&gt;

&lt;p&gt;please send bug reports to:  autogen-users@lists.sourceforge.net&lt;br/&gt;
+ rm -f ../../lustre/include/lustre_dlm_flags.h&lt;br/&gt;
+ sed &apos;/It has been AutoGen-ed/s/-ed.*/-ed/;s/ *$//&apos; lustre_dlm_flags.h&lt;/p&gt;

&lt;p&gt;I&apos;ve installed autogen-5.9.4-7 using :&lt;br/&gt;
$ yum --enablerepo=epel-testing install autogen&lt;/p&gt;

&lt;p&gt;How autogen is supposed to be executed ? manually or during Lustre make ?&lt;br/&gt;
BTW script.sh is generated in the current directory and I managed to patch lustre_dlm_flags.tpl to execute it from current directory.&lt;/p&gt;</comment>
                            <comment id="62033" author="keith" created="Wed, 10 Jul 2013 16:05:13 +0000"  >&lt;p&gt;You do need to run autogen.sh Manually. When I make Lustre by hand I run ./autogen.sh in the top level directory before I do anything else. &lt;/p&gt;

&lt;p&gt;A rough guide for building dev builds by hand can be seen here: &lt;a href=&quot;https://wiki.hpdd.intel.com/display/PUB/Walk-thru-+Build+Lustre+MASTER+on+RHEL+6.3+from+Whamcloud+git&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://wiki.hpdd.intel.com/display/PUB/Walk-thru-+Build+Lustre+MASTER+on+RHEL+6.3+from+Whamcloud+git&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;My basic build steps are:&lt;br/&gt;
./autogen.sh &lt;br/&gt;
./configure ....&lt;br/&gt;
make &lt;/p&gt;

&lt;p&gt;I will keep an eye on your new patch to see if it build in the autotest system.&lt;/p&gt;</comment>
                            <comment id="62088" author="askulysh" created="Thu, 11 Jul 2013 09:32:26 +0000"  >&lt;p&gt;Of course I run autogen.sh, but it doesn&apos;t generate lustre_dlm_flags.h. Another executable autogen (without .sh)  &lt;a href=&quot;http://www.gnu.org/software/autogen/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://www.gnu.org/software/autogen/&lt;/a&gt; is needed to do this job.&lt;/p&gt;</comment>
                            <comment id="62456" author="adilger" created="Wed, 17 Jul 2013 06:13:47 +0000"  >&lt;p&gt;Bruce added the auto build of the LDLM flags, perhaps he can comment on how this should be done correctly, if it isn&apos;t automatically generated by make. &lt;/p&gt;</comment>
                            <comment id="62485" author="bkorb" created="Wed, 17 Jul 2013 14:54:09 +0000"  >&lt;blockquote&gt;&lt;p&gt;Bruce added the auto build of the LDLM flags, perhaps he can comment on how this should be done correctly&lt;/p&gt;&lt;/blockquote&gt;

&lt;p&gt;To have it automatically done by make would require that autogen be installed by builders of Lustre.  You can install it for any distro, but you have to explicitly request it in a distro-specific way.&lt;/p&gt;

&lt;blockquote&gt;&lt;p&gt;You do need to run autogen.sh Manually&lt;/p&gt;&lt;/blockquote&gt;

&lt;p&gt;Well, no.  &quot;autogen.sh&quot; has nothing whatever to do with autogen.  I offered to help the Gnome project regenerate some of their pre-configure sources, but they declined the help, still used the name for their bootstrap process and it became a &quot;standard&quot; name for bootstrapping projects.  I advocate renaming autogen.sh to bootstrap.sh.  Anyway, the method for rebuilding the flags (once autogen is installed) is:&lt;/p&gt;

&lt;div class=&quot;code panel&quot; style=&quot;border-width: 1px;&quot;&gt;&lt;div class=&quot;codeContent panelContent&quot;&gt;
&lt;pre class=&quot;code-java&quot;&gt;cd contrib/bit-masks &amp;amp;&amp;amp; make&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;</comment>
                            <comment id="62492" author="bkorb" created="Wed, 17 Jul 2013 15:33:04 +0000"  >&lt;p&gt;P.S. the output should be:&lt;/p&gt;
&lt;div class=&quot;preformatted panel&quot; style=&quot;border-width: 1px;&quot;&gt;&lt;div class=&quot;preformattedContent panelContent&quot;&gt;
&lt;pre&gt;$ autogen --version
autogen (GNU AutoGen) 5.17.1
$ make
&amp;gt;sh&amp;gt; autogen --version
&amp;gt;sh&amp;gt; autogen -DTESTING=1 lustre_dlm_flags.def
&amp;gt;sh&amp;gt; rm -f ../../lustre/include/lustre_dlm_flags.h
&amp;gt;sh&amp;gt; sed &apos;/It has been AutoGen-ed/s/-ed.*/-ed/;s/ *$//&apos; lustre_dlm_flags.h
$ &lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;
&lt;p&gt;I don&apos;t think the actual version makes much difference.&lt;/p&gt;</comment>
                            <comment id="64030" author="keith" created="Sat, 10 Aug 2013 00:42:54 +0000"  >&lt;p&gt;Master patch has been merged. &lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10011">
                    <name>Related</name>
                                                                <inwardlinks description="is related to">
                                        <issuelink>
            <issuekey id="20483">LU-3783</issuekey>
        </issuelink>
                            </inwardlinks>
                                    </issuelinktype>
                    </issuelinks>
                <attachments>
                            <attachment id="11761" name="flock-deadlock-v1.c" size="6029" author="askulysh" created="Tue, 7 Aug 2012 08:17:31 +0000"/>
                    </attachments>
                <subtasks>
                    </subtasks>
                <customfields>
                                                                                                                                                                                            <customfield id="customfield_10890" key="com.atlassian.jira.plugins.jira-development-integration-plugin:devsummary">
                        <customfieldname>Development</customfieldname>
                        <customfieldvalues>
                            
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                        <customfield id="customfield_10390" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>1|hzvq27:</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10090" key="com.pyxis.greenhopper.jira:gh-global-rank">
                        <customfieldname>Rank (Obsolete)</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>8095</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                                            <customfield id="customfield_10060" key="com.atlassian.jira.plugin.system.customfieldtypes:select">
                        <customfieldname>Severity</customfieldname>
                        <customfieldvalues>
                                <customfieldvalue key="10022"><![CDATA[3]]></customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                        </customfields>
    </item>
</channel>
</rss>