<!-- 
RSS generated by JIRA (9.4.14#940014-sha1:734e6822bbf0d45eff9af51f82432957f73aa32c) at Sat Feb 10 01:47:21 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-4961] utils and test should not depend on obd.h or liblustre.h</title>
                <link>https://jira.whamcloud.com/browse/LU-4961</link>
                <project id="10000" key="LU">Lustre</project>
                    <description>&lt;p&gt;Mostly this means reshuffling headers. There are a few uses of ext2_test_bit(). The worst offender is obd.c which passes a lov_stripe_md from userspace to kernelspace. This can be handled by adding a new ioctl (OBD_IOC_CREATE3) which accepts a struct lov_user/mds_md_v3.&lt;/p&gt;</description>
                <environment></environment>
        <key id="24396">LU-4961</key>
            <summary>utils and test should not depend on obd.h or liblustre.h</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="6" iconUrl="https://jira.whamcloud.com/images/icons/statuses/closed.png" description="The issue is considered finished, the resolution is correct. Issues which are closed can be reopened.">Closed</status>
                    <statusCategory id="3" key="done" colorName="success"/>
                                    <resolution id="1">Fixed</resolution>
                                        <assignee username="wc-triage">WC Triage</assignee>
                                    <reporter username="jhammond">John Hammond</reporter>
                        <labels>
                            <label>RoDC</label>
                    </labels>
                <created>Fri, 25 Apr 2014 20:31:15 +0000</created>
                <updated>Mon, 31 Jan 2022 04:28:20 +0000</updated>
                            <resolved>Fri, 9 May 2014 02:45:58 +0000</resolved>
                                                    <fixVersion>Lustre 2.6.0</fixVersion>
                                        <due></due>
                            <votes>0</votes>
                                    <watches>3</watches>
                                                                            <comments>
                            <comment id="82554" author="rread" created="Fri, 25 Apr 2014 22:52:18 +0000"  >&lt;p&gt;It would also be nice make lustre_idl.h usable when building outside the tree or move the ioctl interface to more userspace friendly headers. &lt;/p&gt;</comment>
                            <comment id="82568" author="adilger" created="Sat, 26 Apr 2014 18:20:07 +0000"  >&lt;p&gt;I already have a patch to remove LASSERT() and LPx64 from lustre_user.h - &lt;a href=&quot;http://review.whamcloud.com/6156&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://review.whamcloud.com/6156&lt;/a&gt; but it probably needs a refresh. Something similar should be done for lustre_idl.h also. &lt;/p&gt;

&lt;p&gt;As for the passing of lov_stripe_md from userspace - could you please point out the particulars to me? This of course seems totally wrong, and it may be that it is obsolete and we can just get rid of it entirely instead of making a new ioctl.&lt;/p&gt;</comment>
                            <comment id="82569" author="jhammond" created="Sat, 26 Apr 2014 21:45:46 +0000"  >&lt;p&gt;&amp;gt; I already have a patch to remove LASSERT() and LPx64 from lustre_user.h - &lt;a href=&quot;http://review.whamcloud.com/6156&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://review.whamcloud.com/6156&lt;/a&gt; but it probably needs a refresh. Something similar should be done for lustre_idl.h also.&lt;/p&gt;

&lt;p&gt;Indeed. And as Robert noted the ioctls should be consolidated into lustre_user.h, lustre_idl.h, or a new shared file.&lt;/p&gt;

&lt;p&gt;&amp;gt; As for the passing of lov_stripe_md from userspace - could you please point out the particulars to me? This of course seems totally wrong, and it may be that it is obsolete and we can just get rid of it entirely instead of making a new ioctl.&lt;/p&gt;

&lt;p&gt;See lustre/utils/obd.c:jt_obd_create() which uses OBD_IOC_CREATE and passes a lov_stripe_md() to the echo client module. When I asked about this a while ago I sort of understood that it was still in use but no one knew the details.&lt;/p&gt;

&lt;p&gt;See &lt;a href=&quot;http://review.whamcloud.com/10114&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://review.whamcloud.com/10114&lt;/a&gt; for a preliminary cut.&lt;/p&gt;
</comment>
                            <comment id="82698" author="jhammond" created="Mon, 28 Apr 2014 22:10:39 +0000"  >&lt;p&gt;&lt;a href=&quot;http://review.whamcloud.com/10139&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://review.whamcloud.com/10139&lt;/a&gt; moves ioctls to lustre_ioctl.h and disincludes obd.h from utils and test.&lt;/p&gt;</comment>
                            <comment id="83048" author="jhammond" created="Thu, 1 May 2014 21:32:05 +0000"  >&lt;p&gt;&lt;a href=&quot;http://review.whamcloud.com/#/c/10194/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://review.whamcloud.com/#/c/10194/&lt;/a&gt; &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-4961&quot; title=&quot;utils and test should not depend on obd.h or liblustre.h&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-4961&quot;&gt;&lt;del&gt;LU-4961&lt;/del&gt;&lt;/a&gt; lustre: remove liblustre.h and obd.h from userspace&lt;/p&gt;</comment>
                            <comment id="83599" author="jhammond" created="Fri, 9 May 2014 02:45:58 +0000"  >&lt;p&gt;Patch landed to master.&lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10011">
                    <name>Related</name>
                                                                <inwardlinks description="is related to">
                                        <issuelink>
            <issuekey id="15151">LU-1606</issuekey>
        </issuelink>
            <issuelink>
            <issuekey id="24500">LU-4983</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|hzwl1j:</customfieldvalue>

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