On 10.06.20 г. 14:52 ч., Jos van Roosmalen wrote: > Hi, > > Since I upgraded to Ubuntu 20.04 LTS (Linux 5.4.0-37-generic) the > mounting of a BTRFS HDD drive is hanging (never ends). In the syslog I > get the following message.The mount keeps consuming CPU (few percent) > and also a few "kworker/u8:<id>-btrfs-endio-meta" pop up. > > My /etc/fstab contains: > > UUID=262a8d86-279a-4f6b-8968-32e200c32255 /mnt/hdd btrfs > autodefrag,space_cache=v2,compress=zlib 0 1 > > I ran already a btrfs check on /dev/sda but that reported no problems. > > How can I fix this issue? provide output of echo w> /proc/sysrq-trigger when this issue happens. > > Syslog: > > [ 1571.929999] INFO: task btrfs-transacti:1919 blocked for more than > 1087 seconds. > [ 1571.930013] Not tainted 5.4.0-37-generic #41-Ubuntu > [ 1571.930018] "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" > disables this message. > [ 1571.930025] btrfs-transacti D 0 1919 2 0x80004000 > [ 1571.930031] Call Trace: > [ 1571.930043] __schedule+0x2e3/0x740 > [ 1571.930048] schedule+0x42/0xb0 > [ 1571.930103] btrfs_commit_transaction+0x879/0x960 [btrfs] > [ 1571.930110] ? wait_woken+0x80/0x80 > [ 1571.930153] transaction_kthread+0x146/0x190 [btrfs] > [ 1571.930158] kthread+0x104/0x140 > [ 1571.930195] ? btrfs_cleanup_transaction+0x530/0x530 [btrfs] > [ 1571.930199] ? kthread_park+0x90/0x90 > [ 1571.930205] ret_from_fork+0x35/0x40 > > >
