<!-- 
RSS generated by JIRA (9.4.14#940014-sha1:734e6822bbf0d45eff9af51f82432957f73aa32c) at Sat Feb 10 01:54:35 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-5794] improve credit checks in osd-ldiskfs</title>
                <link>https://jira.whamcloud.com/browse/LU-5794</link>
                <project id="10000" key="LU">Lustre</project>
                    <description>&lt;p&gt;the current schema can&apos;t detect how the credits are consumed while a transaction is going. so, it&apos;s hard to understand which specific operation consumes too much. also, the schema doesn&apos;t support rollback operations properly which may cause false assertions.&lt;/p&gt;</description>
                <environment>ldiskfs</environment>
        <key id="27187">LU-5794</key>
            <summary>improve credit checks in osd-ldiskfs</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>Thu, 23 Oct 2014 09:31:13 +0000</created>
                <updated>Tue, 8 Nov 2016 18:59:20 +0000</updated>
                            <resolved>Fri, 10 Jul 2015 12:10:26 +0000</resolved>
                                    <version>Lustre 2.6.0</version>
                    <version>Lustre 2.7.0</version>
                                    <fixVersion>Lustre 2.8.0</fixVersion>
                                        <due></due>
                            <votes>0</votes>
                                    <watches>7</watches>
                                                                            <comments>
                            <comment id="97107" author="bzzz" created="Thu, 23 Oct 2014 09:34:45 +0000"  >&lt;p&gt;the proposed patch - &lt;a href=&quot;http://review.whamcloud.com/#/c/12169/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://review.whamcloud.com/#/c/12169/&lt;/a&gt; - tracks how many credits every operation has used and asserts when too many credits were consumed. it reuses the existing rollback table of the operations to allow zero-credits reverse operations (e.g. create &lt;del&gt;&amp;gt; destroy, insert&lt;/del&gt;&amp;gt;delete, etc).&lt;/p&gt;</comment>
                            <comment id="97482" author="adilger" created="Fri, 24 Oct 2014 22:46:06 +0000"  >&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;23:14:23:Lustre: DEBUG MARKER: == recovery-small test 110g: drop reply during migration == 05:14:10 (1412745250)
23:14:23:Lustre: 7852:0:(osd_internal.h:1048:osd_trans_exec_check()) op 9: used 4, used now 4, reserved 1
23:14:23:Lustre: 7852:0:(osd_handler.c:985:osd_trans_dump_creds())   create: 1/4/0, destroy: 0/0/0
23:14:23:Lustre: 7852:0:(osd_handler.c:992:osd_trans_dump_creds())   attr_set: 1/1/0, xattr_set: 1/64/0
23:14:23:Lustre: 7852:0:(osd_handler.c:1002:osd_trans_dump_creds())   write: 2/4/0, punch: 0/0/0, quota 2/2/0
23:14:23:Lustre: 7852:0:(osd_handler.c:1009:osd_trans_dump_creds())   insert: 3/50/0, delete: 1/1/4
23:14:23:Lustre: 7852:0:(osd_handler.c:1016:osd_trans_dump_creds())   ref_add: 0/0/0, ref_del: 0/0/0
23:14:23:LustreError: 7852:0:(osd_internal.h:1050:osd_trans_exec_check()) LBUG
23:14:23:Pid: 7852, comm: mdt_out00_002
23:14:23:
23:14:23:Call Trace:
23:14:23: [&amp;lt;ffffffffa0760895&amp;gt;] libcfs_debug_dumpstack+0x55/0x80 [libcfs]
23:14:23: [&amp;lt;ffffffffa0760e97&amp;gt;] lbug_with_loc+0x47/0xb0 [libcfs]
23:14:23: [&amp;lt;ffffffffa1396dfc&amp;gt;] osd_index_ea_delete+0x9cc/0xd80 [osd_ldiskfs]
23:14:23: [&amp;lt;ffffffffa0dff316&amp;gt;] out_obj_index_delete+0x156/0x1f0 [ptlrpc]
23:14:23: [&amp;lt;ffffffffa0e061f8&amp;gt;] out_tx_index_delete_exec+0x28/0x170 [ptlrpc]
23:14:23: [&amp;lt;ffffffffa0dfea2a&amp;gt;] out_tx_end+0xda/0x5c0 [ptlrpc]
23:14:23: [&amp;lt;ffffffffa0e05480&amp;gt;] out_handle+0x7c0/0xe50 [ptlrpc]
23:14:23: [&amp;lt;ffffffffa0dfba9e&amp;gt;] tgt_request_handle+0x71e/0xb10 [ptlrpc]
23:14:23: [&amp;lt;ffffffffa0dab384&amp;gt;] ptlrpc_main+0xe64/0x1990 [ptlrpc]
23:14:23: [&amp;lt;ffffffff8109abf6&amp;gt;] kthread+0x96/0xa0
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;</comment>
                            <comment id="97483" author="adilger" created="Fri, 24 Oct 2014 22:48:02 +0000"  >&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;01:41:14:Lustre: DEBUG MARKER: == sanityn test 40a: pdirops: create vs others ================ 07:40:48 (1413358848)
01:41:14:Lustre: DEBUG MARKER: lctl set_param fail_loc=0x80000145
01:41:14:LustreError: 7196:0:(fail.c:132:__cfs_fail_timeout_set()) cfs_fail_timeout id 145 sleeping for 15000ms
01:41:14:LustreError: 7196:0:(fail.c:136:__cfs_fail_timeout_set()) cfs_fail_timeout id 145 awake
01:41:14:Lustre: 7195:0:(osd_internal.h:1048:osd_trans_exec_check()) op 9: used 6, used now 6, reserved 1
01:41:14:Lustre: 7195:0:(osd_handler.c:985:osd_trans_dump_creds())   create: 0/0/0, destroy: 0/0/0
01:41:14:Lustre: 7195:0:(osd_handler.c:992:osd_trans_dump_creds())   attr_set: 2/2/0, xattr_set: 1/64/0
01:41:14:Lustre: 7195:0:(osd_handler.c:1002:osd_trans_dump_creds())   write: 2/4/0, punch: 0/0/0, quota 2/2/0
01:41:14:Lustre: 7195:0:(osd_handler.c:1009:osd_trans_dump_creds())   insert: 0/0/0, delete: 1/1/6
01:41:14:Lustre: 7195:0:(osd_handler.c:1016:osd_trans_dump_creds())   ref_add: 0/0/0, ref_del: 1/1/0
01:41:14:LustreError: 7195:0:(osd_internal.h:1050:osd_trans_exec_check()) LBUG
01:41:14:Pid: 7195, comm: mdt_out00_002
01:41:14:
01:41:14:Call Trace:
01:41:14: [&amp;lt;ffffffffa0483895&amp;gt;] libcfs_debug_dumpstack+0x55/0x80 [libcfs]
01:41:14: [&amp;lt;ffffffffa0483e97&amp;gt;] lbug_with_loc+0x47/0xb0 [libcfs]
01:41:14: [&amp;lt;ffffffffa0d2cdfc&amp;gt;] osd_index_ea_delete+0x9cc/0xd80 [osd_ldiskfs]
01:41:14: [&amp;lt;ffffffffa0884316&amp;gt;] out_obj_index_delete+0x156/0x1f0 [ptlrpc]
01:41:14: [&amp;lt;ffffffffa088b1f8&amp;gt;] out_tx_index_delete_exec+0x28/0x170 [ptlrpc]
01:41:14: [&amp;lt;ffffffffa0883a2a&amp;gt;] out_tx_end+0xda/0x5c0 [ptlrpc]
01:41:14: [&amp;lt;ffffffffa088a480&amp;gt;] out_handle+0x7c0/0xe50 [ptlrpc]
01:41:14: [&amp;lt;ffffffffa0880a9e&amp;gt;] tgt_request_handle+0x71e/0xb10 [ptlrpc]
01:41:14: [&amp;lt;ffffffffa0830384&amp;gt;] ptlrpc_main+0xe64/0x1990 [ptlrpc]
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;</comment>
                            <comment id="97484" author="adilger" created="Fri, 24 Oct 2014 22:52:36 +0000"  >&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;18:47:27:Lustre: DEBUG MARKER: == sanity-lfsck test 22a: LFSCK can repair unmatched pairs (1) == 00:47:21 (1412729241)
18:47:27:Lustre: DEBUG MARKER: /usr/sbin/lctl set_param fail_loc=0x161e
18:47:27:Lustre: *** cfs_fail_loc=161e, val=0***
18:47:27:Lustre: Skipped 3 previous similar messages
18:47:27:Lustre: DEBUG MARKER: /usr/sbin/lctl set_param fail_loc=0
18:47:27:Lustre: DEBUG MARKER: /usr/sbin/lctl lfsck_start -M lustre-MDT0000 -t namespace -A -r
18:47:27:Lustre: 21068:0:(osd_internal.h:1048:osd_trans_exec_check()) op 9: used 4, used now 4, reserved 1
18:47:27:LustreError: 21068:0:(osd_internal.h:1050:osd_trans_exec_check()) LBUG
18:47:27:Pid: 21068, comm: lfsck_namespace
18:47:27:
18:47:27:Call Trace:
18:47:27: [&amp;lt;ffffffffa0483895&amp;gt;] libcfs_debug_dumpstack+0x55/0x80 [libcfs]
18:47:27: [&amp;lt;ffffffffa0483e97&amp;gt;] lbug_with_loc+0x47/0xb0 [libcfs]
18:47:27: [&amp;lt;ffffffffa0d2cdfc&amp;gt;] osd_index_ea_delete+0x9cc/0xd80 [osd_ldiskfs]
18:47:27: [&amp;lt;ffffffffa0fbe2d7&amp;gt;] lod_index_delete+0xa7/0x140 [lod]
18:47:27: [&amp;lt;ffffffffa0e50005&amp;gt;] dt_delete+0x95/0x1a0 [lfsck]
18:47:27: [&amp;lt;ffffffffa0e56182&amp;gt;] lfsck_namespace_repair_unmatched_pairs+0x6e2/0x840 [lfsck]
18:47:27: [&amp;lt;ffffffffa0e56939&amp;gt;] lfsck_namespace_dsd_single+0x659/0x7e0 [lfsck]
18:47:27: [&amp;lt;ffffffffa0e57309&amp;gt;] lfsck_namespace_double_scan_dir+0x849/0x1590 [lfsck]
18:47:27: [&amp;lt;ffffffffa0e5cb44&amp;gt;] lfsck_namespace_double_scan_one+0x2f4/0x1250 [lfsck]
18:47:27: [&amp;lt;ffffffffa0e5e278&amp;gt;] lfsck_namespace_assistant_handler_p2+0x7d8/0xa50 [lfsck]
18:47:27: [&amp;lt;ffffffffa0e4b9ed&amp;gt;] lfsck_assistant_engine+0x130d/0x1c50 [lfsck]
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;</comment>
                            <comment id="97485" author="adilger" created="Fri, 24 Oct 2014 22:54:57 +0000"  >&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;04:05:40:Lustre: DEBUG MARKER: == sanity test 1: mkdir; remkdir; rmdir ================================ 10:05:29 (1412589929)
04:05:40:Lustre: cli-ctl-lustre-MDT0001: Allocated super-sequence [0x0000000440000400-0x0000000480000400):1:mdt]
04:05:40:Lustre: 3448:0:(osd_internal.h:1048:osd_trans_exec_check()) op 9: used 6, used now 6, reserved 1
04:05:40:Lustre: 3448:0:(osd_handler.c:985:osd_trans_dump_creds())   create: 0/0/0, destroy: 0/0/0
04:05:40:Lustre: 3448:0:(osd_handler.c:992:osd_trans_dump_creds())   attr_set: 2/2/0, xattr_set: 1/64/0
04:05:40:Lustre: 3448:0:(osd_handler.c:1002:osd_trans_dump_creds())   write: 2/4/0, punch: 0/0/0, quota 2/2/0
04:05:40:Lustre: 3448:0:(osd_handler.c:1009:osd_trans_dump_creds())   insert: 0/0/0, delete: 1/1/6
04:05:40:Lustre: 3448:0:(osd_handler.c:1016:osd_trans_dump_creds())   ref_add: 0/0/0, ref_del: 1/1/0
04:05:40:LustreError: 3448:0:(osd_internal.h:1050:osd_trans_exec_check()) LBUG
04:05:40:Pid: 3448, comm: mdt_out00_001
04:05:40:
04:05:40:Call Trace:
04:05:40: [&amp;lt;ffffffffa0483895&amp;gt;] libcfs_debug_dumpstack+0x55/0x80 [libcfs]
04:05:40: [&amp;lt;ffffffffa0483e97&amp;gt;] lbug_with_loc+0x47/0xb0 [libcfs]
04:05:41: [&amp;lt;ffffffffa0d2cdfc&amp;gt;] osd_index_ea_delete+0x9cc/0xd80 [osd_ldiskfs]
04:05:41: [&amp;lt;ffffffffa0884316&amp;gt;] out_obj_index_delete+0x156/0x1f0 [ptlrpc]
04:05:41: [&amp;lt;ffffffffa088b1f8&amp;gt;] out_tx_index_delete_exec+0x28/0x170 [ptlrpc]
04:05:41: [&amp;lt;ffffffffa0883a2a&amp;gt;] out_tx_end+0xda/0x5c0 [ptlrpc]
04:05:41: [&amp;lt;ffffffffa088a480&amp;gt;] out_handle+0x7c0/0xe50 [ptlrpc]
04:05:41: [&amp;lt;ffffffffa0880a9e&amp;gt;] tgt_request_handle+0x71e/0xb10 [ptlrpc]
04:05:41: [&amp;lt;ffffffffa0830384&amp;gt;] ptlrpc_main+0xe64/0x1990 [ptlrpc]
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;</comment>
                            <comment id="97495" author="bzzz" created="Sat, 25 Oct 2014 04:19:19 +0000"  >&lt;p&gt;if I understand correctly, this is an delete in the index where an agent inode needs to be removed.&lt;/p&gt;</comment>
                            <comment id="99325" author="gerrit" created="Mon, 17 Nov 2014 12:00:56 +0000"  >&lt;p&gt;Alex Zhuravlev (alexey.zhuravlev@intel.com) uploaded a new patch: &lt;a href=&quot;http://review.whamcloud.com/12169&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://review.whamcloud.com/12169&lt;/a&gt;&lt;br/&gt;
