Re: btrfs: convert metadata from raid5 to raid1

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 




On 18.02.20 г. 10:34 ч., Menion wrote:
> Hello again
> 
> Task completed, I see in three occurrence of this event:
> 
> [518366.156963] INFO: task btrfs-cleaner:1034 blocked for more than 120 seconds.
> [518366.156989]       Not tainted 5.5.3-050503-generic #202002110832
> [518366.157024] "echo 0 > /proc/sys/kernel/hung_task_timeout_secs"
> disables this message.
> [518366.157044] btrfs-cleaner   D    0  1034      2 0x80004000
> [518366.157054] Call Trace:
> [518366.157082]  __schedule+0x2d8/0x760
> [518366.157094]  schedule+0x55/0xc0
> [518366.157105]  schedule_preempt_disabled+0xe/0x10
> [518366.157113]  __mutex_lock.isra.0+0x182/0x4f0
> [518366.157125]  __mutex_lock_slowpath+0x13/0x20
> [518366.157132]  mutex_lock+0x2e/0x40
> [518366.157261]  btrfs_delete_unused_bgs+0xc0/0x560 [btrfs]
> [518366.157322]  ? __wake_up+0x13/0x20
> [518366.157424]  cleaner_kthread+0x124/0x130 [btrfs]
> [518366.157437]  kthread+0x104/0x140
> [518366.157531]  ? kzalloc.constprop.0+0x40/0x40 [btrfs]
> [518366.157565]  ? kthread_park+0x90/0x90
> [518366.157575]  ret_from_fork+0x35/0x40
> 
> and
> 
> [518486.984177] INFO: task btrfs-cleaner:1034 blocked for more than 241 seconds.
> [518486.984204]       Not tainted 5.5.3-050503-generic #202002110832
> [518486.984216] "echo 0 > /proc/sys/kernel/hung_task_timeout_secs"
> disables this message.
> [518486.984233] btrfs-cleaner   D    0  1034      2 0x80004000
> [518486.984243] Call Trace:
> [518486.984271]  __schedule+0x2d8/0x760
> [518486.984284]  schedule+0x55/0xc0
> [518486.984295]  schedule_preempt_disabled+0xe/0x10
> [518486.984305]  __mutex_lock.isra.0+0x182/0x4f0
> [518486.984319]  __mutex_lock_slowpath+0x13/0x20
> [518486.984326]  mutex_lock+0x2e/0x40
> [518486.984451]  btrfs_delete_unused_bgs+0xc0/0x560 [btrfs]
> [518486.984464]  ? __wake_up+0x13/0x20
> [518486.984562]  cleaner_kthread+0x124/0x130 [btrfs]
> [518486.984573]  kthread+0x104/0x140
> [518486.984666]  ? kzalloc.constprop.0+0x40/0x40 [btrfs]
> [518486.984675]  ? kthread_park+0x90/0x90
> [518486.984686]  ret_from_fork+0x35/0x40
> 
> and
> 
> [518728.646379] INFO: task btrfs-cleaner:1034 blocked for more than 120 seconds.
> [518728.646413]       Not tainted 5.5.3-050503-generic #202002110832
> [518728.646428] "echo 0 > /proc/sys/kernel/hung_task_timeout_secs"
> disables this message.
> [518728.646447] btrfs-cleaner   D    0  1034      2 0x80004000
> [518728.646460] Call Trace:
> [518728.646494]  __schedule+0x2d8/0x760
> [518728.646508]  schedule+0x55/0xc0
> [518728.646522]  schedule_preempt_disabled+0xe/0x10
> [518728.646534]  __mutex_lock.isra.0+0x182/0x4f0
> [518728.646550]  __mutex_lock_slowpath+0x13/0x20
> [518728.646559]  mutex_lock+0x2e/0x40
> [518728.646719]  btrfs_delete_unused_bgs+0xc0/0x560 [btrfs]
> [518728.646735]  ? __wake_up+0x13/0x20
> [518728.646859]  cleaner_kthread+0x124/0x130 [btrfs]
> [518728.646875]  kthread+0x104/0x140
> [518728.647019]  ? kzalloc.constprop.0+0x40/0x40 [btrfs]
> [518728.647031]  ? kthread_park+0x90/0x90
> [518728.647045]  ret_from_fork+0x35/0x40
> 
> Is it a kind of normal?
> Thanks, bye


provide the output of echo w > /proc/sysrq-trigger

I suspect there were 3 times that there was lock contention on
delete_unused_bgs_mutex due to balance. Unless it persists it's fine.



[Index of Archives]     [Linux Filesystem Development]     [Linux NFS]     [Linux NILFS]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux