<!-- 
RSS generated by JIRA (9.4.14#940014-sha1:734e6822bbf0d45eff9af51f82432957f73aa32c) at Sat Feb 10 03:18:51 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-15501] obd_set_max_rpcs_in_flight store is racy</title>
                <link>https://jira.whamcloud.com/browse/LU-15501</link>
                <project id="10000" key="LU">Lustre</project>
                    <description>&lt;p&gt;This is a frequent fixture in boilpot testing:&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;[561965.306321] Lustre: DEBUG MARKER: == conf-sanity test 90c: check max_mod_rpcs_in_flight update limits ================================== 13:46:20 (1643395580)
[561968.515428] Lustre: Lustre: Build Version: 2.12.8_17_ge72a30b
[561969.230746] LNet: Added LNI 192.168.123.156@tcp [8/512/0/180]
[561969.231606] LNet: Accept secure, port 988
[561971.496242] Lustre: 23709:0:(gss_svc_upcall.c:1149:gss_init_svc_upcall()) Init channel is not opened by lsvcgssd, following request might be dropped until lsvcgssd is active
[561971.497876] Key type lgssc registered
[561973.046482] Lustre: Echo OBD driver; http://www.lustre.org/
[561977.656992] LDISKFS-fs (dm-0): mounted filesystem with ordered data mode. Opts: user_xattr,errors=remount-ro,no_mbcache,nodelalloc
[561977.995492] Lustre: MGS: Connection restored to MGC192.168.123.156@tcp_0 (at 0@lo)
[561978.674547] Lustre: lustre-MDT0000: Imperative Recovery not enabled, recovery window 60-180
[561980.637597] Lustre: DEBUG MARKER: centos-154.localnet: executing wait_import_state_mount FULL mdc.lustre-MDT0000-mdc-*.mds_server_uuid
[561981.944367] LDISKFS-fs (dm-1): file extents enabled, maximum tree depth=5
[561981.948361] LDISKFS-fs (dm-1): mounted filesystem with ordered data mode. Opts: errors=remount-ro,no_mbcache,nodelalloc
[561983.596774] Lustre: lustre-MDT0000: Connection restored to 192.168.123.156@tcp (at 0@lo)
[561983.607091] Lustre: lustre-OST0000: Imperative Recovery not enabled, recovery window 60-180
[561984.606708] Lustre: lustre-OST0000: Connection restored to 192.168.123.156@tcp (at 0@lo)
[561984.607637] Lustre: Skipped 1 previous similar message
[561984.613312] Lustre: lustre-OST0000: deleting orphan objects from 0x0:91 to 0x0:129
[561985.851321] Lustre: DEBUG MARKER: centos-154.localnet: executing wait_import_state_mount FULL osc.lustre-OST0000-osc-[-0-9a-f]*.ost_server_uuid
[561986.256018] Lustre: Mounted lustre-client
[561988.711619] Lustre: Unmounted lustre-client
[561989.633975] Lustre: lustre-MDT0000: Connection restored to 192.168.123.156@tcp (at 0@lo)
[561989.634963] Lustre: Skipped 2 previous similar messages
[561989.751355] Lustre: Mounted lustre-client
[561990.034221] LustreError: 25021:0:(genops.c:2230:obd_set_max_mod_rpcs_in_flight()) lustre-MDT0000-mdc-ffff8802936d4a88: can&apos;t set max_mod_rpcs_in_flight=9 higher than ocd_maxmodrpcs=8 returned by the server at connection
[561990.131862] Lustre: Modifying parameter lustre-M-MDT0000.mdc.lustre-MDT0000-mdc-*.max_rpcs_in_flight in log params
[561992.304651] Lustre: Unmounted lustre-client
[561993.514193] Lustre: Mounted lustre-client
[561994.530413] Lustre: Modifying parameter lustre-M-MDT0000.mdc.lustre-MDT0000-mdc-*.max_rpcs_in_flight in log params
[561994.531511] Lustre: Skipped 1 previous similar message
[561996.421067] BUG: unable to handle kernel NULL pointer dereference at 00000000000000b0
[561996.422013] IP: [&amp;lt;ffffffffa03cb915&amp;gt;] obd_set_max_mod_rpcs_in_flight+0x1a5/0x370 [obdclass]
[561996.422013] PGD aadfb067 PUD aadfa067 PMD 0 
[561996.422013] Oops: 0000 [#1] SMP DEBUG_PAGEALLOC
[561996.422013] Modules linked in: lustre(OE) ofd(OE) osp(OE) lod(OE) ost(OE) mdt(OE) mdd(OE) mgs(OE) osd_ldiskfs(OE) ldiskfs(OE) lquota(OE) lfsck(OE) obdecho(OE) mgc(OE) lov(OE) mdc(OE) osc(OE) lmv(OE) fid(OE) fld(OE) ptlrpc_gss(OE) ptlrpc(OE) obdclass(OE) ksocklnd(OE) lnet(OE) libcfs(OE) dm_flakey dm_mod loop zfs(PO) zunicode(PO) zlua(PO) zcommon(PO) znvpair(PO) zavl(PO) icp(PO) spl(O) jbd2 mbcache crc_t10dif crct10dif_generic crct10dif_common i2c_piix4 virtio_balloon pcspkr virtio_console ip_tables rpcsec_gss_krb5 drm_kms_helper ttm ata_generic drm pata_acpi drm_panel_orientation_quirks ata_piix floppy serio_raw virtio_blk libata i2c_core [last unloaded: libcfs]
[561996.422013] CPU: 3 PID: 25154 Comm: lctl Kdump: loaded Tainted: P           OE  ------------   3.10.0-7.9-debug #1
[561996.422013] Hardware name: Red Hat KVM, BIOS 1.13.0-2.module_el8.5.0+746+bbd5d70c 04/01/2014
[561996.422013] task: ffff8802dc2a5c40 ti: ffff88008ccb8000 task.ti: ffff88008ccb8000
[561996.422013] RIP: 0010:[&amp;lt;ffffffffa03cb915&amp;gt;]  [&amp;lt;ffffffffa03cb915&amp;gt;] obd_set_max_mod_rpcs_in_flight+0x1a5/0x370 [obdclass]
[561996.422013] RSP: 0018:ffff88008ccbbe10  EFLAGS: 00010202
[561996.422013] RAX: 0000000000000006 RBX: ffff8802b4cfc2b8 RCX: 0000000000000007
[561996.422013] RDX: 0000000000000007 RSI: 0000000000000007 RDI: ffff8802b4cfc2b8
[561996.422013] RBP: ffff88008ccbbe38 R08: 0000000000000007 R09: 0000000000000001
[561996.422013] R10: 000000000000000a R11: f000000000000000 R12: 0000000000000007
[561996.422013] R13: 0000000000000007 R14: 0000000000000000 R15: ffff88008ccbbf18
[561996.422013] FS:  00007f3ed9911740(0000) GS:ffff880331ac0000(0000) knlGS:0000000000000000
[561996.422013] CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[561996.422013] CR2: 00000000000000b0 CR3: 00000000ab370000 CR4: 00000000000007e0
[561996.422013] Call Trace:
[561996.422013]  [&amp;lt;ffffffffa092bce9&amp;gt;] max_mod_rpcs_in_flight_store+0x69/0x80 [mdc]
[561996.422013]  [&amp;lt;ffffffffa03d5a08&amp;gt;] lustre_attr_store+0x18/0x20 [obdclass]
[561996.422013]  [&amp;lt;ffffffff812d6e0d&amp;gt;] sysfs_kf_write+0x3d/0x50
[561996.422013]  [&amp;lt;ffffffff812d68f0&amp;gt;] kernfs_fop_write+0x100/0x180
[561996.422013]  [&amp;lt;ffffffff81245a16&amp;gt;] vfs_write+0xd6/0x230
[561996.422013]  [&amp;lt;ffffffff817edf55&amp;gt;] ? system_call_after_swapgs+0xa2/0x13a
[561996.422013]  [&amp;lt;ffffffff8124685f&amp;gt;] SyS_write+0x7f/0xf0
[561996.422013]  [&amp;lt;ffffffff817edf55&amp;gt;] ? system_call_after_swapgs+0xa2/0x13a
[561996.422013]  [&amp;lt;ffffffff817ee00c&amp;gt;] system_call_fastpath+0x1f/0x24
[561996.422013]  [&amp;lt;ffffffff817edf55&amp;gt;] ? system_call_after_swapgs+0xa2/0x13a
[561996.422013] Code: 00 00 c7 05 e2 51 0a 00 40 00 00 00 48 83 c2 40 e8 a1 59 e9 ff e9 00 ff ff ff 0f 1f 40 00 f6 05 2d 87 eb ff 20 0f 84 96 fe ff ff &amp;lt;49&amp;gt; 8b 86 b0 00 00 00 45 0f b7 8e 58 03 00 00 0f b7 ce 4d 8b 86 
[561996.422013] RIP  [&amp;lt;ffffffffa03cb915&amp;gt;] obd_set_max_mod_rpcs_in_flight+0x1a5/0x370 [obdclass] &lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;
&lt;p&gt;in the debug log the last activity we see is osc being torn down, so I think it&apos;s a race where cli-&amp;gt;import is set to NULL as we are trying to call into the max_mod_rpcs_in_flight_store, similar issues is in &lt;font color=&quot;#000000&quot;&gt;obd_set_max_rpcs_in_flight&lt;/font&gt;&lt;/p&gt;</description>
                <environment></environment>
        <key id="68405">LU-15501</key>
            <summary>obd_set_max_rpcs_in_flight store is racy</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="green">Oleg Drokin</assignee>
                                    <reporter username="green">Oleg Drokin</reporter>
                        <labels>
                    </labels>
                <created>Sat, 29 Jan 2022 06:06:54 +0000</created>
                <updated>Mon, 31 Jan 2022 18:57:03 +0000</updated>
                            <resolved>Mon, 31 Jan 2022 18:56:55 +0000</resolved>
                                    <version>Lustre 2.12.8</version>
                    <version>Lustre 2.15.0</version>
                                                        <due></due>
                            <votes>0</votes>
                                    <watches>4</watches>
                                                                            <comments>
                            <comment id="324421" author="gerrit" created="Sat, 29 Jan 2022 06:11:15 +0000"  >&lt;p&gt;&quot;Oleg Drokin &amp;lt;green@whamcloud.com&amp;gt;&quot; uploaded a new patch: &lt;a href=&quot;https://review.whamcloud.com/46377&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://review.whamcloud.com/46377&lt;/a&gt;&lt;br/&gt;
Subject: &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-15501&quot; title=&quot;obd_set_max_rpcs_in_flight store is racy&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-15501&quot;&gt;&lt;del&gt;LU-15501&lt;/del&gt;&lt;/a&gt; obdclass: cli access in obd_set_max_rpcs_in_flight racy&lt;br/&gt;
Project: fs/lustre-release&lt;br/&gt;
Branch: master&lt;br/&gt;
Current Patch Set: 1&lt;br/&gt;
Commit: 05924bfb27f70c27472ee5859372cb367120dea9&lt;/p&gt;</comment>
                            <comment id="324422" author="bzzz" created="Sat, 29 Jan 2022 06:35:55 +0000"  >&lt;p&gt;probably dup of &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-14441&quot; title=&quot;Oops in obd_set_max_rpcs_in_flight()&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-14441&quot;&gt;&lt;del&gt;LU-14441&lt;/del&gt;&lt;/a&gt; &lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10011">
                    <name>Related</name>
                                            <outwardlinks description="is related to ">
                                        <issuelink>
            <issuekey id="62923">LU-14441</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|i02gqn:</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>