<!-- 
RSS generated by JIRA (9.4.14#940014-sha1:734e6822bbf0d45eff9af51f82432957f73aa32c) at Sat Feb 10 03:05:49 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-13978] take care of rdonly mode for mdt_close</title>
                <link>https://jira.whamcloud.com/browse/LU-13978</link>
                <project id="10000" key="LU">Lustre</project>
                    <description>&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;[11057.804617] Lustre: DEBUG MARKER: == sanity-lsnapshot test 1a: mount/umount lustre snapshot ============================================ 20:51:15 (1600721475)
[11065.673014] loop: module loaded
[11066.043730] LDISKFS-fs (loop1): mounted filesystem without journal. Opts: user_xattr,errors=remount-ro,data=ordered,noload,no_mbcache,nodelalloc
[11066.046287] Turning device loop1 (0x700001) read-only
[11066.047176] Lustre: 4360ab9d-MDT0000-osd: set dev_rdonly on this device
[11066.340134] Lustre: 4360ab9d-MDT0000: Imperative Recovery enabled, recovery window shrunk from 300-900 down to 150-900
[11091.349581] Lustre: 4360ab9d-MDT0000: Connection restored to 5eb637a0-1523-241d-8e04-f32d922badbe (at 0@lo)
[11091.351284] Lustre: Skipped 1 previous similar message
[11098.044696] Lustre: 4360ab9d-MDT0000: Connection restored to 0ca00f58-7f9e-ca4d-93e4-7db971cde8c1 (at 10.9.6.157@tcp)
[11098.168208] LustreError: 3025:0:(osd_handler.c:1764:osd_trans_create()) 4360ab9d-MDT0000: someone try to start transaction under readonly mode, should be disabled.
[11098.170701] CPU: 1 PID: 3025 Comm: mdt_rdpg00_001 Kdump: loaded Tainted: G           OE  ------------   3.10.0-1062.18.1.el7_lustre.ddn4.x86_64 #1
[11098.172881] Hardware name: Red Hat KVM, BIOS 0.5.1 01/01/2011
[11098.174073] Call Trace:
[11098.174592]  [&amp;lt;ffffffff9a37b416&amp;gt;] dump_stack+0x19/0x1b
[11098.175544]  [&amp;lt;ffffffffc0fd0a6c&amp;gt;] osd_trans_create+0x5dc/0x620 [osd_ldiskfs]
[11098.177240]  [&amp;lt;ffffffffc0e0a41a&amp;gt;] top_trans_create+0x8a/0x200 [ptlrpc]
[11098.178458]  [&amp;lt;ffffffffc12a84dc&amp;gt;] lod_trans_create+0x3c/0x50 [lod]
[11098.179590]  [&amp;lt;ffffffffc135d83d&amp;gt;] mdd_trans_create+0x3d/0x90 [mdd]
[11098.180718]  [&amp;lt;ffffffffc1355bd3&amp;gt;] mdd_xattr_set+0x343/0x18b0 [mdd]
[11098.181831]  [&amp;lt;ffffffffc12c0b2b&amp;gt;] ? lod_read_unlock+0x3b/0xd0 [lod]
[11098.183020]  [&amp;lt;ffffffffc1346ceb&amp;gt;] ? mdd_read_unlock+0x3b/0xd0 [mdd]
[11098.184269]  [&amp;lt;ffffffffc11e1a94&amp;gt;] mdt_set_som+0xf4/0x2f0 [mdt]
[11098.185312]  [&amp;lt;ffffffffc11a8fca&amp;gt;] ? mdt_big_xattr_get+0x11a/0x810 [mdt]
[11098.186493]  [&amp;lt;ffffffffc11e1f50&amp;gt;] mdt_lsom_update+0x120/0x440 [mdt]
[11098.187617]  [&amp;lt;ffffffffc11d685f&amp;gt;] mdt_mfd_close+0x47f/0x870 [mdt]
[11098.188717]  [&amp;lt;ffffffffc11dc371&amp;gt;] mdt_close_internal+0x121/0x220 [mdt]
[11098.189867]  [&amp;lt;ffffffffc11dc6cb&amp;gt;] mdt_close+0x25b/0x7d0 [mdt]
[11098.190924]  [&amp;lt;ffffffffc0df60c9&amp;gt;] ? tgt_request_preprocess.isra.27+0x299/0x7a0 [ptlrpc]
[11098.192346]  [&amp;lt;ffffffffc0df736a&amp;gt;] tgt_request_handle+0xada/0x1570 [ptlrpc]
[11098.193616]  [&amp;lt;ffffffffc096f247&amp;gt;] ? libcfs_debug_msg+0x57/0x80 [libcfs]
[11098.194905]  [&amp;lt;ffffffffc0d9ebfb&amp;gt;] ptlrpc_server_handle_request+0x24b/0xab0 [ptlrpc]
[11098.196261]  [&amp;lt;ffffffff99cd3a33&amp;gt;] ? __wake_up+0x13/0x20
[11098.197238]  [&amp;lt;ffffffffc0da2564&amp;gt;] ptlrpc_main+0xb34/0x1470 [ptlrpc]
[11098.198355]  [&amp;lt;ffffffff99cd512e&amp;gt;] ? finish_task_switch+0x4e/0x1c0
[11098.199435]  [&amp;lt;ffffffff9a380e02&amp;gt;] ? __schedule+0x402/0x840
[11098.200453]  [&amp;lt;ffffffffc0da1a30&amp;gt;] ? ptlrpc_register_service+0xf80/0xf80 [ptlrpc]
[11098.201826]  [&amp;lt;ffffffff99cc6321&amp;gt;] kthread+0xd1/0xe0
[11098.202723]  [&amp;lt;ffffffff99cc6250&amp;gt;] ? insert_kthread_work+0x40/0x40
[11098.203814]  [&amp;lt;ffffffff9a38ed37&amp;gt;] ret_from_fork_nospec_begin+0x21/0x21
[11098.204966]  [&amp;lt;ffffffff99cc6250&amp;gt;] ? insert_kthread_work+0x40/0x40
[11098.232411] CPU: 1 PID: 3025 Comm: mdt_rdpg00_001 Kdump: loaded Tainted: G           OE  ------------   3.10.0-1062.18.1.el7_lustre.ddn4.x86_64 #1
[11098.234620] Hardware name: Red Hat KVM, BIOS 0.5.1 01/01/2011
[11098.235623] Call Trace:
[11098.236170]  [&amp;lt;ffffffff9a37b416&amp;gt;] dump_stack+0x19/0x1b
[11098.237110]  [&amp;lt;ffffffffc0fd0a6c&amp;gt;] osd_trans_create+0x5dc/0x620 [osd_ldiskfs]
[11098.238376]  [&amp;lt;ffffffffc0e0a41a&amp;gt;] top_trans_create+0x8a/0x200 [ptlrpc]
[11098.239535]  [&amp;lt;ffffffffc12a84dc&amp;gt;] lod_trans_create+0x3c/0x50 [lod]
[11098.240639]  [&amp;lt;ffffffffc135d83d&amp;gt;] mdd_trans_create+0x3d/0x90 [mdd]
[11098.241750]  [&amp;lt;ffffffffc1355bd3&amp;gt;] mdd_xattr_set+0x343/0x18b0 [mdd]
[11098.242846]  [&amp;lt;ffffffffc12c0b2b&amp;gt;] ? lod_read_unlock+0x3b/0xd0 [lod]
[11098.244045]  [&amp;lt;ffffffffc1346ceb&amp;gt;] ? mdd_read_unlock+0x3b/0xd0 [mdd]
[11098.245184]  [&amp;lt;ffffffffc11e1a94&amp;gt;] mdt_set_som+0xf4/0x2f0 [mdt]
[11098.246224]  [&amp;lt;ffffffffc11a8fca&amp;gt;] ? mdt_big_xattr_get+0x11a/0x810 [mdt]
[11098.247408]  [&amp;lt;ffffffffc11e1f50&amp;gt;] mdt_lsom_update+0x120/0x440 [mdt]
[11098.248520]  [&amp;lt;ffffffffc11d685f&amp;gt;] mdt_mfd_close+0x47f/0x870 [mdt]
[11098.249612]  [&amp;lt;ffffffffc11dc371&amp;gt;] mdt_close_internal+0x121/0x220 [mdt]
[11098.250759]  [&amp;lt;ffffffffc11dc6cb&amp;gt;] mdt_close+0x25b/0x7d0 [mdt]
[11098.251807]  [&amp;lt;ffffffffc0df60c9&amp;gt;] ? tgt_request_preprocess.isra.27+0x299/0x7a0 [ptlrpc]
[11098.253226]  [&amp;lt;ffffffffc0df736a&amp;gt;] tgt_request_handle+0xada/0x1570 [ptlrpc]
[11098.254452]  [&amp;lt;ffffffffc096f247&amp;gt;] ? libcfs_debug_msg+0x57/0x80 [libcfs]
[11098.255717]  [&amp;lt;ffffffffc0d9ebfb&amp;gt;] ptlrpc_server_handle_request+0x24b/0xab0 [ptlrpc]
[11098.257041]  [&amp;lt;ffffffff99cd3a33&amp;gt;] ? __wake_up+0x13/0x20
[11098.257990]  [&amp;lt;ffffffffc0da2564&amp;gt;] ptlrpc_main+0xb34/0x1470 [ptlrpc]
[11098.259104]  [&amp;lt;ffffffff99cd512e&amp;gt;] ? finish_task_switch+0x4e/0x1c0
[11098.260142]  [&amp;lt;ffffffff9a380e02&amp;gt;] ? __schedule+0x402/0x840
[11098.261202]  [&amp;lt;ffffffffc0da1a30&amp;gt;] ? ptlrpc_register_service+0xf80/0xf80 [ptlrpc]
[11098.262502]  [&amp;lt;ffffffff99cc6321&amp;gt;] kthread+0xd1/0xe0
[11098.263388]  [&amp;lt;ffffffff99cc6250&amp;gt;] ? insert_kthread_work+0x40/0x40
[11098.264456]  [&amp;lt;ffffffff9a38ed37&amp;gt;] ret_from_fork_nospec_begin+0x21/0x21
[11098.265601]  [&amp;lt;ffffffff99cc6250&amp;gt;] ? insert_kthread_work+0x40/0x40
[11100.992977] Lustre: Failing over 4360ab9d-MDT0000
[11100.994584] LustreError: 11-0: 4360ab9d-OST0000-osc-MDT0000: operation ost_disconnect to node 10.9.6.156@tcp failed: rc = -107
[11101.102647] Lustre: server umount 4360ab9d-MDT0000 complete
[11101.104280] Removing read-only on unknown block (0x700001)
[11110.115328] Lustre: DEBUG MARKER: == sanity-lsnapshot test complete, duration 75 sec =================================================== 20:52:08 (1600721528)
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;</description>
                <environment></environment>
        <key id="60904">LU-13978</key>
            <summary>take care of rdonly mode for mdt_close</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="wc-triage">WC Triage</assignee>
                                    <reporter username="bobijam">Zhenyu Xu</reporter>
                        <labels>
                    </labels>
                <created>Wed, 23 Sep 2020 02:38:54 +0000</created>
                <updated>Fri, 10 Mar 2023 09:48:47 +0000</updated>
                            <resolved>Fri, 10 Mar 2023 09:48:47 +0000</resolved>
                                                                        <due></due>
                            <votes>0</votes>
                                    <watches>0</watches>
                                                                                <issuelinks>
                            <issuelinktype id="10010">
                    <name>Duplicate</name>
                                            <outwardlinks description="duplicates">
                                        <issuelink>
            <issuekey id="60905">LU-13979</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|i01ajb:</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>