<!-- 
RSS generated by JIRA (9.4.14#940014-sha1:734e6822bbf0d45eff9af51f82432957f73aa32c) at Sat Feb 10 02:16:16 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-8292] unnecessary LustreError 17754:0:(file.c:1900:ll_do_fiemap()) obd_get_info failed: rc = -95</title>
                <link>https://jira.whamcloud.com/browse/LU-8292</link>
                <project id="10000" key="LU">Lustre</project>
                    <description>&lt;p&gt;With ZFS backend, ioctl(fd, FS_IOC_FIEMAP, fiemap) on the client results in an obd_get_info call to the OST(s).&lt;br/&gt;
ZFS does not support FIEMAP, and so the dt_fiemap_get() call returns -ENOTSUPP.  When the RPC reply is received by the client, two LustreError messages are sent to the console:&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;2016-06-16 10:04:23 LustreError: 11-0: lcy-OST0004-osc-ffff88044702bc00: Communicating with 10.1.1.175@o2ib9, operation ost_get_info failed with -95.
2016-06-16 10:04:23 LustreError: 3698:0:(file.c:1900:ll_do_fiemap()) obd_get_info failed: rc = -95
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;Since the user is notified of the ioctl failure, and the failure does not result in any compromise of the file system or the file data, this should not produce a console message.&lt;/p&gt;

&lt;p&gt;The RHEL6 cp command did not use this ioctl, but the RHEL7 one does.  So with RHEL7 this has become much more noticable.&lt;/p&gt;</description>
                <environment>RHEL6.7 and RHEL7.2&lt;br/&gt;
lustre-2.5.5-7chaos_2.6.32_642.1.1.1chaos.ch5.5.x86_64.x86_64&lt;br/&gt;
lustre-2.8.0_0.0.llnlpreview.13-1.ch6.x86_64&lt;br/&gt;
ZFS used as backend file system</environment>
        <key id="37631">LU-8292</key>
            <summary>unnecessary LustreError 17754:0:(file.c:1900:ll_do_fiemap()) obd_get_info failed: rc = -95</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="utopiabound">Nathaniel Clark</assignee>
                                    <reporter username="ofaaland">Olaf Faaland</reporter>
                        <labels>
                            <label>llnl</label>
                            <label>llnlfixready</label>
                            <label>zfs</label>
                    </labels>
                <created>Thu, 16 Jun 2016 17:51:13 +0000</created>
                <updated>Tue, 14 Feb 2017 18:12:22 +0000</updated>
                            <resolved>Mon, 3 Oct 2016 18:59:02 +0000</resolved>
                                    <version>Lustre 2.5.5</version>
                                                        <due></due>
                            <votes>0</votes>
                                    <watches>5</watches>
                                                                            <comments>
                            <comment id="155974" author="pjones" created="Thu, 16 Jun 2016 18:35:15 +0000"  >&lt;p&gt;Nathaniel&lt;/p&gt;

&lt;p&gt;Could you please assist with this one?&lt;/p&gt;

&lt;p&gt;Peter&lt;/p&gt;</comment>
                            <comment id="155999" author="utopiabound" created="Thu, 16 Jun 2016 21:44:02 +0000"  >&lt;p&gt;The &quot;ll_do_fiemap&quot; message only appears in the 2.5 code.  Are you using that release on el7?&lt;/p&gt;</comment>
                            <comment id="156018" author="adilger" created="Thu, 16 Jun 2016 22:59:44 +0000"  >&lt;p&gt;Two notes here:&lt;/p&gt;
&lt;ul class=&quot;alternate&quot; type=&quot;square&quot;&gt;
	&lt;li&gt;the &quot;operation ost_get_info failed&quot; message is because the RPC reply is marked as &lt;tt&gt;PTL_RPC_MSG_ERR&lt;/tt&gt; (i.e. complete RPC failure) when it should be just a &lt;tt&gt;PTL_RPC_MSG_REPLY&lt;/tt&gt; with an error code in rq_status.&lt;/li&gt;
	&lt;li&gt;in &lt;tt&gt;ofd_get_info_hdl()&lt;/tt&gt; there were changes in &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-3219&quot; title=&quot;FIEMAP does not sync data or return cached pages&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-3219&quot;&gt;&lt;del&gt;LU-3219&lt;/del&gt;&lt;/a&gt; to ensure FIEMAP would flush regions of the file that are currently being written, but if the initial &lt;tt&gt;ofd_fiemap_get()&lt;/tt&gt; fails then there is no point in doing the extra locking and consistency checks:
&lt;div class=&quot;code panel&quot; style=&quot;border-width: 1px;&quot;&gt;&lt;div class=&quot;codeContent panelContent&quot;&gt;
&lt;pre class=&quot;code-java&quot;&gt;                rc = ofd_fiemap_get(tsi-&amp;gt;tsi_env, ofd, fid, fiemap);

                /* LU-3219: Lock the sparse areas to make sure dirty
                 * flushed back from client, then call fiemap again. */
                &lt;span class=&quot;code-keyword&quot;&gt;if&lt;/span&gt; (fm_key-&amp;gt;lfik_oa.o_valid &amp;amp; OBD_MD_FLFLAGS &amp;amp;&amp;amp;
                    fm_key-&amp;gt;lfik_oa.o_flags &amp;amp; OBD_FL_SRVLOCK) {
                        struct list_head locked;

                        INIT_LIST_HEAD(&amp;amp;locked);
                        ost_fid_build_resid(fid, &amp;amp;fti-&amp;gt;fti_resid);
                        rc = lock_zero_regions(ofd-&amp;gt;ofd_namespace,
                                               &amp;amp;fti-&amp;gt;fti_resid, fiemap,
                                               &amp;amp;locked);
                        &lt;span class=&quot;code-keyword&quot;&gt;if&lt;/span&gt; (rc == 0 &amp;amp;&amp;amp; !list_empty(&amp;amp;locked)) {
                                rc = ofd_fiemap_get(tsi-&amp;gt;tsi_env, ofd, fid,
                                                    fiemap);
                                unlock_zero_regions(ofd-&amp;gt;ofd_namespace,
                                                    &amp;amp;locked);
                        }
                }
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;&lt;/li&gt;
&lt;/ul&gt;


&lt;p&gt;That should all be done only &lt;tt&gt;if (!rc &amp;amp;&amp;amp; (...)&lt;/tt&gt;.&lt;/p&gt;</comment>
                            <comment id="156033" author="ofaaland" created="Fri, 17 Jun 2016 05:18:12 +0000"  >&lt;p&gt;Nathaniel,&lt;/p&gt;

&lt;p&gt;My mistake, you&apos;re right.  The ll_do_fiemap console message does not occur in 2.8.  2.8 produces only the &quot;operation ost_get_info failed&quot; console message Andreas describes.&lt;/p&gt;

&lt;p&gt;thanks,&lt;br/&gt;
Olaf&lt;/p&gt;
</comment>
                            <comment id="156164" author="pjones" created="Sun, 19 Jun 2016 14:27:51 +0000"  >&lt;p&gt;&amp;gt; The &quot;ll_do_fiemap&quot; message only appears in the 2.5 code. Are you using that release on el7?&lt;/p&gt;

&lt;p&gt;Yes they have el7 for clients only&lt;/p&gt;</comment>
                            <comment id="168109" author="pjones" created="Mon, 3 Oct 2016 18:59:02 +0000"  >&lt;p&gt;No change needed to master. 2.5.x fix is flagged for LLNL to pickup&lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10011">
                    <name>Related</name>
                                            <outwardlinks description="is related to ">
                                        <issuelink>
            <issuekey id="37518">LU-8256</issuekey>
        </issuelink>
                            </outwardlinks>
                                                        </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|hzyevb:</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>