<!-- 
RSS generated by JIRA (9.4.14#940014-sha1:734e6822bbf0d45eff9af51f82432957f73aa32c) at Sat Feb 10 02:16:06 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-8273] lov_sub_get()) ASSERTION( stripe &lt; lio-&gt;lis_stripe_count ) failed</title>
                <link>https://jira.whamcloud.com/browse/LU-8273</link>
                <project id="10000" key="LU">Lustre</project>
                    <description>&lt;p&gt;With landing of &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-8157&quot; title=&quot;Functionnal testing for layout swaps&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-8157&quot;&gt;&lt;del&gt;LU-8157&lt;/del&gt;&lt;/a&gt; &quot;swap layout tests&quot;, I hit this assertion for the first time in a long while, in sanity test 405:&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;[183262.685161] Lustre: DEBUG MARKER: centos6-9.localnet: == sanity test 405: Various layout swap lock tests =================================================== 07:46:13 (1465904773)
[183275.828024] LustreError: 8225:0:(lov_io.c:238:lov_sub_get()) ASSERTION( stripe &amp;lt; lio-&amp;gt;lis_stripe_count ) failed: 
[183275.829228] LustreError: 8225:0:(lov_io.c:238:lov_sub_get()) LBUG
[183275.829934] Pid: 8225, comm: swap_lock_test
[183275.830665] 
Call Trace:
[183275.831909]  [&amp;lt;ffffffffa01a97b3&amp;gt;] libcfs_debug_dumpstack+0x53/0x80 [libcfs]
[183275.832577]  [&amp;lt;ffffffffa01a9d55&amp;gt;] lbug_with_loc+0x45/0xc0 [libcfs]
[183275.833165]  [&amp;lt;ffffffffa08b1e75&amp;gt;] lov_sub_get+0x4e5/0x650 [lov]
[183275.833738]  [&amp;lt;ffffffffa08b492d&amp;gt;] lov_sublock_env_get.isra.4+0xbd/0x100 [lov]
[183275.835312]  [&amp;lt;ffffffffa08b5392&amp;gt;] lov_lock_sub_init+0x2c2/0x9f0 [lov]
[183275.835905]  [&amp;lt;ffffffffa08b5af7&amp;gt;] lov_lock_init_raid0+0x37/0xf0 [lov]
[183275.836493]  [&amp;lt;ffffffffa08c172f&amp;gt;] lov_lock_init+0x1f/0x60 [lov]
[183275.837086]  [&amp;lt;ffffffffa0349a6f&amp;gt;] cl_lock_init+0x8f/0x190 [obdclass]
[183275.837711]  [&amp;lt;ffffffffa034bcd8&amp;gt;] ? cl_io_init0.isra.15+0x88/0x160 [obdclass]
[183275.838778]  [&amp;lt;ffffffffa0349bb5&amp;gt;] cl_lock_request+0x45/0x1f0 [obdclass]
[183275.839389]  [&amp;lt;ffffffffa0f29f79&amp;gt;] cl_get_grouplock+0x189/0x310 [lustre]
[183275.839977]  [&amp;lt;ffffffffa0ee0a69&amp;gt;] ll_get_grouplock+0x179/0x530 [lustre]
[183275.840599]  [&amp;lt;ffffffffa0eefb8d&amp;gt;] ll_file_ioctl+0x372d/0x38f0 [lustre]
[183275.841183]  [&amp;lt;ffffffff81202775&amp;gt;] do_vfs_ioctl+0x305/0x520
[183275.841748]  [&amp;lt;ffffffff810b0c71&amp;gt;] ? finish_task_switch+0x81/0x180
[183275.842316]  [&amp;lt;ffffffff810b0c34&amp;gt;] ? finish_task_switch+0x44/0x180
[183275.842888]  [&amp;lt;ffffffff81202a31&amp;gt;] SyS_ioctl+0xa1/0xc0
[183275.843525]  [&amp;lt;ffffffff81711809&amp;gt;] system_call_fastpath+0x16/0x1b
[183275.844102] 
[183275.845572] Kernel panic - not syncing: LBUG
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;Crashdump and modules are in /exports/crash/192.168.10.219-2016-06-14-07:46:34&lt;br/&gt;
tag in my tree: master-20160614&lt;/p&gt;</description>
                <environment></environment>
        <key id="37583">LU-8273</key>
            <summary>lov_sub_get()) ASSERTION( stripe &lt; lio-&gt;lis_stripe_count ) failed</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="3">Duplicate</resolution>
                                        <assignee username="bobijam">Zhenyu Xu</assignee>
                                    <reporter username="green">Oleg Drokin</reporter>
                        <labels>
                    </labels>
                <created>Tue, 14 Jun 2016 15:04:05 +0000</created>
                <updated>Sun, 24 Jul 2016 13:50:46 +0000</updated>
                            <resolved>Sun, 24 Jul 2016 13:50:46 +0000</resolved>
                                                                        <due></due>
                            <votes>0</votes>
                                    <watches>4</watches>
                                                                            <comments>
                            <comment id="155672" author="pjones" created="Tue, 14 Jun 2016 17:03:08 +0000"  >&lt;p&gt;Bobijam &lt;/p&gt;

