[Bug 1195375] New: 5.16.x: btrfs-cleaner never stops
http://bugzilla.opensuse.org/show_bug.cgi?id=1195375 Bug ID: 1195375 Summary: 5.16.x: btrfs-cleaner never stops Classification: openSUSE Product: openSUSE Tumbleweed Version: Current Hardware: Other OS: Other Status: NEW Severity: Normal Priority: P5 - None Component: Kernel Assignee: kernel-bugs@opensuse.org Reporter: christophe@krop.fr QA Contact: qa-bugs@suse.de Found By: --- Blocker: --- I noticed the issue as soon as I updated the kernel, first to 5.16.0 and still with 5.16.2. btrfs-cleaner uses the CPU intensively but never stops. The problem is immediately solved if I boot back to kernel 5.15. nothing particular in the dmesg output: # dmesg | grep -i btrfs [ 1.864742] Btrfs loaded, crc32c=crc32c-intel, assert=on, zoned=yes, fsverity=yes [ 509.498068] BTRFS: device fsid 983f417f-54ea-4950-a17a-179d67a5484a devid 1 transid 1077090 /dev/dm-1 scanned by systemd-udevd (5990) [ 509.732661] BTRFS info (device dm-1): flagging fs with big metadata feature [ 509.732665] BTRFS info (device dm-1): disk space caching is enabled [ 509.732666] BTRFS info (device dm-1): has skinny extents [ 509.742839] BTRFS info (device dm-1): enabling ssd optimizations [ 510.402418] BTRFS info (device dm-1): enabling auto defrag [ 510.402421] BTRFS info (device dm-1): use zstd compression, level 3 [ 510.402423] BTRFS info (device dm-1): disk space caching is enabled [ 511.812314] BTRFS info (device dm-1): devid 1 device path /dev/mapper/system-root changed to /dev/dm-1 scanned by systemd-udevd (6289) [ 511.812755] BTRFS info (device dm-1): devid 1 device path /dev/dm-1 changed to /dev/mapper/system-root scanned by systemd-udevd (6289) [ 512.168528] BTRFS: device fsid fbd29e17-3680-488b-922a-63c4c04b7009 devid 1 transid 1481279 /dev/dm-9 scanned by systemd-udevd (6292) [ 512.182642] BTRFS info (device dm-9): flagging fs with big metadata feature [ 512.182646] BTRFS info (device dm-9): enabling auto defrag [ 512.182648] BTRFS info (device dm-9): use zstd compression, level 3 [ 512.182649] BTRFS info (device dm-9): disk space caching is enabled [ 512.182650] BTRFS info (device dm-9): has skinny extents [ 512.224806] BTRFS info (device dm-9): enabling ssd optimizations smartctl doesn't report anything particular There are quite some threads on Internet suggesting to disable quota, but they're not enabled for any partition. # mount | grep btrfs /dev/mapper/system-root on / type btrfs (rw,noatime,nodiratime,compress=zstd:3,ssd,space_cache,autodefrag,subvolid=256,subvol=/@) /dev/mapper/system-root on /opt type btrfs (rw,noatime,nodiratime,compress=zstd:3,ssd,space_cache,autodefrag,subvolid=262,subvol=/@/opt) /dev/mapper/system-root on /root type btrfs (rw,noatime,nodiratime,compress=zstd:3,ssd,space_cache,autodefrag,subvolid=261,subvol=/@/root) /dev/mapper/system-root on /srv type btrfs (rw,noatime,nodiratime,compress=zstd:3,ssd,space_cache,autodefrag,subvolid=260,subvol=/@/srv) /dev/mapper/system-root on /var type btrfs (rw,noatime,nodiratime,compress=zstd:3,ssd,space_cache,autodefrag,subvolid=257,subvol=/@/var) /dev/mapper/system-root on /usr/local type btrfs (rw,noatime,nodiratime,compress=zstd:3,ssd,space_cache,autodefrag,subvolid=258,subvol=/@/usr/local) /dev/mapper/system-home on /home type btrfs (rw,noatime,nodiratime,compress=zstd:3,ssd,space_cache,autodefrag,subvolid=5,subvol=/) /dev/mapper/system-root on /data/kde/inst type btrfs (rw,noatime,nodiratime,compress=zstd:3,ssd,space_cache,autodefrag,subvolid=262,subvol=/@/opt) # iotop 3992 be/4 root 0.00 B/s 534.76 K/s ?unavailable? [kworker/u8:0-btrfs-endio-write] 6117 be/4 root 0.00 B/s 381.97 K/s ?unavailable? [kworker/u8:1-btrfs-endio-write] 6672 be/4 root 0.00 B/s 329.01 M/s ?unavailable? [btrfs-cleaner] 7798 be/4 root 0.00 B/s 886.17 K/s ?unavailable? [kworker/u8:8-btrfs-endio-write] 7799 be/4 root 0.00 B/s 446.91 K/s ?unavailable? [kworker/u8:9-kcryptd/254:0] 10554 be/4 root 0.00 B/s 2.66 M/s ?unavailable? [kworker/u8:4+btrfs-endio-write] 10592 be/4 root 0.00 B/s 61.12 K/s ?unavailable? [kworker/u8:10-btrfs-endio-write] 10868 be/4 root 0.00 B/s 217.72 K/s ?unavailable? [kworker/u8:12-btrfs-endio-write] 10897 be/4 root 0.00 B/s 110.77 K/s ?unavailable? [kworker/u8:13+events_unbound] 10898 be/4 root 0.00 B/s 473.64 K/s ?unavailable? [kworker/u8:14-btrfs-endio-write] 10899 be/4 root 0.00 B/s 504.20 K/s ?unavailable? [kworker/u8:15-btrfs-endio-write] 10919 be/4 root 0.00 B/s 557.68 K/s ?unavailable? [kworker/u8:16-btrfs-endio-write] 11140 be/4 root 0.00 B/s 351.41 K/s ?unavailable? [kworker/u8:17-btrfs-endio-write] 11990 be/4 root 0.00 B/s 229.18 K/s ?unavailable? [kworker/u8:5-kcryptd/254:0] -- You are receiving this mail because: You are the assignee for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1195375 http://bugzilla.opensuse.org/show_bug.cgi?id=1195375#c1 --- Comment #1 from Christophe Giboudeaux <christophe@krop.fr> --- For completeness: # lsblk --fs /dev/sdd NAME FSTYPE FSVER LABEL UUID FSAVAIL FSUSE% MOUNTPOINTS sdd ������sdd1 vfat FAT16 607D-F02B 99,8M 0% /boot/efi ������sdd2 ������sdd3 ext2 1.0 f624b322-a406-4c2d-81b5-17420e083098 1,8G 6% /boot ������sdd4 crypto_LUKS 1 e4d03a64-a035-4778-a9d3-5843b1f7bfb7 ������cr-auto-2 LVM2_member LVM2 001 GK3USq-HH3v-X7hc-bQiS-fKT6-uyIf-Zod137 ������system-root btrfs 983f417f-54ea-4950-a17a-179d67a5484a 45G 23% /data/kde/inst ��� /usr/local ��� /var ��� /srv ��� /root ��� /opt ��� / ������system-swap swap 1 446e473d-3b55-4df3-8c74-17c49c55667c [SWAP] ������system-home btrfs fbd29e17-3680-488b-922a-63c4c04b7009 55,6G 65% /home -- You are receiving this mail because: You are the assignee for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1195375 http://bugzilla.opensuse.org/show_bug.cgi?id=1195375#c2 Alexander Ahjolinna <ahjolinna@yahoo.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |ahjolinna@yahoo.com --- Comment #2 from Alexander Ahjolinna <ahjolinna@yahoo.com> --- I have this also, but hopefully 5.16.5 will resolve this issue: https://www.phoronix.com/scan.php?page=news_item&px=Linux-5.16-Better-Btrfs -- You are receiving this mail because: You are the assignee for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1195375 http://bugzilla.opensuse.org/show_bug.cgi?id=1195375#c3 --- Comment #3 from Christophe Giboudeaux <christophe@krop.fr> --- (In reply to Alexander Ahjolinna from comment #2)
I have this also, but hopefully 5.16.5 will resolve this issue: https://www.phoronix.com/scan.php?page=news_item&px=Linux-5.16-Better-Btrfs
Indeed, I'm using 5.16.5-4.g8e500f5-default from the Kernel: repo and the problem is gone -- You are receiving this mail because: You are the assignee for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1195375 http://bugzilla.opensuse.org/show_bug.cgi?id=1195375#c4 Alexander Ahjolinna <ahjolinna@yahoo.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution|--- |FIXED --- Comment #4 from Alexander Ahjolinna <ahjolinna@yahoo.com> --- 5.16.5 seems to fix this issue and version 20220207 has now it so I think this issue can be closed https://lists.opensuse.org/archives/list/factory@lists.opensuse.org/thread/6... -- You are receiving this mail because: You are the assignee for the bug.
participants (1)
-
bugzilla_noreply@suse.com