<!-- 
RSS generated by JIRA (9.4.14#940014-sha1:734e6822bbf0d45eff9af51f82432957f73aa32c) at Sat Feb 10 01:49:51 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-5252] HSM: update fifo event API and code</title>
                <link>https://jira.whamcloud.com/browse/LU-5252</link>
                <project id="10000" key="LU">Lustre</project>
                    <description>&lt;p&gt;Neither llapi_hsm_register_event_fifo() nor&lt;br/&gt;
llapi_hsm_unregister_event_fifo() take a const as their argument. This&lt;br/&gt;
lead to the following compilation warning when a caller is using a&lt;br/&gt;
const char *:&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;    
      ... warning: passing argument 1 of &#8216;llapi_hsm_register_event_fifo&#8217; discards &#8216;const&#8217; qualifier from pointer target type [enabled by default]
       rc = llapi_hsm_register_event_fifo(lustre_fifo_event);
       ^
      ... note: expected &#8216;char *&#8217; but argument is of type &#8216;const char *&#8217;
      extern int llapi_hsm_register_event_fifo(char *path);
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;


&lt;p&gt;Also, llapi_hsm_event_fd is local, so make it static.&lt;/p&gt;


&lt;p&gt;And finally, do not unconditionally delete the HSM event fifo.&lt;br/&gt;
The lustreapi HSM library will use a pipe if it already exists.&lt;br/&gt;
However the deregistration will unconditionally delete that pipe,&lt;br/&gt;
which is not correct.&lt;/p&gt;

&lt;p&gt;An admin may want to create the pipe with certain rights/ownership,&lt;br/&gt;
which the llapi_hsm_register_event_fifo() doesn&apos;t allow. In that case,&lt;br/&gt;
llapi_hsm_unregister_event_fifo() should not delete it.&lt;/p&gt;


&lt;p&gt;Patches to follow.&lt;/p&gt;</description>
                <environment></environment>
        <key id="25297">LU-5252</key>
            <summary>HSM: update fifo event API and code</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="jamesanunez">James Nunez</assignee>
                                    <reporter username="fzago">Frank Zago</reporter>
                        <labels>
                            <label>HSM</label>
                            <label>patch</label>
                    </labels>
                <created>Tue, 24 Jun 2014 21:11:28 +0000</created>
                <updated>Mon, 18 Aug 2014 15:22:36 +0000</updated>
                            <resolved>Fri, 25 Jul 2014 22:10:42 +0000</resolved>
                                    <version>Lustre 2.5.1</version>
                                    <fixVersion>Lustre 2.7.0</fixVersion>
                    <fixVersion>Lustre 2.5.3</fixVersion>
                                        <due></due>
                            <votes>0</votes>
                                    <watches>6</watches>
                                                                            <comments>
                            <comment id="87423" author="fzago" created="Tue, 24 Jun 2014 21:46:04 +0000"  >&lt;p&gt;API change: &lt;a href=&quot;http://review.whamcloud.com/10807&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://review.whamcloud.com/10807&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;static fd: &lt;a href=&quot;http://review.whamcloud.com/10808&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://review.whamcloud.com/10808&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;fifo deletion: &lt;a href=&quot;http://review.whamcloud.com/10809&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://review.whamcloud.com/10809&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="90094" author="jamesanunez" created="Fri, 25 Jul 2014 22:10:42 +0000"  >&lt;p&gt;All three patches landed to master.&lt;/p&gt;</comment>
                            <comment id="91434" author="jamesanunez" created="Tue, 12 Aug 2014 17:53:48 +0000"  >&lt;p&gt;Patch for b2_5 at:&lt;br/&gt;
&lt;a href=&quot;http://review.whamcloud.com/#/c/11363/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://review.whamcloud.com/#/c/11363/&lt;/a&gt;&lt;br/&gt;
&lt;a href=&quot;http://review.whamcloud.com/#/c/11362/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://review.whamcloud.com/#/c/11362/&lt;/a&gt;&lt;br/&gt;
&lt;a href=&quot;http://review.whamcloud.com/#/c/11421/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://review.whamcloud.com/#/c/11421/&lt;/a&gt;&lt;/p&gt;</comment>
                    </comments>
                    <attachments>
                    </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|hzwpuv:</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10090" key="com.pyxis.greenhopper.jira:gh-global-rank">
                        <customfieldname>Rank (Obsolete)</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>14650</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>