<!-- 
RSS generated by JIRA (9.4.14#940014-sha1:734e6822bbf0d45eff9af51f82432957f73aa32c) at Sat Feb 10 02:52:47 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-12460] lli_trunc_sem can lead to a readlock</title>
                <link>https://jira.whamcloud.com/browse/LU-12460</link>
                <project id="10000" key="LU">Lustre</project>
                    <description>&lt;p&gt;Neil Brown discovered during the linux lustre client work a potential read lock condition involving lli_trunc_sem. If you mmap a&#160;lustre file, then read into that mapped memory from the file they can shared the same mmap_sem which does is okay since they are down_read() calls. The read lock can happen if truncate is called in between memory mapping the file and reading into the that mapped memory from the file.&lt;/p&gt;</description>
                <environment>Any lustre client</environment>
        <key id="56000">LU-12460</key>
            <summary>lli_trunc_sem can lead to a readlock</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="neilb">Neil Brown</assignee>
                                    <reporter username="simmonsja">James A Simmons</reporter>
                        <labels>
                    </labels>
                <created>Thu, 20 Jun 2019 01:47:08 +0000</created>
                <updated>Fri, 3 Dec 2021 19:03:05 +0000</updated>
                            <resolved>Thu, 23 Jan 2020 13:10:44 +0000</resolved>
                                    <version>Lustre 2.13.0</version>
                    <version>Lustre 2.12.2</version>
                                    <fixVersion>Lustre 2.14.0</fixVersion>
                                        <due></due>
                            <votes>0</votes>
                                    <watches>5</watches>
                                                                            <comments>
                            <comment id="249512" author="gerrit" created="Thu, 20 Jun 2019 01:49:00 +0000"  >&lt;p&gt;James Simmons (uja.ornl@yahoo.com) uploaded a new patch: &lt;a href=&quot;https://review.whamcloud.com/35271&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://review.whamcloud.com/35271&lt;/a&gt;&lt;br/&gt;
Subject: &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-12460&quot; title=&quot;lli_trunc_sem can lead to a readlock&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-12460&quot;&gt;&lt;del&gt;LU-12460&lt;/del&gt;&lt;/a&gt; llite: replace lli_trunc_sem&lt;br/&gt;
Project: fs/lustre-release&lt;br/&gt;
Branch: master&lt;br/&gt;
Current Patch Set: 1&lt;br/&gt;
Commit: a234469c691056b1eb81ae0a22ab9f105cffa8a9&lt;/p&gt;</comment>
                            <comment id="249550" author="adilger" created="Thu, 20 Jun 2019 08:15:58 +0000"  >&lt;p&gt;James, your bug description doesn&apos;t quite make sense.  Is there supposed to be a write lock somewhere in there?&lt;/p&gt;

&lt;p&gt;I haven&apos;t looked at the CLIO code in a while, but we used to have a check for the source pages coming from mmapped memory of the target file, or vice versa.&lt;/p&gt;</comment>
                            <comment id="249576" author="simmonsja" created="Thu, 20 Jun 2019 14:33:31 +0000"  >&lt;p&gt;Yeah the details were lacking at the time I opened the ticket. It was based on what was in the patch. As the discussion continues this ticket description can be updated.&lt;/p&gt;</comment>
                            <comment id="249578" author="pfarrell" created="Thu, 20 Jun 2019 14:35:01 +0000"  >&lt;p&gt;James,&lt;/p&gt;

&lt;p&gt;I asked this in Gerrit but didn&apos;t see a response - Has this patch been on a mailing list and I missed it?&#160; Or is this the first appearance of it?&#160; If it&apos;s been on a mailing list, which one?&lt;/p&gt;</comment>
                            <comment id="249622" author="gerrit" created="Thu, 20 Jun 2019 21:57:54 +0000"  >&lt;p&gt;Patrick Farrell (pfarrell@whamcloud.com) uploaded a new patch: &lt;a href=&quot;https://review.whamcloud.com/35283&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://review.whamcloud.com/35283&lt;/a&gt;&lt;br/&gt;
Subject: &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-12460&quot; title=&quot;lli_trunc_sem can lead to a readlock&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-12460&quot;&gt;&lt;del&gt;LU-12460&lt;/del&gt;&lt;/a&gt; llite: replace lli_trunc_sem&lt;br/&gt;
Project: fs/lustre-release&lt;br/&gt;
Branch: master&lt;br/&gt;
Current Patch Set: 1&lt;br/&gt;
Commit: e0561ca36a6062d423a447070eda688d0194b2cf&lt;/p&gt;</comment>
                            <comment id="249626" author="neilb" created="Thu, 20 Jun 2019 22:28:10 +0000"  >&lt;p&gt;Patrick,&lt;/p&gt;

&lt;p&gt;&#160;that patch has been in my lustre-testing branch for a while, but I hadn&apos;t posted it because I really want there to be a better way - so I was procrastinating.&lt;/p&gt;

&lt;p&gt;James did post it to the list on 20th May with a bunch of patches which were patches from my lustre-testing which he had modified to varying extents (I&apos;ve merged the changes I liked into my lustre-testing).&lt;/p&gt;

&lt;p&gt;You might&#160; remember discussing your &quot;ll_fault fixes&quot; patch that was in the series and I had questions about it.&#160; It was patch 1 of the series.&#160; This patch was patch&#160; 3 (of 29).&lt;/p&gt;</comment>
                            <comment id="249636" author="pfarrell" created="Fri, 21 Jun 2019 02:47:06 +0000"  >&lt;p&gt;Right, thank you - Obviously, I did not read through the full series......&lt;/p&gt;</comment>
                            <comment id="261673" author="gerrit" created="Thu, 23 Jan 2020 05:29:06 +0000"  >&lt;p&gt;Oleg Drokin (green@whamcloud.com) merged in patch &lt;a href=&quot;https://review.whamcloud.com/35271/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://review.whamcloud.com/35271/&lt;/a&gt;&lt;br/&gt;
Subject: &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-12460&quot; title=&quot;lli_trunc_sem can lead to a readlock&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-12460&quot;&gt;&lt;del&gt;LU-12460&lt;/del&gt;&lt;/a&gt; llite: replace lli_trunc_sem&lt;br/&gt;
Project: fs/lustre-release&lt;br/&gt;
Branch: master&lt;br/&gt;
Current Patch Set: &lt;br/&gt;
Commit: e5914a61ac7705f5768c9c75094a456dafefb04f&lt;/p&gt;</comment>
                            <comment id="261704" author="pjones" created="Thu, 23 Jan 2020 13:10:44 +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">
                                        <issuelink>
            <issuekey id="56278">LU-12511</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|i00iin:</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>