Subject: &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-5794&quot; title=&quot;improve credit checks in osd-ldiskfs&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-5794&quot;&gt;&lt;del&gt;LU-5794&lt;/del&gt;&lt;/a&gt; osd: additional checks to verify credits calculation&lt;br/&gt;
Project: fs/lustre-release&lt;br/&gt;
Branch: master&lt;br/&gt;
Current Patch Set: 13&lt;br/&gt;
Commit: 6e77a93dca837d9f395bced9262ad0de2e2c81f7&lt;/p&gt;</comment>
                            <comment id="99333" author="gerrit" created="Mon, 17 Nov 2014 15:16:01 +0000"  >&lt;p&gt;Alex Zhuravlev (alexey.zhuravlev@intel.com) uploaded a new patch: &lt;a href=&quot;http://review.whamcloud.com/12169&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://review.whamcloud.com/12169&lt;/a&gt;&lt;br/&gt;
Subject: &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-5794&quot; title=&quot;improve credit checks in osd-ldiskfs&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-5794&quot;&gt;&lt;del&gt;LU-5794&lt;/del&gt;&lt;/a&gt; osd: additional checks to verify credits calculation&lt;br/&gt;
Project: fs/lustre-release&lt;br/&gt;
Branch: master&lt;br/&gt;
Current Patch Set: 14&lt;br/&gt;
Commit: 3db6478913dac65b7bb8c9585f0ab56c39e1b192&lt;/p&gt;</comment>
                            <comment id="120918" author="gerrit" created="Fri, 10 Jul 2015 03:05:21 +0000"  >&lt;p&gt;Oleg Drokin (oleg.drokin@intel.com) merged in patch &lt;a href=&quot;http://review.whamcloud.com/12169/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://review.whamcloud.com/12169/&lt;/a&gt;&lt;br/&gt;
