<!-- 
RSS generated by JIRA (9.4.14#940014-sha1:734e6822bbf0d45eff9af51f82432957f73aa32c) at Sat Feb 10 01:11:46 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-926] llapi_file_fget_lov_uuid() is broken in 2.1</title>
                <link>https://jira.whamcloud.com/browse/LU-926</link>
                <project id="10000" key="LU">Lustre</project>
                    <description>&lt;p&gt;The llapi_file_fget_lov_uuid() API call appears to be broken in 2.1.  That calls llapi_file_fget_lov_uuid() which seems to be where the failure is:&lt;/p&gt;

&lt;p&gt;  error: can&apos;t get lov name.: Inappropriate ioctl for device (25)&lt;/p&gt;

&lt;p&gt;This IS for a file in a lustre filesystem.&lt;/p&gt;

&lt;p&gt;Note that a user found this by trying the llapi example in the lustre manual.  There are at least two obvious bugs in that example (just try compiling it, you&apos;ll see them), so that should be fixed as well.&lt;/p&gt;</description>
                <environment></environment>
        <key id="12672">LU-926</key>
            <summary>llapi_file_fget_lov_uuid() is broken in 2.1</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="3">Duplicate</resolution>
                                        <assignee username="bobijam">Zhenyu Xu</assignee>
                                    <reporter username="morrone">Christopher Morrone</reporter>
                        <labels>
                    </labels>
                <created>Wed, 14 Dec 2011 18:58:48 +0000</created>
                <updated>Sat, 28 Mar 2020 05:16:11 +0000</updated>
                            <resolved>Fri, 16 Dec 2011 18:26:07 +0000</resolved>
                                    <version>Lustre 2.1.0</version>
                                                        <due></due>
                            <votes>0</votes>
                                    <watches>3</watches>
                                                                            <comments>
                            <comment id="24798" author="morrone" created="Wed, 14 Dec 2011 20:38:13 +0000"  >&lt;p&gt;Sorry, it is llapi_lov_get_uuids() that is broken because it calls  llapi_file_fget_lov_uuid().  It turns out that it works for directories, but not for files.&lt;/p&gt;

&lt;p&gt;It looks like between 1.8 and 2.1 the OBD_IOC_GETNAME handler for files was dropped.  Directories still handle it.  Was that done for any particular reason, or was it just an oversight of CLIO?&lt;/p&gt;

&lt;p&gt;Should we just reintroduce the handler, or do we need to make the llapi work differently?&lt;/p&gt;</comment>
                            <comment id="24805" author="simmonsja" created="Thu, 15 Dec 2011 07:45:35 +0000"  >&lt;p&gt;I fixed this in my client side patch for &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-80&quot; title=&quot;Wide striping support&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-80&quot;&gt;&lt;del&gt;LU-80&lt;/del&gt;&lt;/a&gt;. Please give it a try.&lt;/p&gt;

&lt;p&gt;&lt;a href=&quot;http://review.whamcloud.com/#change,1194&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://review.whamcloud.com/#change,1194&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="24828" author="pjones" created="Thu, 15 Dec 2011 10:06:11 +0000"  >&lt;p&gt;YuJian&lt;/p&gt;

&lt;p&gt;I am assigning this to you as it seems that this is related to the wide striping work&lt;/p&gt;

&lt;p&gt;Peter&lt;/p&gt;</comment>
                            <comment id="24848" author="morrone" created="Thu, 15 Dec 2011 15:12:53 +0000"  >&lt;p&gt;This is not really related to wide striping, although some of the same code may be touched.&lt;/p&gt;

&lt;p&gt;James, I don&apos;t think that will address it.  That only appears to address llapi_file_get_lov_uuid(), which already has the path name and can simply look up the info from the parent directory.&lt;/p&gt;

&lt;p&gt;We need llapi_file_fget_lov_uuid() (note the &quot;fget&quot;) fixed, which only has a file descriptor.&lt;/p&gt;

&lt;p&gt;And clearly our llapi regression tests are sorely lacking. &lt;img class=&quot;emoticon&quot; src=&quot;https://jira.whamcloud.com/images/icons/emoticons/smile.png&quot; height=&quot;16&quot; width=&quot;16&quot; align=&quot;absmiddle&quot; alt=&quot;&quot; border=&quot;0&quot;/&gt;&lt;/p&gt;</comment>
                            <comment id="24849" author="pjones" created="Thu, 15 Dec 2011 17:05:30 +0000"  >&lt;p&gt;ok Chris. In that case I do not want to distract Yu Jian from Wide Striping. Bobijam can you look into this?&lt;/p&gt;</comment>
                            <comment id="24856" author="adilger" created="Thu, 15 Dec 2011 20:43:25 +0000"  >&lt;p&gt;Chris, this can happen if the userspace application is being built with a 32-bit compiler on a 64-bit kernel, or vice versa.  Is this on a PPC client, or an x86_64 client?&lt;/p&gt;

&lt;p&gt;I&apos;m looking at the examples in the documentation.  Those will be addressed in a separate &lt;a href=&quot;https://jira.whamcloud.com/browse/LUDOC-28&quot; title=&quot;improve documentation examples for liblustreapi functions&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LUDOC-28&quot;&gt;&lt;del&gt;LUDOC-28&lt;/del&gt;&lt;/a&gt; bug.&lt;/p&gt;</comment>
                            <comment id="24863" author="morrone" created="Fri, 16 Dec 2011 02:34:22 +0000"  >&lt;p&gt;This is a problem on all architectures, I think.  The test was a plain ol&apos; x86_64 RHEL6 client.&lt;/p&gt;

&lt;p&gt;Between 1.8 and 2.1 the lustre/llite/file.c ioctl handler lost support for OBD_IOC_GETNAME.  It now tries to pass it down through various layers instead of returning the LOV name immediately like it used to.  Passing it down to all of the OSCs in the LOV is clearly not the correct thing to do.&lt;/p&gt;

&lt;p&gt;lustre/llite/dir.c still has the OBD_IOC_GETNAME handler, so it works fine for directories.&lt;/p&gt;</comment>
                            <comment id="24866" author="bobijam" created="Fri, 16 Dec 2011 04:00:13 +0000"  >&lt;p&gt;file ioctl for OBD_IOC_GETNAME has been added in master branch in &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-680&quot; title=&quot;superblock &amp;lt;-&amp;gt; mount point mapping&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-680&quot;&gt;&lt;del&gt;LU-680&lt;/del&gt;&lt;/a&gt;, commit 8d935e6d3137bc4678ca2f22c1a30d34474cf677, patch at &lt;a href=&quot;http://review.whamcloud.com/1373&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://review.whamcloud.com/1373&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="24893" author="morrone" created="Fri, 16 Dec 2011 14:51:57 +0000"  >&lt;p&gt;Ah, yes, that looks like it will fix it.&lt;/p&gt;

&lt;p&gt;This should probably be included in 2.1.1.&lt;/p&gt;</comment>
                            <comment id="24895" author="morrone" created="Fri, 16 Dec 2011 18:22:49 +0000"  >&lt;p&gt;I have pulled &lt;a href=&quot;http://review.whamcloud.com/1373&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://review.whamcloud.com/1373&lt;/a&gt; into our tree and verified that it works.  I like the new getname call as well!&lt;/p&gt;</comment>
                            <comment id="24896" author="pjones" created="Fri, 16 Dec 2011 18:26:07 +0000"  >&lt;p&gt;Thanks for the update Chris. I will close this ticket as a duplicate of &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-680&quot; title=&quot;superblock &amp;lt;-&amp;gt; mount point mapping&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-680&quot;&gt;&lt;del&gt;LU-680&lt;/del&gt;&lt;/a&gt;.&lt;/p&gt;</comment>
                            <comment id="24899" author="morrone" created="Fri, 16 Dec 2011 20:33:38 +0000"  >&lt;p&gt;As long as you are tracking this for inclusion in 2.1.1 somewhere, that is fine.&lt;/p&gt;</comment>
                            <comment id="24900" author="pjones" created="Fri, 16 Dec 2011 21:13:05 +0000"  >&lt;p&gt;Yes I am &lt;img class=&quot;emoticon&quot; src=&quot;https://jira.whamcloud.com/images/icons/emoticons/smile.png&quot; height=&quot;16&quot; width=&quot;16&quot; align=&quot;absmiddle&quot; alt=&quot;&quot; border=&quot;0&quot;/&gt;&lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10011">
                    <name>Related</name>
                                                                <inwardlinks description="is related to">
                                        <issuelink>
            <issuekey id="12680">LUDOC-28</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|hzvhmf:</customfieldvalue>

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