<!-- 
RSS generated by JIRA (9.4.14#940014-sha1:734e6822bbf0d45eff9af51f82432957f73aa32c) at Sat Feb 10 03:08: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-14267] osd_ldiskfs_write_record(): do not update in-bh inode every time</title>
                <link>https://jira.whamcloud.com/browse/LU-14267</link>
                <project id="10000" key="LU">Lustre</project>
                    <description>&lt;p&gt;there is no point to update in-bh inode every call to osd_ldiskfs_write_record(), but&lt;br/&gt;
the following construction makes it so:&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;
        dirty_inode = test_and_set_bit(LDISKFS_INODE_JOURNAL_DATA,
                                       &amp;amp;ei-&amp;gt;i_flags);
....
        &lt;span class=&quot;code-keyword&quot;&gt;if&lt;/span&gt; (dirty_inode)
                osd_dirty_inode(inode, I_DIRTY_DATASYNC);
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;there are two consequences:&lt;br/&gt;
1) transaction can exceed declared credits as osd_declare_write() doesn&apos;t reserve inode for overwrite case (then current operation aborts with -ENOSPC and filesystem turns read-only)&lt;br/&gt;
2) overwrites copy inode into buffer cache impacting performance, should be especially visible with changelogs enabled, where every record causes at least two separate writes&lt;/p&gt;</description>
                <environment></environment>
        <key id="62127">LU-14267</key>
            <summary>osd_ldiskfs_write_record(): do not update in-bh inode every time</summary>
                <type id="1" iconUrl="https://jira.whamcloud.com/secure/viewavatar?size=xsmall&amp;avatarId=11303&amp;avatarType=issuetype">Bug</type>
                                            <priority id="2" iconUrl="https://jira.whamcloud.com/images/icons/priorities/critical.svg">Critical</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>
                            <label>LTS12</label>
                    </labels>
                <created>Tue, 22 Dec 2020 06:56:59 +0000</created>
                <updated>Fri, 8 Jan 2021 16:19:54 +0000</updated>
                            <resolved>Tue, 5 Jan 2021 12:57:23 +0000</resolved>
                                    <version>Lustre 2.14.0</version>
                    <version>Lustre 2.12.6</version>
                                    <fixVersion>Lustre 2.14.0</fixVersion>
                                        <due></due>
                            <votes>0</votes>
                                    <watches>7</watches>
                                                                            <comments>
                            <comment id="288177" author="gerrit" created="Tue, 22 Dec 2020 07:11:15 +0000"  >&lt;p&gt;Alex Zhuravlev (bzzz@whamcloud.com) uploaded a new patch: &lt;a href=&quot;https://review.whamcloud.com/41069&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://review.whamcloud.com/41069&lt;/a&gt;&lt;br/&gt;
Subject: &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-14267&quot; title=&quot;osd_ldiskfs_write_record(): do not update in-bh inode every time&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-14267&quot;&gt;&lt;del&gt;LU-14267&lt;/del&gt;&lt;/a&gt; osd: do not update inode each write&lt;br/&gt;
Project: fs/lustre-release&lt;br/&gt;
Branch: master&lt;br/&gt;
Current Patch Set: 1&lt;br/&gt;
Commit: b72f6bb341277f6357549c13af9de6ef52b95b3a&lt;/p&gt;</comment>
                            <comment id="288280" author="adilger" created="Wed, 23 Dec 2020 09:46:01 +0000"  >&lt;p&gt;This regression was introduced into master by commit v2_13_53-166-ga23aac2219 patch &lt;a href=&quot;https://review.whamcloud.com/38281&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://review.whamcloud.com/38281&lt;/a&gt; &quot;&lt;tt&gt;&lt;a href=&quot;https://jira.whamcloud.com/browse/LU-13416&quot; title=&quot;Data corruption during IOR testing with DoM files and hard failover&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-13416&quot;&gt;&lt;del&gt;LU-13416&lt;/del&gt;&lt;/a&gt; ldiskfs: don&apos;t corrupt data on journal replay&lt;/tt&gt;&quot; so the fix patch should be included into the 2.14.0 release.&lt;/p&gt;</comment>
                            <comment id="288642" author="gerrit" created="Tue, 5 Jan 2021 08:27:22 +0000"  >&lt;p&gt;Oleg Drokin (green@whamcloud.com) merged in patch &lt;a href=&quot;https://review.whamcloud.com/41069/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://review.whamcloud.com/41069/&lt;/a&gt;&lt;br/&gt;
Subject: &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-14267&quot; title=&quot;osd_ldiskfs_write_record(): do not update in-bh inode every time&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-14267&quot;&gt;&lt;del&gt;LU-14267&lt;/del&gt;&lt;/a&gt; osd: do not update inode each write&lt;br/&gt;
Project: fs/lustre-release&lt;br/&gt;
Branch: master&lt;br/&gt;
Current Patch Set: &lt;br/&gt;
Commit: 620152339fe18f3a3cc317ab05a7e34adcc68098&lt;/p&gt;</comment>
                            <comment id="288661" author="pjones" created="Tue, 5 Jan 2021 12:57:23 +0000"  >&lt;p&gt;Landed for 2.14&lt;/p&gt;</comment>
                            <comment id="289044" author="gerrit" created="Fri, 8 Jan 2021 16:14:48 +0000"  >&lt;p&gt;Etienne AUJAMES (eaujames@ddn.com) uploaded a new patch: &lt;a href=&quot;https://review.whamcloud.com/41174&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://review.whamcloud.com/41174&lt;/a&gt;&lt;br/&gt;
Subject: &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-14267&quot; title=&quot;osd_ldiskfs_write_record(): do not update in-bh inode every time&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-14267&quot;&gt;&lt;del&gt;LU-14267&lt;/del&gt;&lt;/a&gt; osd: do not update inode each write&lt;br/&gt;
Project: fs/lustre-release&lt;br/&gt;
Branch: b2_12&lt;br/&gt;
Current Patch Set: 1&lt;br/&gt;
Commit: 034b328cf68ad1878c17ea798764a06020e003ea&lt;/p&gt;</comment>
                            <comment id="289047" author="eaujames" created="Fri, 8 Jan 2021 16:19:54 +0000"  >&lt;p&gt;The backport above fixes the &lt;a href=&quot;https://review.whamcloud.com/38705/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://review.whamcloud.com/38705/&lt;/a&gt; on the b2_12 branch.&lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10120">
                    <name>Blocker</name>
                                            <outwardlinks description="is blocking">
                                                        </outwardlinks>
                                                        </issuelinktype>
                            <issuelinktype id="10011">
                    <name>Related</name>
                                            <outwardlinks description="is related to ">
                                        <issuelink>
            <issuekey id="58629">LU-13416</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|i01hzz:</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>