<!-- 
RSS generated by JIRA (9.4.14#940014-sha1:734e6822bbf0d45eff9af51f82432957f73aa32c) at Sat Feb 10 02:03:30 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-6817] (llite_lib.c:1647:ll_setattr_raw()) [0x200000401:0x342:0x0]HSM set dirty failed: rc2 = -22</title>
                <link>https://jira.whamcloud.com/browse/LU-6817</link>
                <project id="10000" key="LU">Lustre</project>
                    <description>&lt;p&gt;Concurrent write and truncates to a file cause clients to try to set HS_DIRTY on the file even if the file was never archived.&lt;/p&gt;
&lt;div class=&quot;preformatted panel&quot; style=&quot;border-width: 1px;&quot;&gt;&lt;div class=&quot;preformattedContent panelContent&quot;&gt;
&lt;pre&gt;# while true; do echo XXX &amp;gt;&amp;gt; f0; done &amp;amp;
# while true; do truncate --size=13 f0; done &amp;amp;

t login: [109280.708508] LustreError: 12321:0:(llite_lib.c:1647:ll_setattr_raw()) [0x200000401:0x1:0x0]HSM set dirty failed: rc2 = -22
[109280.712174] LustreError: 12321:0:(llite_lib.c:1647:ll_setattr_raw()) Skipped 18 previous similar messages
[109314.024737] LustreError: 17287:0:(llite_lib.c:1647:ll_setattr_raw()) [0x200000401:0x1:0x0]HSM set dirty failed: rc2 = -22
[109314.026936] LustreError: 17287:0:(llite_lib.c:1647:ll_setattr_raw()) Skipped 39 previous similar messages
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;
</description>
                <environment></environment>
        <key id="31010">LU-6817</key>
            <summary>(llite_lib.c:1647:ll_setattr_raw()) [0x200000401:0x342:0x0]HSM set dirty failed: rc2 = -22</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="bobijam">Zhenyu Xu</assignee>
                                    <reporter username="jhammond">John Hammond</reporter>
                        <labels>
                            <label>hsm</label>
                            <label>llite</label>
                    </labels>
                <created>Wed, 8 Jul 2015 20:28:19 +0000</created>
                <updated>Tue, 18 Aug 2015 13:58:26 +0000</updated>
                            <resolved>Tue, 18 Aug 2015 13:58:26 +0000</resolved>
                                    <version>Lustre 2.8.0</version>
                                    <fixVersion>Lustre 2.8.0</fixVersion>
                                        <due></due>
                            <votes>0</votes>
                                    <watches>5</watches>
                                                                            <comments>
                            <comment id="120766" author="bogl" created="Wed, 8 Jul 2015 20:59:35 +0000"  >&lt;p&gt;I&apos;m suddenly seeing a lot of errors like this logged all the time.  doesn&apos;t require overlapping write/trunc to make it happen as far as I can tell.&lt;/p&gt;

&lt;p&gt;This error was introduced by recent commit 6acf93339ad3297f2e5c659f2269c05df6198f74 in master for &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-5823&quot; title=&quot;Replace some obsolete obd operations with CLIO ioctl interface&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-5823&quot;&gt;&lt;del&gt;LU-5823&lt;/del&gt;&lt;/a&gt; llite: Remove access of stripe in ll_setattr_raw (I think).&lt;/p&gt;</comment>
                            <comment id="120775" author="pjones" created="Wed, 8 Jul 2015 22:05:54 +0000"  >&lt;p&gt;Bobijam&lt;/p&gt;

&lt;p&gt;Could you please look into this issue?&lt;/p&gt;

&lt;p&gt;Thanks&lt;/p&gt;

&lt;p&gt;Peter&lt;/p&gt;</comment>
                            <comment id="120803" author="jay" created="Thu, 9 Jul 2015 08:40:07 +0000"  >&lt;p&gt;This message is harmless. The root cause of this problem is that LLIF_DATA_MODIFIED is used to identify if a file has been restored. Based on the chance of this happening, I would like to fix this problem by:&lt;/p&gt;

&lt;p&gt;1. clear LLIF_DATA_MODIFIED before sending MDS_DATA_MODIFIED;&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;if&lt;/span&gt; (!hsm_import &amp;amp;&amp;amp; attr-&amp;gt;ia_valid &amp;amp; ATTR_SIZE) {
                /* If we are changing file size, file content is
                 * modified, flag it. */
                attr-&amp;gt;ia_valid |= MDS_OPEN_OWNEROVERRIDE;
                op_data-&amp;gt;op_bias |= MDS_DATA_MODIFIED;
&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; New code
                ll_file_clear_flag(lli, LLIF_DATA_MODIFIED);
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;This way it can reduce the chance of this happening.&lt;/p&gt;

&lt;p&gt;2. Since it&apos;s still a legal race for write and truncate happening on the same time, we should change CERROR of this message to CDEBUG(D_INFO, ...).&lt;/p&gt;</comment>
                            <comment id="120805" author="gerrit" created="Thu, 9 Jul 2015 09:10:53 +0000"  >&lt;p&gt;Bobi Jam (bobijam@hotmail.com) uploaded a new patch: &lt;a href=&quot;http://review.whamcloud.com/15541&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://review.whamcloud.com/15541&lt;/a&gt;&lt;br/&gt;
Subject: &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-6817&quot; title=&quot;(llite_lib.c:1647:ll_setattr_raw()) [0x200000401:0x342:0x0]HSM set dirty failed: rc2 = -22&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-6817&quot;&gt;&lt;del&gt;LU-6817&lt;/del&gt;&lt;/a&gt; llite: lower message level for ll_setattr_raw()&lt;br/&gt;
Project: fs/lustre-release&lt;br/&gt;
Branch: master&lt;br/&gt;
Current Patch Set: 1&lt;br/&gt;
Commit: eefae9e4afc12796a39f4cb9b1f1dd33e264ae47&lt;/p&gt;</comment>
                            <comment id="124396" author="gerrit" created="Tue, 18 Aug 2015 11:27:36 +0000"  >&lt;p&gt;Oleg Drokin (oleg.drokin@intel.com) merged in patch &lt;a href=&quot;http://review.whamcloud.com/15541/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://review.whamcloud.com/15541/&lt;/a&gt;&lt;br/&gt;
Subject: &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-6817&quot; title=&quot;(llite_lib.c:1647:ll_setattr_raw()) [0x200000401:0x342:0x0]HSM set dirty failed: rc2 = -22&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-6817&quot;&gt;&lt;del&gt;LU-6817&lt;/del&gt;&lt;/a&gt; llite: lower message level for ll_setattr_raw()&lt;br/&gt;
Project: fs/lustre-release&lt;br/&gt;
Branch: master&lt;br/&gt;
Current Patch Set: &lt;br/&gt;
Commit: 5291d454d49cd6048b815382fc5647712c277c1d&lt;/p&gt;</comment>
                            <comment id="124414" author="pjones" created="Tue, 18 Aug 2015 13:58:26 +0000"  >&lt;p&gt;Landed for 2.8&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|hzxhqv:</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>