&lt;p&gt;This seems like a rare issue to hit but are you able to see how to address it?&lt;/p&gt;

&lt;p&gt;Peter&lt;/p&gt;</comment>
                            <comment id="155727" author="bobijam" created="Wed, 15 Jun 2016 04:10:36 +0000"  >&lt;p&gt;Hi Oleg,&lt;/p&gt;

&lt;p&gt;On which node does  /exports/crash/ locates?&lt;/p&gt;</comment>
                            <comment id="155728" author="green" created="Wed, 15 Jun 2016 04:37:30 +0000"  >&lt;p&gt;it&apos;s my private node.&lt;br/&gt;
email me your ssh public key and I&apos;ll send you the instructions for access&lt;/p&gt;</comment>
                            <comment id="155744" author="bobijam" created="Wed, 15 Jun 2016 08:24:11 +0000"  >&lt;p&gt;Somehow the io is an lov_empty_io, while the lov_object is a raid0 object.&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;crash&amp;gt; struct lov_io ffff880021f77e68
struct lov_io {
  lis_cl = {
    cis_io = 0xffff8800aae81eb8, 
    cis_obj = 0xffff880070e71e58, 
    cis_iop = 0xffffffffa08d07a0 &amp;lt;lov_empty_io_ops&amp;gt;, 
    cis_linkage = {
      next = 0xffff8800aae81ed0, 
      prev = 0xffff8800438a6f20
    }
  }, 
  lis_object = 0xffff880070e71e58, 
  lis_io_endpos = 0, 
  lis_pos = 0, 
  lis_endpos = 0, 
  lis_mem_frozen = 0, 
  lis_stripe_count = 0, 
  lis_active_subios = 0, 
  lis_single_subio_index = 0, 
  lis_single_subio = {
    ci_type = CIT_READ, 
    ci_state = CIS_ZERO, 
    ci_obj = 0x0, 
    ci_parent = 0x0, 
    ci_layers = {
      next = 0x0, 
      prev = 0x0
    }, 
    ci_lockset = {
      cls_todo = {
        next = 0x0, 
        prev = 0x0
      }, 
      cls_done = {
        next = 0x0, 
        prev = 0x0
      }
    }, 
    ci_lockreq = CILR_MANDATORY, 
    u = {
      ci_rd = {
        rd = {
          crw_pos = 0, 
          crw_count = 0, 
          crw_nonblock = 0
        }
      }, 
      ci_wr = {
        wr = {
          crw_pos = 0, 
          crw_count = 0, 
          crw_nonblock = 0
        }, 
        wr_append = 0, 
        wr_sync = 0
      }, 
      ci_rw = {
        crw_pos = 0, 
        crw_count = 0, 
        crw_nonblock = 0
      }, 
      ci_setattr = {
        sa_attr = {
          lvb_size = 0, 
          lvb_mtime = 0, 
          lvb_atime = 0, 
          lvb_ctime = 0, 
          lvb_blocks = 0, 
          lvb_mtime_ns = 0, 
          lvb_atime_ns = 0, 
          lvb_ctime_ns = 0, 
          lvb_padding = 0
        }, 
        sa_attr_flags = 0, 
        sa_valid = 0, 
        sa_stripe_index = 0, 
        sa_parent_fid = 0x0
      }, 
      ci_data_version = {
        dv_data_version = 0, 
        dv_flags = 0
      }, 
      ci_fault = {
        ft_index = 0, 
        ft_nob = 0, 
        ft_writable = 0, 
        ft_executable = 0, 
        ft_mkwrite = 0, 
        ft_page = 0x0
      }, 
      ci_fsync = {
        fi_start = 0, 
        fi_end = 0, 
        fi_fid = 0x0, 
        fi_mode = CL_FSYNC_NONE, 
        fi_nr_written = 0
      }, 
      ci_ladvise = {
        li_start = 0, 
        li_end = 0, 
        li_fid = 0x0, 
        li_advice = LU_LADVISE_INVALID, 
        li_flags = 0
      }
    }, 
    ci_queue = {
     ...
    }, 
    ci_nob = 0, 
    ci_result = 0, 
    ci_continue = 0, 
    ci_no_srvlock = 0, 
    ci_need_restart = 0, 
    ci_ignore_layout = 0, 
    ci_verify_layout = 0, 
    ci_restore_needed = 0, 
    ci_noatime = 0, 
    ci_owned_nr = 0
  }, 
  lis_nr_subios = 0, 
  lis_subs = 0x0, 
  lis_active = {
    next = 0x0, 
    prev = 0x0
  }
}
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&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;crash&amp;gt; struct lov_object 0xffff880070e71e58
struct lov_object {
  lo_cl = {
    co_lu = {
      lo_header = 0xffff88001e6e3f08, 
      lo_dev = 0xffff880015a28f00, 
      lo_ops = 0xffffffffa08d1320 &amp;lt;lov_lu_obj_ops&amp;gt;, 
      lo_linkage = {
        next = 0xffff88001e6e3f48, 
        prev = 0xffff88001e6e3fb8
      }, 
      lo_dev_ref = {&amp;lt;No data fields&amp;gt;}
    }, 
    co_ops = 0xffffffffa08d1360 &amp;lt;lov_ops&amp;gt;, 
    co_slice_off = 144
  }, 
...
  lo_type = LLT_RAID0, 
  lo_layout_invalid = &lt;span class=&quot;code-keyword&quot;&gt;false&lt;/span&gt;, 
  lo_active_ios = {
    counter = 1
  }, 
...
  lo_lsm = 0xffff880089d9b1c0, 
...
}
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;</comment>
                            <comment id="155752" author="bobijam" created="Wed, 15 Jun 2016 12:06:52 +0000"  >&lt;p&gt;Hi Jinshan,&lt;/p&gt;

