<!-- 
RSS generated by JIRA (9.4.14#940014-sha1:734e6822bbf0d45eff9af51f82432957f73aa32c) at Sat Feb 10 02:59:13 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-13196] Remove inode mutex for DIO reads</title>
                <link>https://jira.whamcloud.com/browse/LU-13196</link>
                <project id="10000" key="LU">Lustre</project>
                    <description>&lt;p&gt;When the range lock was added to Lustre, inode mutex in the DIO path was removed.&#160; This was replaced with range lock usage, but then the entire area of code was accidentally replaced with a backport from the Linux kernel staging tree.&#160; This backport still had the inode mutex usage, which is unnecessary.&lt;/p&gt;

&lt;p&gt;It looks like this was added back by mistake (sigh) when James Simmons backported some patches from the upstream kernel.&lt;/p&gt;

&lt;p&gt;Quoting from&#160;&lt;a href=&quot;https://review.whamcloud.com/#/c/32416/26&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://review.whamcloud.com/#/c/32416/26&lt;/a&gt;&#160;:&lt;/p&gt;

&lt;p&gt;The history is basically this - When the range lock was added, this was removed. I then added the range lock for DIO reads because two DIO reads can&apos;t safely operate on the same pages. Then, around when I added the range lock for DIO reads, James &lt;b&gt;back ported&lt;/b&gt; some older patches which still had the pre-range lock locking.&lt;/p&gt;

&lt;p&gt;Here&apos;s the history.&lt;/p&gt;

&lt;p&gt;Introduction of the range lock, removing the inode mutex here: &lt;a href=&quot;http://review.whamcloud.com/6672&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://review.whamcloud.com/6672&lt;/a&gt; &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-1700&quot; title=&quot;Test failure on test suite parallel-scale-nfsv4, subtest test_iorfpp&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-1700&quot;&gt;&lt;del&gt;LU-1660&lt;/del&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Adding range lock for DIO reads (because &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-1700&quot; title=&quot;Test failure on test suite parallel-scale-nfsv4, subtest test_iorfpp&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-1700&quot;&gt;&lt;del&gt;LU-1660&lt;/del&gt;&lt;/a&gt; caused crashes &lt;img class=&quot;emoticon&quot; src=&quot;https://jira.whamcloud.com/images/icons/emoticons/smile.png&quot; height=&quot;16&quot; width=&quot;16&quot; align=&quot;absmiddle&quot; alt=&quot;&quot; border=&quot;0&quot;/&gt;): &lt;a href=&quot;http://review.whamcloud.com/14385&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://review.whamcloud.com/14385&lt;/a&gt; &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-6227&quot; title=&quot;Master testing: (osc_request.c:1219:osc_brw_prep_request()) ASSERTION( i == 0 || pg-&amp;gt;off &amp;gt; pg_prev-&amp;gt;off) &quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-6227&quot;&gt;&lt;del&gt;LU-6227&lt;/del&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;James&apos; backport, which used older code w/the inode mutex: &lt;a href=&quot;http://review.whamcloud.com/14665&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://review.whamcloud.com/14665&lt;/a&gt; &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-6260&quot; title=&quot;more support for 3.16 linux kernel&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-6260&quot;&gt;&lt;del&gt;LU-6260&lt;/del&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;It looks like my &quot;add range lock&quot; and James&apos; backport were in flight at the same time.&lt;/p&gt;

&lt;p&gt;I&apos;m pretty sure this lock can be removed. I&apos;ll push a quick patch.&lt;/p&gt;</description>
                <environment></environment>
        <key id="57982">LU-13196</key>
            <summary>Remove inode mutex for DIO reads</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="1">Fixed</resolution>
                                        <assignee username="paf0186">Patrick Farrell</assignee>
                                    <reporter username="paf0186">Patrick Farrell</reporter>
                        <labels>
                    </labels>
                <created>Tue, 4 Feb 2020 03:08:25 +0000</created>
                <updated>Fri, 17 Jul 2020 21:25:11 +0000</updated>
                            <resolved>Fri, 17 Jul 2020 21:25:11 +0000</resolved>
                                                    <fixVersion>Lustre 2.14.0</fixVersion>
                                        <due></due>
                            <votes>0</votes>
                                    <watches>2</watches>
                                                                            <comments>
                            <comment id="262498" author="gerrit" created="Tue, 4 Feb 2020 03:12:59 +0000"  >&lt;p&gt;Patrick Farrell (farr0186@gmail.com) uploaded a new patch: &lt;a href=&quot;https://review.whamcloud.com/37419&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://review.whamcloud.com/37419&lt;/a&gt;&lt;br/&gt;
Subject: &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-13196&quot; title=&quot;Remove inode mutex for DIO reads&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-13196&quot;&gt;&lt;del&gt;LU-13196&lt;/del&gt;&lt;/a&gt; llite: Remove mutex on dio read&lt;br/&gt;
Project: fs/lustre-release&lt;br/&gt;
Branch: master&lt;br/&gt;
Current Patch Set: 1&lt;br/&gt;
Commit: dce7f30bf4e4af4213084abd6badc8d72f0ad900&lt;/p&gt;</comment>
                            <comment id="275651" author="gerrit" created="Fri, 17 Jul 2020 19:29:40 +0000"  >&lt;p&gt;Oleg Drokin (green@whamcloud.com) merged in patch &lt;a href=&quot;https://review.whamcloud.com/37419/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://review.whamcloud.com/37419/&lt;/a&gt;&lt;br/&gt;
Subject: &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-13196&quot; title=&quot;Remove inode mutex for DIO reads&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-13196&quot;&gt;&lt;del&gt;LU-13196&lt;/del&gt;&lt;/a&gt; llite: Remove mutex on dio read&lt;br/&gt;
Project: fs/lustre-release&lt;br/&gt;
Branch: master&lt;br/&gt;
Current Patch Set: &lt;br/&gt;
Commit: 5bc1fe092cba04d0e067214e7c2b0b756ba29843&lt;/p&gt;</comment>
                            <comment id="275676" author="pjones" created="Fri, 17 Jul 2020 21:25:11 +0000"  >&lt;p&gt;Landed for 2.14&lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10011">
                    <name>Related</name>
                                                                <inwardlinks description="is related to">
                                                        </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|i00t4n:</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>