<!-- 
RSS generated by JIRA (9.4.14#940014-sha1:734e6822bbf0d45eff9af51f82432957f73aa32c) at Sat Feb 10 03:31:23 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-16954] mount failed: File exists(cannot create duplicate filename &apos;/devices/virtual/bdi/lustre-ffffxxx&apos;)</title>
                <link>https://jira.whamcloud.com/browse/LU-16954</link>
                <project id="10000" key="LU">Lustre</project>
                    <description>&lt;p&gt;This issue was created by maloo for emoly &amp;lt;emoly@whamcloud.com&amp;gt;&lt;/p&gt;

&lt;p&gt;This issue relates to the following test suite run: &lt;a href=&quot;https://testing.whamcloud.com/test_sets/6fe16807-4d7e-4087-9ad5-7a68e355230f&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://testing.whamcloud.com/test_sets/6fe16807-4d7e-4087-9ad5-7a68e355230f&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;test_64f failed with the following error:&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;[ 3230.932454] Lustre: DEBUG MARKER: mount -t lustre -o user_xattr,flock onyx-53vm4@tcp:/lustre /mnt/lustre
[ 3230.946766] sysfs: cannot create duplicate filename &apos;/devices/virtual/bdi/lustre-ffff8dd549f3d000&apos;
[ 3230.949612] CPU: 0 PID: 251880 Comm: mount.lustre Kdump: loaded Tainted: G           OE     5.15.0-52-generic #58~20.04.1-Ubuntu
[ 3230.952966] Hardware name: Red Hat KVM, BIOS 0.5.1 01/01/2011
[ 3230.954694] Call Trace:
[ 3230.955792]  &amp;lt;TASK&amp;gt;
[ 3230.956840]  dump_stack_lvl+0x4a/0x63
[ 3230.958180]  dump_stack+0x10/0x16
[ 3230.959417]  sysfs_warn_dup.cold+0x17/0x2b
[ 3230.960781]  sysfs_create_dir_ns+0xbc/0xd0
[ 3230.962169]  kobject_add_internal+0xba/0x2c0
[ 3230.963546]  kobject_add+0x7e/0xb0
[ 3230.964737]  ? mutex_lock+0x13/0x40
[ 3230.965939]  device_add+0x125/0x8f0
[ 3230.967123]  device_create_groups_vargs+0xd8/0x100
[ 3230.968520]  device_create+0x49/0x70
[ 3230.969687]  bdi_register_va.part.0+0x3f/0x210
[ 3230.971062]  bdi_register_va+0x1f/0x30
[ 3230.972250]  super_setup_bdi_name+0x79/0xe0
[ 3230.973549]  ll_fill_super+0xc85/0x1b30 [lustre]
[ 3230.975069]  ? lustre_start_mgc+0xf56/0x1a10 [obdclass]
[ 3230.976781]  ? lustre_start_mgc+0xf56/0x1a10 [obdclass]
[ 3230.978273]  lustre_fill_super+0xeb/0x490 [lustre]
[ 3230.979672]  ? ll_alloc_inode+0x180/0x180 [lustre]
[ 3230.981068]  mount_nodev+0x49/0xa0
[ 3230.982172]  lustre_mount+0x18/0x20 [lustre]
[ 3230.983474]  legacy_get_tree+0x2b/0x50
[ 3230.984653]  vfs_get_tree+0x2a/0xc0
[ 3230.985759]  ? capable+0x19/0x20
[ 3230.986837]  path_mount+0x461/0xa70
[ 3230.987916]  ? putname+0x57/0x70
[ 3230.988920]  do_mount+0x80/0xa0
[ 3230.989889]  __x64_sys_mount+0x8b/0xe0
[ 3230.990958]  do_syscall_64+0x5c/0xc0
[ 3230.991983]  ? syscall_exit_to_user_mode+0x27/0x50
[ 3230.993258]  ? __x64_sys_read+0x1a/0x20
[ 3230.994348]  ? do_syscall_64+0x69/0xc0
[ 3230.995445]  entry_SYSCALL_64_after_hwframe+0x61/0xcb
[ 3230.996774] RIP: 0033:0x7fd233293eae
[ 3230.997849] Code: 48 8b 0d 85 1f 0f 00 f7 d8 64 89 01 48 83 c8 ff c3 66 2e 0f 1f 84 00 00 00 00 00 90 f3 0f 1e fa 49 89 ca b8 a5 00 00 00 0f 05 &amp;lt;48&amp;gt; 3d 01 f0 ff ff 73 01 c3 48 8b 0d 52 1f 0f 00 f7 d8 64 89 01 48
[ 3231.002521] RSP: 002b:00007fffe15baf68 EFLAGS: 00000286 ORIG_RAX: 00000000000000a5
[ 3231.004799] RAX: ffffffffffffffda RBX: 00007fffe15be348 RCX: 00007fd233293eae
[ 3231.006635] RDX: 000056144e7a10b2 RSI: 00007fffe15bafc8 RDI: 00005614504bf500
[ 3231.008459] RBP: 00005614504c0ad0 R08: 00005614504c0ad0 R09: 0000000000000000
[ 3231.010300] R10: 0000000001000000 R11: 0000000000000286 R12: 00000000fffffff5
[ 3231.012165] R13: 00007fffe15bafc8 R14: 0000000000000000 R15: 000056144e7a10b2
[ 3231.014018]  &amp;lt;/TASK&amp;gt;
[ 3231.014949] kobject_add_internal failed for lustre-ffff8dd549f3d000 with -EEXIST, don&apos;t try to register things with the same name in the same directory.
[ 3231.020139] LustreError: 251880:0:(super25.c:187:lustre_fill_super()) llite: Unable to mount &amp;lt;unknown&amp;gt;: rc = -17
[ 3231.353241] Lustre: DEBUG MARKER: /usr/sbin/lctl mark  sanity test_64f: @@@@@@ FAIL: mount failed 
[ 3231.627375] Lustre: DEBUG MARKER: sanity test_64f: @@@@@@ FAIL: mount failed
[ 3231.947200] Lustre: DEBUG MARKER: /usr/sbin/lctl dk &amp;gt; /autotest/autotest-1/2023-07-10/e2fsprogs-reviews_review-e2fsprogs-part-2_1303_8_8e1e4e70-b5a1-4584-bdbe-d637b9866068//sanity.test_64f.debug_log.$(hostname -s).1688990136.log;
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;Test session details:&lt;br/&gt;
clients: &lt;a href=&quot;https://build.whamcloud.com/job/lustre-master/4442&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://build.whamcloud.com/job/lustre-master/4442&lt;/a&gt; - 5.15.0-52-generic&lt;br/&gt;
servers: &lt;a href=&quot;https://build.whamcloud.com/job/lustre-master/4442&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://build.whamcloud.com/job/lustre-master/4442&lt;/a&gt; - 4.18.0-425.10.1.el8_lustre.x86_64&lt;/p&gt;






&lt;p&gt;VVVVVVV DO NOT REMOVE LINES BELOW, Added by Maloo for auto-association VVVVVVV&lt;br/&gt;
sanity test_64f - mount failed&lt;/p&gt;</description>
                <environment></environment>
        <key id="76934">LU-16954</key>
            <summary>mount failed: File exists(cannot create duplicate filename &apos;/devices/virtual/bdi/lustre-ffffxxx&apos;)</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="qian_wc">Qian Yingjin</assignee>
                                    <reporter username="maloo">Maloo</reporter>
                        <labels>
                    </labels>
                <created>Tue, 11 Jul 2023 01:49:18 +0000</created>
                <updated>Mon, 2 Oct 2023 01:01:44 +0000</updated>
                            <resolved>Thu, 28 Sep 2023 14:55:12 +0000</resolved>
                                                    <fixVersion>Lustre 2.16.0</fixVersion>
                                        <due></due>
                            <votes>0</votes>
                                    <watches>9</watches>
                                                                            <comments>
                            <comment id="378211" author="emoly.liu" created="Tue, 11 Jul 2023 03:20:13 +0000"  >&lt;p&gt;+1 &lt;a href=&quot;https://testing.whamcloud.com/test_logs/2a6125b0-ef39-4420-9986-68406193286e/show_text&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://testing.whamcloud.com/test_logs/2a6125b0-ef39-4420-9986-68406193286e/show_text&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="378228" author="gerrit" created="Tue, 11 Jul 2023 08:26:59 +0000"  >&lt;p&gt;&lt;del&gt;&quot;Emoly Liu &amp;lt;emoly@whamcloud.com&amp;gt;&quot; uploaded a new patch:&lt;/del&gt; &lt;a href=&quot;https://review.whamcloud.com/c/tools/e2fsprogs/+/51627&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://review.whamcloud.com/c/tools/e2fsprogs/+/51627&lt;/a&gt;&lt;br/&gt;
&lt;del&gt;Subject: &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-16954&quot; title=&quot;mount failed: File exists(cannot create duplicate filename &amp;#39;/devices/virtual/bdi/lustre-ffffxxx&amp;#39;)&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-16954&quot;&gt;&lt;del&gt;LU-16954&lt;/del&gt;&lt;/a&gt; test: fortestonly&lt;/del&gt;&lt;br/&gt;
&lt;del&gt;Project: tools/e2fsprogs&lt;/del&gt;&lt;br/&gt;
&lt;del&gt;Branch: master-lustre&lt;/del&gt;&lt;br/&gt;
&lt;del&gt;Current Patch Set: 1&lt;/del&gt;&lt;br/&gt;
&lt;del&gt;Commit: 2ccd59ad60c8dc4e1c037201dca25a4d6b10d9c8&lt;/del&gt;&lt;/p&gt;</comment>
                            <comment id="378363" author="emoly.liu" created="Wed, 12 Jul 2023 07:55:13 +0000"  >&lt;p&gt;&lt;a href=&quot;https://jira.whamcloud.com/secure/ViewProfile.jspa?name=dongyang&quot; class=&quot;user-hover&quot; rel=&quot;dongyang&quot;&gt;dongyang&lt;/a&gt;&#160;, could you please have a look at this issue? My test above showed this issue was caused by &#160;the (latest) e2fsprogs master-lustre branch.&#160;&lt;/p&gt;</comment>
                            <comment id="378871" author="gerrit" created="Mon, 17 Jul 2023 10:20:48 +0000"  >&lt;p&gt;&lt;del&gt;&quot;Emoly Liu &amp;lt;emoly@whamcloud.com&amp;gt;&quot; uploaded a new patch:&lt;/del&gt; &lt;a href=&quot;https://review.whamcloud.com/c/fs/lustre-release/+/51693&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://review.whamcloud.com/c/fs/lustre-release/+/51693&lt;/a&gt;&lt;br/&gt;
&lt;del&gt;Subject: &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-16954&quot; title=&quot;mount failed: File exists(cannot create duplicate filename &amp;#39;/devices/virtual/bdi/lustre-ffffxxx&amp;#39;)&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-16954&quot;&gt;&lt;del&gt;LU-16954&lt;/del&gt;&lt;/a&gt; test: fortestonly to verify commit f5a75ea&lt;/del&gt;&lt;br/&gt;
&lt;del&gt;Project: fs/lustre-release&lt;/del&gt;&lt;br/&gt;
&lt;del&gt;Branch: master&lt;/del&gt;&lt;br/&gt;
&lt;del&gt;Current Patch Set: 1&lt;/del&gt;&lt;br/&gt;
&lt;del&gt;Commit: 9998b59ba73195d3b6fc7146807216c9a38b77bc&lt;/del&gt;&lt;/p&gt;</comment>
                            <comment id="379038" author="gerrit" created="Tue, 18 Jul 2023 01:09:32 +0000"  >&lt;p&gt;&quot;Li Dongyang &amp;lt;dongyangli@ddn.com&amp;gt;&quot; uploaded a new patch: &lt;a href=&quot;https://review.whamcloud.com/c/fs/lustre-release/+/51701&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://review.whamcloud.com/c/fs/lustre-release/+/51701&lt;/a&gt;&lt;br/&gt;
Subject: &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-16954&quot; title=&quot;mount failed: File exists(cannot create duplicate filename &amp;#39;/devices/virtual/bdi/lustre-ffffxxx&amp;#39;)&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-16954&quot;&gt;&lt;del&gt;LU-16954&lt;/del&gt;&lt;/a&gt; Revert &quot;&lt;a href=&quot;https://jira.whamcloud.com/browse/LU-16697&quot; title=&quot;Lustre should set appropriate BDI_CAP_* and s_iflags for writeback and cgroup wb&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-16697&quot;&gt;&lt;del&gt;LU-16697&lt;/del&gt;&lt;/a&gt; llite: Set BDI_CAP_* flags for lustre&quot;&lt;br/&gt;
Project: fs/lustre-release&lt;br/&gt;
Branch: master&lt;br/&gt;
Current Patch Set: 1&lt;br/&gt;
Commit: 77d98384ac0bb5d9b5d1076c62c13069c648ecfd&lt;/p&gt;</comment>
                            <comment id="379235" author="emoly.liu" created="Wed, 19 Jul 2023 03:22:34 +0000"  >&lt;p&gt;The Maloo testing results above showed that this issue was caused by the patch of &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-16697&quot; title=&quot;Lustre should set appropriate BDI_CAP_* and s_iflags for writeback and cgroup wb&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-16697&quot;&gt;&lt;del&gt;LU-16697&lt;/del&gt;&lt;/a&gt; at &lt;a href=&quot;https://review.whamcloud.com/#/c/fs/lustre-release/+/50497/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://review.whamcloud.com/#/c/fs/lustre-release/+/50497/&lt;/a&gt;&#160;(commit f5a75ea44db32ac27ada327b4752c3bc611cf9df).&lt;/p&gt;</comment>
                            <comment id="379833" author="qian_wc" created="Mon, 24 Jul 2023 09:34:27 +0000"  >&lt;p&gt;I can not reproduce this bug locally...&lt;/p&gt;</comment>
                            <comment id="379840" author="gerrit" created="Mon, 24 Jul 2023 09:56:15 +0000"  >&lt;p&gt;&lt;del&gt;&quot;Qian Yingjin &amp;lt;qian@ddn.com&amp;gt;&quot; uploaded a new patch:&lt;/del&gt; &lt;a href=&quot;https://review.whamcloud.com/c/fs/lustre-release/+/51752&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://review.whamcloud.com/c/fs/lustre-release/+/51752&lt;/a&gt;&lt;br/&gt;
&lt;del&gt;Subject: &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-16954&quot; title=&quot;mount failed: File exists(cannot create duplicate filename &amp;#39;/devices/virtual/bdi/lustre-ffffxxx&amp;#39;)&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-16954&quot;&gt;&lt;del&gt;LU-16954&lt;/del&gt;&lt;/a&gt; llite: debug patch for duplicate filename&lt;/del&gt;&lt;br/&gt;
&lt;del&gt;Project: fs/lustre-release&lt;/del&gt;&lt;br/&gt;
&lt;del&gt;Branch: master&lt;/del&gt;&lt;br/&gt;
&lt;del&gt;Current Patch Set: 1&lt;/del&gt;&lt;br/&gt;
&lt;del&gt;Commit: 360264582ae7c06aad7ac8e19fcffbf6c698c68c&lt;/del&gt;&lt;/p&gt;</comment>
                            <comment id="379967" author="gerrit" created="Tue, 25 Jul 2023 09:25:19 +0000"  >&lt;p&gt;&lt;del&gt;&quot;Qian Yingjin &amp;lt;qian@ddn.com&amp;gt;&quot; uploaded a new patch:&lt;/del&gt; &lt;a href=&quot;https://review.whamcloud.com/c/fs/lustre-release/+/51755&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://review.whamcloud.com/c/fs/lustre-release/+/51755&lt;/a&gt;&lt;br/&gt;
&lt;del&gt;Subject: &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-16954&quot; title=&quot;mount failed: File exists(cannot create duplicate filename &amp;#39;/devices/virtual/bdi/lustre-ffffxxx&amp;#39;)&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-16954&quot;&gt;&lt;del&gt;LU-16954&lt;/del&gt;&lt;/a&gt; test: fortestonly for duplicate filename failure&lt;/del&gt;&lt;br/&gt;
&lt;del&gt;Project: fs/lustre-release&lt;/del&gt;&lt;br/&gt;
&lt;del&gt;Branch: master&lt;/del&gt;&lt;br/&gt;
&lt;del&gt;Current Patch Set: 1&lt;/del&gt;&lt;br/&gt;
&lt;del&gt;Commit: 4280e036f9edadfbbe411b3903e6449d609ef59c&lt;/del&gt;&lt;/p&gt;</comment>
                            <comment id="380449" author="qian_wc" created="Fri, 28 Jul 2023 01:39:30 +0000"  >&lt;p&gt;It seems to be related to the kernel patch: fs: explicitly unregister per-superblock BDIs.&lt;br/&gt;
See &lt;a href=&quot;https://lore.kernel.org/all/20211021124441.668816-4-hch@lst.de/T/#u&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://lore.kernel.org/all/20211021124441.668816-4-hch@lst.de/T/#u&lt;/a&gt; for more details: &lt;a href=&quot;https://lkml.kernel.org/lkml/20220601111059.v4.1.I0e579520b03aa244906b8fe2ef1ec63f2ab7eecf@changeid/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://lkml.kernel.org/lkml/20220601111059.v4.1.I0e579520b03aa244906b8fe2ef1ec63f2ab7eecf@changeid/&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Could Maloo testing system change to use the newer kenrel such as linux-image-unsigned-5.17.0-1003-oem/jammy 5.17.0-1003.3 amd64?&lt;br/&gt;
This kernel contains the patch. We&apos;d better to try whether it fixes this failure.&lt;/p&gt;

&lt;p&gt;Regards,&lt;br/&gt;
Qian&lt;/p&gt;
</comment>
                            <comment id="380817" author="lixi_wc" created="Tue, 1 Aug 2023 01:48:53 +0000"  >&lt;p&gt;&lt;a href=&quot;https://jira.whamcloud.com/secure/ViewProfile.jspa?name=mdiep&quot; class=&quot;user-hover&quot; rel=&quot;mdiep&quot;&gt;mdiep&lt;/a&gt; Any possibility we can update the ubuntu 2204 kernel to &amp;gt; v5.17? Or can we specify any Test-Parameters to do that?&lt;/p&gt;</comment>
                            <comment id="380818" author="lixi_wc" created="Tue, 1 Aug 2023 01:52:09 +0000"  >&lt;p&gt;A ticket already created: DCO-9417&lt;/p&gt;</comment>
                            <comment id="381099" author="qian_wc" created="Wed, 2 Aug 2023 14:41:35 +0000"  >&lt;p&gt;According to the testing output (dmesg) in  &lt;a href=&quot;https://review.whamcloud.com/c/fs/lustre-release/+/51755&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://review.whamcloud.com/c/fs/lustre-release/+/51755&lt;/a&gt;,&lt;br/&gt;
Maloo testing on Ubuntu2204: ll_put_super():&lt;br/&gt;
&lt;a href=&quot;https://testing.whamcloud.com/test_logs/0c171cbd-c4d4-4721-ba61-3d79b542b0a7/show_text&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://testing.whamcloud.com/test_logs/0c171cbd-c4d4-4721-ba61-3d79b542b0a7/show_text&lt;/a&gt;&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;
PUT SB - force: 0 unstable_nr: 0 ref: 2 wb_list: 0
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;local test on CentOS 8: ll_put_super():&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;
PUT SB - force: 0 unstable_nr: 0 ref: 1 wb_list: 0 sb@00000000c38268c1 cfg_instance lustre-client-ffff935c2b64d800
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;


&lt;p&gt;On Ubuntu 2204, the bdi refcnt is 2, 1 more larger than on CentOS8.&lt;/p&gt;

&lt;p&gt;This results the sysfs not unregister.&lt;br/&gt;
So I think the kernel patch  &quot;kernel patch: fs: explicitly unregister per-superblock BDIs&quot; should help to solve this problem.&lt;/p&gt;

&lt;p&gt;However, I still have no idea why bdi refcnt on Unbunt2204 is 2 during Lustre umount in ll_put_super...&lt;/p&gt;</comment>
                            <comment id="381273" author="gerrit" created="Thu, 3 Aug 2023 22:26:25 +0000"  >&lt;p&gt;&quot;Oleg Drokin &amp;lt;green@whamcloud.com&amp;gt;&quot; merged in patch &lt;a href=&quot;https://review.whamcloud.com/c/fs/lustre-release/+/51701/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://review.whamcloud.com/c/fs/lustre-release/+/51701/&lt;/a&gt;&lt;br/&gt;
Subject: &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-16954&quot; title=&quot;mount failed: File exists(cannot create duplicate filename &amp;#39;/devices/virtual/bdi/lustre-ffffxxx&amp;#39;)&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-16954&quot;&gt;&lt;del&gt;LU-16954&lt;/del&gt;&lt;/a&gt; llite: do not set SB_I_CGROUPWB on super block&lt;br/&gt;
Project: fs/lustre-release&lt;br/&gt;
Branch: master&lt;br/&gt;
Current Patch Set: &lt;br/&gt;
Commit: d604d68c3f8ab8fbb52f5dd19651a11ac3dc0374&lt;/p&gt;</comment>
                            <comment id="382591" author="qian_wc" created="Wed, 16 Aug 2023 01:34:04 +0000"  >&lt;p&gt;The Maloo testing results verifies that this bug was fixed in the newer Ubuntun 2204 kernel &amp;gt;= v5.17:&lt;br/&gt;
&lt;a href=&quot;https://testing.whamcloud.com/test_sessions/related?jobs=lustre-reviews&amp;amp;builds=96950#redirect&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://testing.whamcloud.com/test_sessions/related?jobs=lustre-reviews&amp;amp;builds=96950#redirect&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;The patch kernel patch: fs: explicitly unregister per-superblock BDIs (See &lt;a href=&quot;https://lore.kernel.org/all/20211021124441.668816-4-hch@lst.de/T/#u&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://lore.kernel.org/all/20211021124441.668816-4-hch@lst.de/T/#u&lt;/a&gt; for more details) fixed the duplicate filename failure during Lustre mount.&lt;/p&gt;

&lt;p&gt;It fixed by calling @bdi_unregister() directly to unregister the sysfs BDI interface.&lt;br/&gt;
In the newer kernel &amp;gt;= v5.17, @bdi_unregister is a kernel export symbol.&lt;br/&gt;
However, for Ubuntu 2204 v5.15, the function @bdi_unregister is not exported...&lt;/p&gt;

&lt;p&gt;Thus, there is no easy way to fix this problem in the kernel &amp;lt;= v5.17.&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;
void bdi_unregister(struct backing_dev_info *bdi)
{
    ...
    &lt;span class=&quot;code-keyword&quot;&gt;if&lt;/span&gt; (bdi-&amp;gt;dev) {
		bdi_debug_unregister(bdi);
		device_unregister(bdi-&amp;gt;dev);
		bdi-&amp;gt;dev = NULL;
   }
   ...
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;The solution maybe directly call @bdi_debug_unregister(bdi) and device_unregister(bdi-&amp;gt;dev) explicitly in -&amp;gt;put_super().&lt;/p&gt;

&lt;p&gt;I will make a patch to see whether it will cause any problem by this way.&lt;/p&gt;



</comment>
                            <comment id="382598" author="gerrit" created="Wed, 16 Aug 2023 04:07:09 +0000"  >&lt;p&gt;&quot;Qian Yingjin &amp;lt;qian@ddn.com&amp;gt;&quot; uploaded a new patch: &lt;a href=&quot;https://review.whamcloud.com/c/fs/lustre-release/+/51955&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://review.whamcloud.com/c/fs/lustre-release/+/51955&lt;/a&gt;&lt;br/&gt;
Subject: &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-16954&quot; title=&quot;mount failed: File exists(cannot create duplicate filename &amp;#39;/devices/virtual/bdi/lustre-ffffxxx&amp;#39;)&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-16954&quot;&gt;&lt;del&gt;LU-16954&lt;/del&gt;&lt;/a&gt; llite: add SB_I_CGROUPWB on super block&lt;br/&gt;
Project: fs/lustre-release&lt;br/&gt;
Branch: master&lt;br/&gt;
Current Patch Set: 1&lt;br/&gt;
Commit: 24263dc9ae44ad02639178f5b167dcd0f1ccc68f&lt;/p&gt;</comment>
                            <comment id="387498" author="gerrit" created="Thu, 28 Sep 2023 08:00:35 +0000"  >&lt;p&gt;&quot;Oleg Drokin &amp;lt;green@whamcloud.com&amp;gt;&quot; merged in patch &lt;a href=&quot;https://review.whamcloud.com/c/fs/lustre-release/+/51955/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://review.whamcloud.com/c/fs/lustre-release/+/51955/&lt;/a&gt;&lt;br/&gt;
Subject: &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-16954&quot; title=&quot;mount failed: File exists(cannot create duplicate filename &amp;#39;/devices/virtual/bdi/lustre-ffffxxx&amp;#39;)&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-16954&quot;&gt;&lt;del&gt;LU-16954&lt;/del&gt;&lt;/a&gt; llite: add SB_I_CGROUPWB on super block for cgroup&lt;br/&gt;
Project: fs/lustre-release&lt;br/&gt;
Branch: master&lt;br/&gt;
Current Patch Set: &lt;br/&gt;
Commit: dcc1dd39a67f15de9174e7acdda599e3c54c1421&lt;/p&gt;</comment>
                            <comment id="387592" author="pjones" created="Thu, 28 Sep 2023 14:55:12 +0000"  >&lt;p&gt;It looks like this work is now complete for 2.16. The only remaining patches are fortestonly (so presumably will be abandoned)&lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10011">
                    <name>Related</name>
                                            <outwardlinks description="is related to ">
                                        <issuelink>
            <issuekey id="75386">LU-16697</issuekey>
        </issuelink>
                            </outwardlinks>
                                                                <inwardlinks description="is related to">
                                        <issuelink>
            <issuekey id="77072">LU-16970</issuekey>
        </issuelink>
            <issuelink>
            <issuekey id="77317">LU-17012</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|i03q4v:</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>