From: Nikolay Borisov <nborisov@suse.com>
To: Menion <menion@gmail.com>, "Swâmi Petaramesh" <swami@petaramesh.org>
Cc: linux-btrfs <linux-btrfs@vger.kernel.org>
Subject: Re: btrfs: convert metadata from raid5 to raid1
Date: Tue, 18 Feb 2020 10:41:26 +0200 [thread overview]
Message-ID: <6ec8e791-549d-37a8-e104-8c6d5b9daee8@suse.com> (raw)
In-Reply-To: <CAJVZm6eQs228cH-VpDcuqudKHVr2zq=K4_RV--2bbAoGqTLL7g@mail.gmail.com>
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.
next prev parent reply other threads:[~2020-02-18 8:41 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-02-17 13:43 btrfs: convert metadata from raid5 to raid1 Menion
2020-02-17 13:49 ` Swâmi Petaramesh
2020-02-17 13:50 ` Menion
2020-02-17 13:51 ` Menion
2020-02-17 13:55 ` Hugo Mills
2020-02-17 13:54 ` Hugo Mills
2020-02-17 13:55 ` Swâmi Petaramesh
2020-02-17 14:12 ` Menion
2020-02-17 14:17 ` Hugo Mills
2020-02-17 18:05 ` Graham Cobb
2020-02-18 8:34 ` Menion
2020-02-18 8:41 ` Nikolay Borisov [this message]
2020-02-18 8:43 ` Menion
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=6ec8e791-549d-37a8-e104-8c6d5b9daee8@suse.com \
--to=nborisov@suse.com \
--cc=linux-btrfs@vger.kernel.org \
--cc=menion@gmail.com \
--cc=swami@petaramesh.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox