<!-- 
RSS generated by JIRA (9.4.14#940014-sha1:734e6822bbf0d45eff9af51f82432957f73aa32c) at Sat Feb 10 02:16:35 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-8329] All structures referenced from IOCTLs need to be stable/checked for not changing</title>
                <link>https://jira.whamcloud.com/browse/LU-8329</link>
                <project id="10000" key="LU">Lustre</project>
                    <description>&lt;p&gt;Lnux ioctl macoses _IOR _IOW are taking a struvture argument.&lt;br/&gt;
That argument is then sized to determine the actual ioctl number.&lt;br/&gt;
Should the structure change, actual ioctl number changes too without any visibility. If you only test with tools built against the same tree, you would never notice that much like what happens with same-version network testing.&lt;/p&gt;

&lt;p&gt;For network structures we have wirecheck/wiretest, I guess we need something similar for IOCTLs.&lt;br/&gt;
The complication here is because structures used are actually somewhat different on different architectures, we might want to be a bit more smart about it,&lt;br/&gt;
or we might need to have a per-architecture check.&lt;br/&gt;
Alternatively we can just record the actual generated ioctl numbers and ensure thoe never change - then we&apos;ll catch other changes too, not just in structure sizes but when a type of the ioctl changes for example.&lt;/p&gt;

&lt;p&gt;Currently these include:&lt;br/&gt;
From lustre_ioctl.h&lt;br/&gt;
struct if_quotactl&lt;br/&gt;
struct obd_ioctl_data&lt;br/&gt;
mntopt_t&lt;/p&gt;

&lt;p&gt;From lustre_user.h:&lt;br/&gt;
struct obd_statfs&lt;br/&gt;
struct lu_fid&lt;br/&gt;
struct ll_futimes_3&lt;br/&gt;
struct hsm_user_state&lt;br/&gt;
struct hsm_state_set&lt;br/&gt;
struct hsm_state_set&lt;br/&gt;
struct lustre_kernelcomm&lt;br/&gt;
struct hsm_user_request&lt;br/&gt;
struct lustre_swap_layouts&lt;br/&gt;
struct hsm_current_action&lt;br/&gt;
struct lmv_user_md&lt;br/&gt;
struct hsm_user_import&lt;br/&gt;
struct getparent&lt;br/&gt;
struct lu_ladvise &amp;lt;&amp;lt; This one is going to change to llapi_something with an upcoming patch.&lt;/p&gt;</description>
                <environment></environment>
        <key id="37829">LU-8329</key>
            <summary>All structures referenced from IOCTLs need to be stable/checked for not changing</summary>
                <type id="4" iconUrl="https://jira.whamcloud.com/secure/viewavatar?size=xsmall&amp;avatarId=11310&amp;avatarType=issuetype">Improvement</type>
                                            <priority id="3" iconUrl="https://jira.whamcloud.com/images/icons/priorities/major.svg">Major</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="utopiabound">Nathaniel Clark</assignee>
                                    <reporter username="green">Oleg Drokin</reporter>
                        <labels>
                            <label>patch</label>
                    </labels>
                <created>Sun, 26 Jun 2016 15:13:34 +0000</created>
                <updated>Sat, 29 Jan 2022 09:18:45 +0000</updated>
                                                                                <due></due>
                            <votes>0</votes>
                                    <watches>4</watches>
                                                                            <comments>
                            <comment id="223557" author="gerrit" created="Tue, 13 Mar 2018 21:10:04 +0000"  >&lt;p&gt;Nathaniel Clark (nathaniel.l.clark@intel.com) uploaded a new patch: &lt;a href=&quot;https://review.whamcloud.com/31637&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://review.whamcloud.com/31637&lt;/a&gt;&lt;br/&gt;
Subject: &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-8329&quot; title=&quot;All structures referenced from IOCTLs need to be stable/checked for not changing&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-8329&quot;&gt;LU-8329&lt;/a&gt; wiretest: Add ioctl struct definitions&lt;br/&gt;
Project: fs/lustre-release&lt;br/&gt;
Branch: master&lt;br/&gt;
Current Patch Set: 1&lt;br/&gt;
Commit: 214802bc804cbf4f85e7a48c834572cad47f58da&lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10011">
                    <name>Related</name>
                                                                <inwardlinks description="is related to">
                                        <issuelink>
            <issuekey id="37830">LU-8330</issuekey>
        </issuelink>
                            </inwardlinks>
                                    </issuelinktype>
                    </issuelinks>
                <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|hzyftr:</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>
                                                                                            <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>