<!-- 
RSS generated by JIRA (9.4.14#940014-sha1:734e6822bbf0d45eff9af51f82432957f73aa32c) at Sat Feb 10 02:11:33 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-7744] &quot;ima_file_free: f3 open/free imbalance&quot; opening file on inactive OST</title>
                <link>https://jira.whamcloud.com/browse/LU-7744</link>
                <project id="10000" key="LU">Lustre</project>
                    <description>&lt;p&gt;When opening a file for write with objects on an inactive OST, the console prints the following message:&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;# lctl --device myth-OST0003-osc-ffff880037c4f800 deactivate
Lustre: setting import myth-OST0003_UUID INACTIVE by administrator request
# echo foo &amp;gt; /myth/tmp/ost3/f3
-bash: /myth/tmp/ost3/f3: Cannot send after transport endpoint shutdown

ima_file_free: f3 open/free imbalance (r:0 w:0 o:0 f:0)
Pid: 1752, comm: mythbackend Not tainted 2.6.32.26-175.fc12.x86_64 #1
Call Trace:
 [&amp;lt;ffffffff81202cd4&amp;gt;] ima_file_free+0xa7/0x10c
 [&amp;lt;ffffffff8111d379&amp;gt;] __fput+0x13a/0x1dc
 [&amp;lt;ffffffff8111d435&amp;gt;] fput+0x1a/0x1c
 [&amp;lt;ffffffff81126937&amp;gt;] release_open_intent+0x23/0x25
 [&amp;lt;ffffffff811298fc&amp;gt;] do_filp_open+0x59c/0x9d6
 [&amp;lt;ffffffff8104fcce&amp;gt;] ? finish_task_switch+0x48/0xb8
 [&amp;lt;ffffffff81230886&amp;gt;] ? might_fault+0x21/0x23
 [&amp;lt;ffffffff81133577&amp;gt;] ? alloc_fd+0x7b/0x124
 [&amp;lt;ffffffff81119a54&amp;gt;] do_sys_open+0x63/0x10f
 [&amp;lt;ffffffff81119b33&amp;gt;] sys_open+0x20/0x22
 [&amp;lt;ffffffff81011d32&amp;gt;] system_call_fastpath+0x16/0x1b
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;It is also printed with different values occasionally:&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;ima_file_free: 2025_20160204115700.mpg.png open/free imbalance (r:0 w:-1 o:-1 f:0)
ima_file_free: 2025_20160204115700.mpg.png open/free imbalance (r:0 w:-2 o:-2 f:0)
ima_file_free: 2025_20160204115700.mpg.png open/free imbalance (r:0 w:-3 o:-3 f:0)
ima_file_free: 2025_20160204142700.mpg.png open/free imbalance (r:0 w:0 o:0 f:0)
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;Running an &quot;ls&quot; or &quot;cat&quot; on a directory in this filesystem produces errors:&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;ls /myth/tmp
ls: cannot access /myth/tmp/list.after: Cannot send after transport endpoint shutdown
ls: cannot access /myth/tmp/readonly2: Cannot send after transport endpoint shutdown
ls: cannot access /myth/tmp/2M: Cannot send after transport endpoint shutdown
ls: cannot access /myth/tmp/3stripe: Cannot send after transport endpoint shutdown
ls: cannot access /myth/tmp/list.before: Cannot send after transport endpoint shutdown
ls: cannot access /myth/tmp/4stripe: Cannot send after transport endpoint shutdown
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;
&lt;p&gt;but did not generate the console errors.&lt;/p&gt;

&lt;p&gt;It seems that there is some kind of imbalance in the error handling for files opened for write.&lt;/p&gt;</description>
                <environment>Lustre: 2.5.3&lt;br/&gt;
Kernel: 2.6.32.26-175.fc12.x86_64&lt;br/&gt;
</environment>
        <key id="34513">LU-7744</key>
            <summary>&quot;ima_file_free: f3 open/free imbalance&quot; opening file on inactive OST</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="5">Cannot Reproduce</resolution>
                                        <assignee username="wc-triage">WC Triage</assignee>
                                    <reporter username="adilger">Andreas Dilger</reporter>
                        <labels>
                    </labels>
                <created>Fri, 5 Feb 2016 04:16:37 +0000</created>
                <updated>Wed, 13 Oct 2021 02:21:37 +0000</updated>
                            <resolved>Wed, 13 Oct 2021 02:21:37 +0000</resolved>
                                    <version>Lustre 2.5.3</version>
                                                        <due></due>
                            <votes>0</votes>
                                    <watches>1</watches>
                                                                                    <attachments>
                            <attachment id="20333" name="debug.echo" size="337874" author="adilger" created="Fri, 5 Feb 2016 04:16:37 +0000"/>
                    </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|hzy0fj:</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>