&lt;p&gt;cl_get_grouplock() is a layout ignorance IO (io-&amp;gt;ci_ignore_layout = 1), and in IO initialization&lt;br/&gt;
lov_io_init()&amp;#45;&amp;gt;LOV_2DISPATCH_MAYLOCK(..., llo_io_init, !io&amp;#45;&amp;gt;ci_ignore_layout, ...), it does not take lov-&amp;gt;lo_type_guard semaphore, and the dump shows that at this time, the file object is an empty one; I think at the same time, there is a race thread which is changing the file&apos;s layout from LLT_EMPTY to LLT_RAID0, and since the lov_io_init() does not takes the lo_type_guard semaphore, which makes the IO a lov_empty_io while the lov_object is a raid0 object.&lt;/p&gt;</comment>
                            <comment id="155815" author="jay" created="Wed, 15 Jun 2016 17:45:55 +0000"  >&lt;p&gt;I can&apos;t think of a reason why group lock requires ci_ignore_layout but this could be due to deadlock. Can you please check git history to see if there is a commit related and if not, just try to clear ci_ignore_layout and see how it goes?&lt;/p&gt;

&lt;p&gt;Actually this is a reproduction of &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-2766&quot; title=&quot;lov_object.c:635:lov_layout_change()) ASSERTION( atomic_read(&amp;amp;lov-&amp;gt;lo_active_ios) == 0 ) failed&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-2766&quot;&gt;&lt;del&gt;LU-2766&lt;/del&gt;&lt;/a&gt;, and the patch is located at: &lt;a href=&quot;http://review.whamcloud.com/#/c/6828/11&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://review.whamcloud.com/#/c/6828/11&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="156016" author="green" created="Thu, 16 Jun 2016 22:23:03 +0000"  >&lt;p&gt;Ok I landed &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-2766&quot; title=&quot;lov_object.c:635:lov_layout_change()) ASSERTION( atomic_read(&amp;amp;lov-&amp;gt;lo_active_ios) == 0 ) failed&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-2766&quot;&gt;&lt;del&gt;LU-2766&lt;/del&gt;&lt;/a&gt; and we&apos;ll see if this ever repeats.&lt;/p&gt;</comment>
                            <comment id="159679" author="pjones" created="Sun, 24 Jul 2016 13:50:46 +0000"  >&lt;p&gt;As this is rare and suspected to be fixed I will mark it as a duplicate of &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-2766&quot; title=&quot;lov_object.c:635:lov_layout_change()) ASSERTION( atomic_read(&amp;amp;lov-&amp;gt;lo_active_ios) == 0 ) failed&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-2766&quot;&gt;&lt;del&gt;LU-2766&lt;/del&gt;&lt;/a&gt; until evidence arises that proves otherwise&lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10010">
                    <name>Duplicate</name>
                                            <outwardlinks description="duplicates">
                                        <issuelink>
            <issuekey id="17471">LU-2766</issuekey>
        </issuelink>
                            </outwardlinks>
                                                        </issuelinktype>
                            <issuelinktype id="10011">
                    <name>Related</name>
                                            <outwardlinks description="is related to ">
                                        <issuelink>
            <issuekey id="17471">LU-2766</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|hzyem7:</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>