<!-- 
RSS generated by JIRA (9.4.14#940014-sha1:734e6822bbf0d45eff9af51f82432957f73aa32c) at Sat Feb 10 02:55:12 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-12737] consolidate argument validation in llog</title>
                <link>https://jira.whamcloud.com/browse/LU-12737</link>
                <project id="10000" key="LU">Lustre</project>
                    <description>&lt;p&gt;This ticket is to track a cleanup from &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-11566&quot; title=&quot;sanity test_60aa: llog_print_cb()) not enough space for print log records&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-11566&quot;&gt;&lt;del&gt;LU-11566&lt;/del&gt;&lt;/a&gt;.&lt;/p&gt;

&lt;p&gt;&lt;a href=&quot;https://review.whamcloud.com/#/c/34523/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://review.whamcloud.com/#/c/34523/&lt;/a&gt;&lt;/p&gt;



&lt;p&gt;Description:&lt;/p&gt;

&lt;p&gt;&lt;a href=&quot;https://jira.whamcloud.com/browse/LU-11566&quot; title=&quot;sanity test_60aa: llog_print_cb()) not enough space for print log records&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-11566&quot;&gt;&lt;del&gt;LU-11566&lt;/del&gt;&lt;/a&gt; llog: consolidate argument validation&lt;/p&gt;

&lt;p&gt;Add a helper function to validate the start/end arguments passed from&lt;br/&gt;
userspace for &quot;lctl llog_cancel&quot; and &quot;lctl llog_print&quot; to reduce code&lt;br/&gt;
duplication.&lt;/p&gt;

&lt;p&gt;The llog callback data is static in these functions, for use by repeat&lt;br/&gt;
calls for each record in the log. This is not really safe, if there&lt;br/&gt;
are multiple threads calling the llog_print or llog_check functions&lt;br/&gt;
concurrently. Fortunately, this is unlikely to be the case, but it&lt;br/&gt;
would be better to allocate them dynamically in the caller.&lt;/p&gt;</description>
                <environment></environment>
        <key id="56861">LU-12737</key>
            <summary>consolidate argument validation in llog</summary>
                <type id="4" iconUrl="https://jira.whamcloud.com/secure/viewavatar?size=xsmall&amp;avatarId=11310&amp;avatarType=issuetype">Improvement</type>
                                            <priority id="4" iconUrl="https://jira.whamcloud.com/images/icons/priorities/minor.svg">Minor</priority>
                        <status id="1" iconUrl="https://jira.whamcloud.com/images/icons/statuses/open.png" description="The issue is open and ready for the assignee to start work on it.">Open</status>
                    <statusCategory id="2" key="new" colorName="default"/>
                                    <resolution id="-1">Unresolved</resolution>
                                        <assignee username="adilger">Andreas Dilger</assignee>
                                    <reporter username="pfarrell">Patrick Farrell</reporter>
                        <labels>
                    </labels>
                <created>Mon, 9 Sep 2019 18:46:02 +0000</created>
                <updated>Mon, 9 Sep 2019 18:46:22 +0000</updated>
                                                                                <due></due>
                            <votes>0</votes>
                                    <watches>1</watches>
                                                                                    <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|i00mgf:</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10090" key="com.pyxis.greenhopper.jira:gh-global-rank">
                        <customfieldname>Rank (Obsolete)</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>9223372036854775807</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                </customfields>
    </item>
</channel>
</rss>