<!-- 
RSS generated by JIRA (9.4.14#940014-sha1:734e6822bbf0d45eff9af51f82432957f73aa32c) at Sat Feb 10 01:58:25 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-6231] LFSCK 5: prepare OUT RPC after the remote transaction start</title>
                <link>https://jira.whamcloud.com/browse/LU-6231</link>
                <project id="10000" key="LU">Lustre</project>
                    <description>&lt;p&gt;According to our current transaction/dt_object_lock framework (to make the cross-MDTs modification for DNE1 to be workable), the transaction sponsor will start the transaction firstly, then try to acquire related dt_object_lock if needed. Under such rules, if we want to prepare the updates request in the OUT RPC during the declare phase, then related attr/xattr should be known without dt_object_lock. But such condition maybe not true for some remote transaction case. For example:&lt;/p&gt;

&lt;p&gt;For linkEA repairing (by LFSCK) case, before the LFSCK thread obtained the dt_object_lock on the target MDT-object, it cannot know whether the MDT-object has linkEA or not, neither invalid or not.&lt;/p&gt;

&lt;p&gt;Since the LFSCK thread cannot hold dt_object_lock before the (remote) transaction start (otherwise there will be some potential deadlock), it cannot prepare related RPC for repairing during the declare phase as other normal transactions do.&lt;/p&gt;

&lt;p&gt;To resolve the trouble, we will make OSP to prepare related update requests (for OUT RPC) after remote transaction started, and trigger the remote updating (RPC sending) when trans_stop. Then the up layer users, such as LFSCK, can follow the general rule to handle trans_start/dt_object_lock for repairing linkEA inconsistency without distinguishing remote MDT-object.&lt;/p&gt;

&lt;p&gt;In fact, above solution for remote transaction should be the normal model without considering DNE1. The trouble brought by DNE1 will be resolved in DNE2. At that time, this patch can be removed.&lt;/p&gt;</description>
                <environment></environment>
        <key id="28638">LU-6231</key>
            <summary>LFSCK 5: prepare OUT RPC after the remote transaction start</summary>
                <type id="1" iconUrl="https://jira.whamcloud.com/secure/viewavatar?size=xsmall&amp;avatarId=11303&amp;avatarType=issuetype">Bug</type>
                                            <priority id="3" iconUrl="https://jira.whamcloud.com/images/icons/priorities/major.svg">Major</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="yong.fan">nasf</assignee>
                                    <reporter username="yong.fan">nasf</reporter>
                        <labels>
                    </labels>
                <created>Tue, 10 Feb 2015 10:10:08 +0000</created>
                <updated>Sat, 21 Feb 2015 10:28:16 +0000</updated>
                            <resolved>Sat, 21 Feb 2015 10:28:16 +0000</resolved>
                                                    <fixVersion>Lustre 2.7.0</fixVersion>
                                        <due></due>
                            <votes>0</votes>
                                    <watches>2</watches>
                                                                            <comments>
                            <comment id="106446" author="gerrit" created="Tue, 10 Feb 2015 15:26:25 +0000"  >&lt;p&gt;Fan Yong (fan.yong@intel.com) uploaded a new patch: &lt;a href=&quot;http://review.whamcloud.com/13710&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://review.whamcloud.com/13710&lt;/a&gt;&lt;br/&gt;
Subject: &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-6231&quot; title=&quot;LFSCK 5: prepare OUT RPC after the remote transaction start&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-6231&quot;&gt;&lt;del&gt;LU-6231&lt;/del&gt;&lt;/a&gt; osp: prepare OUT RPC after remote transaction start&lt;br/&gt;
Project: fs/lustre-release&lt;br/&gt;
Branch: master&lt;br/&gt;
Current Patch Set: 1&lt;br/&gt;
Commit: 66381ec79a42e2e7d4bb809cfc452bf931acb486&lt;/p&gt;</comment>
                            <comment id="107588" author="gerrit" created="Sat, 21 Feb 2015 06:13:06 +0000"  >&lt;p&gt;Oleg Drokin (oleg.drokin@intel.com) merged in patch &lt;a href=&quot;http://review.whamcloud.com/13710/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://review.whamcloud.com/13710/&lt;/a&gt;&lt;br/&gt;
Subject: &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-6231&quot; title=&quot;LFSCK 5: prepare OUT RPC after the remote transaction start&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-6231&quot;&gt;&lt;del&gt;LU-6231&lt;/del&gt;&lt;/a&gt; osp: prepare OUT RPC after remote transaction start&lt;br/&gt;
Project: fs/lustre-release&lt;br/&gt;
Branch: master&lt;br/&gt;
Current Patch Set: &lt;br/&gt;
Commit: aaf755642e789765dd8eac1137c2f5557ff03c58&lt;/p&gt;</comment>
                            <comment id="107590" author="yong.fan" created="Sat, 21 Feb 2015 10:28:16 +0000"  >&lt;p&gt;The patch has been landed to master.&lt;/p&gt;</comment>
                    </comments>
                    <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|hzx62v:</customfieldvalue>

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