<!-- 
RSS generated by JIRA (9.4.14#940014-sha1:734e6822bbf0d45eff9af51f82432957f73aa32c) at Sat Feb 10 01:39:59 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-4135] mdt_save_lock() is broken</title>
                <link>https://jira.whamcloud.com/browse/LU-4135</link>
                <project id="10000" key="LU">Lustre</project>
                    <description>&lt;p&gt;The mdt_save_lock() is broken and doesn&apos;t save any lock ever but simply unlock it. That happens because mti_has_trans is always 0 and is not updated upon transaction execution since commit 607905a789357a34166f34e7c992b03f5040eafc.&lt;/p&gt;

&lt;p&gt;Another issue with mdt_save_lock is &apos;req&apos; variable which can be NULL in codepath mdt_export_cleanup()&lt;del&gt;&amp;gt;mdt_ctxt_add_dirty_flag&lt;/del&gt;&amp;gt;mdt_add_dirty_flag-&amp;gt;mdt_object_unlock()-&amp;gt;mdt_save_lock().&lt;/p&gt;</description>
                <environment></environment>
        <key id="21600">LU-4135</key>
            <summary>mdt_save_lock() is broken</summary>
                <type id="1" iconUrl="https://jira.whamcloud.com/secure/viewavatar?size=xsmall&amp;avatarId=11303&amp;avatarType=issuetype">Bug</type>
                                            <priority id="1" iconUrl="https://jira.whamcloud.com/images/icons/priorities/blocker.svg">Blocker</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="tappro">Mikhail Pershin</assignee>
                                    <reporter username="tappro">Mikhail Pershin</reporter>
                        <labels>
                    </labels>
                <created>Wed, 23 Oct 2013 11:12:11 +0000</created>
                <updated>Mon, 31 Jan 2022 03:45:13 +0000</updated>
                            <resolved>Mon, 18 Nov 2013 13:36:53 +0000</resolved>
                                    <version>Lustre 2.5.0</version>
                                    <fixVersion>Lustre 2.6.0</fixVersion>
                    <fixVersion>Lustre 2.5.1</fixVersion>
                                        <due></due>
                            <votes>0</votes>
                                    <watches>3</watches>
                                                                            <comments>
                            <comment id="69621" author="tappro" created="Wed, 23 Oct 2013 11:18:32 +0000"  >&lt;p&gt;patch to fix this issue: &lt;a href=&quot;http://review.whamcloud.com/8048&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://review.whamcloud.com/8048&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="69645" author="green" created="Wed, 23 Oct 2013 16:12:41 +0000"  >&lt;p&gt;So how does this manifests itself? a crash in a specific circumstances or what?&lt;br/&gt;
Also how did you find it and when will this hit in real world?&lt;/p&gt;</comment>
                            <comment id="69661" author="tappro" created="Wed, 23 Oct 2013 18:17:22 +0000"  >&lt;p&gt;I&apos;ve found that during testing side patches for Unified Target but it is clear that req is taken from mdt_thread_info and it is NULL in case of mdt_export_cleanup() in master as well, so I created this bug. Meanwhile I wonder why we don&apos;t see that issue in master tests and find out that things are even worse, currently in master mdt_save_lock() never saves them but just do unlock because mti_has_trans is always 0 after commit 607905a789357a34166f34e7c992b03f5040eafc. In my patches for UT it works and bug happens.&lt;/p&gt;

&lt;p&gt;This issue is quite critical now because we broke important part of recovery so I&apos;d change summary to something like &quot;restore mdt_lock_save() functionality&quot;. Patch is refreshed already to fix both issues.&lt;/p&gt;

&lt;p&gt;With proper mdt_save_lock() functionality the oops happens in test 52 sanity-hsm.sh due to NULL req variable as I wrote in first comment.&lt;/p&gt;</comment>
                            <comment id="71774" author="tappro" created="Mon, 18 Nov 2013 13:36:53 +0000"  >&lt;p&gt;patch was merged&lt;/p&gt;</comment>
                            <comment id="76257" author="adilger" created="Wed, 5 Feb 2014 10:27:43 +0000"  >&lt;p&gt;Patch was also merged to b2_5 and will be in the 2.5.1 release.&lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10010">
                    <name>Duplicate</name>
                                            <outwardlinks description="duplicates">
                                        <issuelink>
            <issuekey id="21396">LU-4103</issuekey>
        </issuelink>
            <issuelink>
            <issuekey id="21629">LU-4143</issuekey>
        </issuelink>
            <issuelink>
            <issuekey id="21628">LU-4142</issuekey>
        </issuelink>
                            </outwardlinks>
                                                        </issuelinktype>
                            <issuelinktype id="10011">
                    <name>Related</name>
                                                                <inwardlinks description="is related to">
                                        <issuelink>
            <issuekey id="21629">LU-4143</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|hzw6n3:</customfieldvalue>

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