<!-- 
RSS generated by JIRA (9.4.14#940014-sha1:734e6822bbf0d45eff9af51f82432957f73aa32c) at Sat Feb 10 02:44:02 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-11456] MDT can skip sync if the object is synced yet</title>
                <link>https://jira.whamcloud.com/browse/LU-11456</link>
                <project id="10000" key="LU">Lustre</project>
                    <description>&lt;p&gt;mdt_object_sync() can skip sync if the version stored in the object is declared committed&lt;/p&gt;</description>
                <environment></environment>
        <key id="53468">LU-11456</key>
            <summary>MDT can skip sync if the object is synced yet</summary>
                <type id="4" iconUrl="https://jira.whamcloud.com/secure/viewavatar?size=xsmall&amp;avatarId=11310&amp;avatarType=issuetype">Improvement</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="bzzz">Alex Zhuravlev</assignee>
                                    <reporter username="bzzz">Alex Zhuravlev</reporter>
                        <labels>
                    </labels>
                <created>Tue, 2 Oct 2018 14:08:32 +0000</created>
                <updated>Fri, 9 Aug 2019 15:09:28 +0000</updated>
                            <resolved>Fri, 9 Aug 2019 15:09:28 +0000</resolved>
                                    <version>Upstream</version>
                                    <fixVersion>Lustre 2.13.0</fixVersion>
                                        <due></due>
                            <votes>0</votes>
                                    <watches>4</watches>
                                                                            <comments>
                            <comment id="234212" author="gerrit" created="Tue, 2 Oct 2018 14:16:12 +0000"  >&lt;p&gt;Alex Zhuravlev (bzzz@whamcloud.com) uploaded a new patch: &lt;a href=&quot;https://review.whamcloud.com/33266&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://review.whamcloud.com/33266&lt;/a&gt;&lt;br/&gt;
Subject: &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-11456&quot; title=&quot;MDT can skip sync if the object is synced yet&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-11456&quot;&gt;&lt;del&gt;LU-11456&lt;/del&gt;&lt;/a&gt; mdt: mdt_object_sync() can skip sync&lt;br/&gt;
Project: fs/lustre-release&lt;br/&gt;
Branch: master&lt;br/&gt;
Current Patch Set: 1&lt;br/&gt;
Commit: 03d8b8f3eb66c839041176e4f3149de4811f88c1&lt;/p&gt;</comment>
                            <comment id="234249" author="adilger" created="Tue, 2 Oct 2018 22:40:25 +0000"  >&lt;p&gt;I also see in the osd-zfs code:&lt;/p&gt;
&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;
&lt;span class=&quot;code-keyword&quot;&gt;static&lt;/span&gt; &lt;span class=&quot;code-object&quot;&gt;int&lt;/span&gt; osd_object_sync(&lt;span class=&quot;code-keyword&quot;&gt;const&lt;/span&gt; struct lu_env *env, struct dt_object *dt,
                           __u64 start, __u64 end)
{
        struct osd_device *osd = osd_obj2dev(osd_dt_obj(dt));
        ENTRY;
        
        /* XXX: no other option than syncing the whole filesystem until we
         * support ZIL.  If the object tracked the txg that it was last
         * modified in, it could pass that txg here instead of &lt;span class=&quot;code-quote&quot;&gt;&quot;0&quot;&lt;/span&gt;.  Maybe
         * the changes are already committed, so no wait is needed at all? */
        &lt;span class=&quot;code-keyword&quot;&gt;if&lt;/span&gt; (!osd-&amp;gt;od_dt_dev.dd_rdonly) {
                &lt;span class=&quot;code-keyword&quot;&gt;if&lt;/span&gt; (osd_object_sync_delay_us &amp;lt; 0)
                        txg_wait_synced(dmu_objset_pool(osd-&amp;gt;od_os), 0ULL);
                &lt;span class=&quot;code-keyword&quot;&gt;else&lt;/span&gt;
                        udelay(osd_object_sync_delay_us);
        } 
         
        RETURN(0);
}
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;
</comment>
                            <comment id="234263" author="bzzz" created="Wed, 3 Oct 2018 08:52:16 +0000"  >&lt;p&gt;yes, I think we can improve this a bit more as each OSD could check whether specific state has been already sent to disk and skip another skip just waiting for the previous one to complete.&lt;br/&gt;
at least for ZFS this is relatively easy, need to think about ldiskfs..&lt;/p&gt;</comment>
                            <comment id="234266" author="bzzz" created="Wed, 3 Oct 2018 09:43:06 +0000"  >&lt;p&gt;created &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-11462&quot; title=&quot;osd-zfs can skip object sync if it&amp;#39;s not dirty&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-11462&quot;&gt;&lt;del&gt;LU-11462&lt;/del&gt;&lt;/a&gt; to track ZFS-specific solution.&lt;/p&gt;</comment>
                            <comment id="252829" author="gerrit" created="Fri, 9 Aug 2019 04:39:54 +0000"  >&lt;p&gt;Oleg Drokin (green@whamcloud.com) merged in patch &lt;a href=&quot;https://review.whamcloud.com/33266/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://review.whamcloud.com/33266/&lt;/a&gt;&lt;br/&gt;
Subject: &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-11456&quot; title=&quot;MDT can skip sync if the object is synced yet&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-11456&quot;&gt;&lt;del&gt;LU-11456&lt;/del&gt;&lt;/a&gt; mdt: mdt_object_sync() can skip sync&lt;br/&gt;
Project: fs/lustre-release&lt;br/&gt;
Branch: master&lt;br/&gt;
Current Patch Set: &lt;br/&gt;
Commit: 2291c21d174ac0a88f2c3b0551362079c963df16&lt;/p&gt;</comment>
                            <comment id="252877" author="pjones" created="Fri, 9 Aug 2019 15:09:28 +0000"  >&lt;p&gt;Landed for 2.13&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|i003dz:</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>
                                                                                                                                                                                                                                                                                                                                                                                                                </customfields>
    </item>
</channel>
</rss>