Subject: &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-5794&quot; title=&quot;improve credit checks in osd-ldiskfs&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-5794&quot;&gt;&lt;del&gt;LU-5794&lt;/del&gt;&lt;/a&gt; osd: additional checks to verify credits calculation&lt;br/&gt;
Project: fs/lustre-release&lt;br/&gt;
Branch: master&lt;br/&gt;
Current Patch Set: &lt;br/&gt;
Commit: 92d28a7f35bcdc718e2bdcec48bcdeacd0e8f4fe&lt;/p&gt;</comment>
                            <comment id="120951" author="pjones" created="Fri, 10 Jul 2015 12:10:26 +0000"  >&lt;p&gt;Landed for 2.8&lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10010">
                    <name>Duplicate</name>
                                            <outwardlinks description="duplicates">
                                                        </outwardlinks>
                                                        </issuelinktype>
                            <issuelinktype id="10011">
                    <name>Related</name>
                                            <outwardlinks description="is related to ">
                                        <issuelink>
            <issuekey id="27098">LU-5770</issuekey>
        </issuelink>
                            </outwardlinks>
                                                                <inwardlinks description="is related to">
                                        <issuelink>
            <issuekey id="22851">LU-4528</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|hzwzbz:</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10090" key="com.pyxis.greenhopper.jira:gh-global-rank">
                        <customfieldname>Rank (Obsolete)</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>16258</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                </customfields>
    </item>
</channel>
</rss>