Re: task btrfs-cleaner:770 blocked for more than 120 seconds.

2016-03-19 Thread Михаил Гаврилов
2016-03-16 14:01 GMT+05:00 Roman Mamedov : > On Tue, 15 Mar 2016 09:18:14 +0500 > Mikhail Gavrilov wrote: > >> Yesterday btrfs again hangs on kernel 4.4.5 >> It's the same or another problem? > > Seems different to me, as there's also defrag involved. Try removing and not > using the defrag mount

Re: task btrfs-cleaner:770 blocked for more than 120 seconds.

2016-03-16 Thread Roman Mamedov
On Tue, 15 Mar 2016 09:18:14 +0500 Михаил Гаврилов wrote: > Yesterday btrfs again hangs on kernel 4.4.5 > It's the same or another problem? Seems different to me, as there's also defrag involved. Try removing and not using the defrag mount option. > This messages say that restore failed? So yo

Re: task btrfs-cleaner:770 blocked for more than 120 seconds.

2016-02-19 Thread Chris Murphy
On Fri, Feb 19, 2016 at 9:00 AM, Christian Rohmann wrote: > Hey liubo, > > thanks for the quick response. > > On 02/18/2016 05:59 PM, Liu Bo wrote: >>> Apparently also with 4.4 there is some sort of blocking happening ... >>> > just at 38580: >> OK, what does 'sysrq-w' say? > > The problem has not

Re: task btrfs-cleaner:770 blocked for more than 120 seconds.

2016-02-19 Thread Christian Rohmann
Hey liubo, thanks for the quick response. On 02/18/2016 05:59 PM, Liu Bo wrote: >> Apparently also with 4.4 there is some sort of blocking happening ... >> > just at 38580: > OK, what does 'sysrq-w' say? The problem has not appeared again for some time. Do I need to catch it right when it happen

Re: task btrfs-cleaner:770 blocked for more than 120 seconds.

2016-02-18 Thread Liu Bo
On Thu, Feb 18, 2016 at 01:35:24PM +0100, Christian Rohmann wrote: > > > On 02/14/2016 11:42 PM, Roman Mamedov wrote: > > FWIW I had a persistently repeating deadlock on 4.1 and 4.3, but > > after upgrade to 4.4 it no longer happens. > > > Apparently also with 4.4 there is some sort of blocking

Re: task btrfs-cleaner:770 blocked for more than 120 seconds.

2016-02-18 Thread Christian Rohmann
On 02/14/2016 11:42 PM, Roman Mamedov wrote: > FWIW I had a persistently repeating deadlock on 4.1 and 4.3, but > after upgrade to 4.4 it no longer happens. Apparently also with 4.4 there is some sort of blocking happening ... just at 38580: cut [Wed Feb 17 16:43:48 2016] INFO: task

Re: task btrfs-cleaner:770 blocked for more than 120 seconds.

2016-02-14 Thread Roman Mamedov
On Sun, 14 Feb 2016 13:32:24 -0800 Liu Bo wrote: > Hi Mike, > On Sun, Feb 14, 2016 at 12:23:16AM +0500, Михаил Гаврилов wrote: > > Sorry, I have not yet had time to apply your patch. > > > > And get hang again when launch web browser. > > > > Here new logs: > > http://btrfs.sy24.ru/kernel-sysr

Re: task btrfs-cleaner:770 blocked for more than 120 seconds.

2016-02-14 Thread Liu Bo
Hi Mike, On Sun, Feb 14, 2016 at 12:23:16AM +0500, Михаил Гаврилов wrote: > Sorry, I have not yet had time to apply your patch. > > And get hang again when launch web browser. > > Here new logs: http://btrfs.sy24.ru/kernel-sysrqw-btrfscleaner770blocked-3.txt The logs show, every hung process is

Re: task btrfs-cleaner:770 blocked for more than 120 seconds.

2016-02-13 Thread Михаил Гаврилов
Sorry, I have not yet had time to apply your patch. And get hang again when launch web browser. Here new logs: http://btrfs.sy24.ru/kernel-sysrqw-btrfscleaner770blocked-3.txt Addition info: when btrfs partition hangs also hang GUI it is normal? For grab logs I switch to tty3 (Ctrl - Alt - F3)

Re: task btrfs-cleaner:770 blocked for more than 120 seconds.

2016-02-12 Thread Liu Bo
On Thu, Feb 11, 2016 at 08:38:36PM -0700, Chris Murphy wrote: > On Thu, Feb 11, 2016 at 8:22 PM, Liu Bo wrote: > > On Fri, Feb 12, 2016 at 02:03:15AM +0500, Михаил Гаврилов wrote: > >> Thanks guys, I appreciate your's work. > >> In which kernel this patch would landed? > > > > You can try it on yo

Re: task btrfs-cleaner:770 blocked for more than 120 seconds.

2016-02-12 Thread Liu Bo
On Sat, Feb 13, 2016 at 12:15:08AM +0500, Михаил Гаврилов wrote: > 2016-02-12 8:22 GMT+05:00 Liu Bo : > > You can try it on your 4.2.3 kernel or the latest 4.5, but I guess it > > doesn't not fix the real deadlock you're hitting... > > It means it is not final patch? you continue investigate probl

Re: task btrfs-cleaner:770 blocked for more than 120 seconds.

2016-02-12 Thread Михаил Гаврилов
2016-02-12 8:22 GMT+05:00 Liu Bo : > You can try it on your 4.2.3 kernel or the latest 4.5, but I guess it > doesn't not fix the real deadlock you're hitting... It means it is not final patch? you continue investigate problem? Can I help you? -- Best Regards, Mike Gavrilov. -- To unsubscribe from

Re: task btrfs-cleaner:770 blocked for more than 120 seconds.

2016-02-11 Thread Chris Murphy
On Thu, Feb 11, 2016 at 8:22 PM, Liu Bo wrote: > On Fri, Feb 12, 2016 at 02:03:15AM +0500, Михаил Гаврилов wrote: >> Thanks guys, I appreciate your's work. >> In which kernel this patch would landed? > > You can try it on your 4.2.3 kernel or the latest 4.5, but I guess it > doesn't not fix the re

Re: task btrfs-cleaner:770 blocked for more than 120 seconds.

2016-02-11 Thread Liu Bo
On Fri, Feb 12, 2016 at 02:03:15AM +0500, Михаил Гаврилов wrote: > Thanks guys, I appreciate your's work. > In which kernel this patch would landed? You can try it on your 4.2.3 kernel or the latest 4.5, but I guess it doesn't not fix the real deadlock you're hitting... Thanks, -liubo > > -- >

Re: task btrfs-cleaner:770 blocked for more than 120 seconds.

2016-02-11 Thread Михаил Гаврилов
Thanks guys, I appreciate your's work. In which kernel this patch would landed? -- Best Regards, Mike Gavrilov. 2016-02-12 0:18 GMT+05:00 Liu Bo : > > Really appreciate for collecting these, it should be helpful. > > Unfortunately I still could not figure out who's holding fs tree's root > WRIT

Re: task btrfs-cleaner:770 blocked for more than 120 seconds.

2016-02-11 Thread Liu Bo
On Wed, Feb 10, 2016 at 02:23:00PM -0700, Chris Murphy wrote: > On Wed, Feb 10, 2016 at 1:39 PM, Михаил Гаврилов > wrote: > > > > > > Here full log: > > http://btrfs.sy24.ru/kernel-sysrqw-btrfscleaner770blocked-2.txt > > > > I am so sorry if this log is useless. > > Looks good to me. The block

Re: task btrfs-cleaner:770 blocked for more than 120 seconds.

2016-02-10 Thread Chris Murphy
On Wed, Feb 10, 2016 at 1:39 PM, Михаил Гаврилов wrote: > > Here full log: http://btrfs.sy24.ru/kernel-sysrqw-btrfscleaner770blocked-2.txt > > I am so sorry if this log is useless. Looks good to me. The blocked task happens out of no where with nothing reported for almost an hour before the blo

Re: task btrfs-cleaner:770 blocked for more than 120 seconds.

2016-02-10 Thread Михаил Гаврилов
2016-02-03 9:48 GMT+05:00 Chris Murphy : > Mike: From your attachment, looks like you rebooted. So do this: > > echo 1 > /proc/sys/kernel/sysrq > Reproduce the problem where you get blocked task messages in dmesg > echo w > /proc/sysrq-trigger > journalctl -k > kernel-sysrqw-btrfscleaner770blocked-

Re: task btrfs-cleaner:770 blocked for more than 120 seconds.

2016-02-02 Thread Chris Murphy
Mike: From your attachment, looks like you rebooted. So do this: echo 1 > /proc/sys/kernel/sysrq Reproduce the problem where you get blocked task messages in dmesg echo w > /proc/sysrq-trigger journalctl -k > kernel-sysrqw-btrfscleaner770blocked-2.txt Make sure you use the same mount options. Lo

Re: task btrfs-cleaner:770 blocked for more than 120 seconds.

2016-02-02 Thread Chris Murphy
On Tue, Feb 2, 2016 at 8:52 PM, Михаил Гаврилов wrote: > 2016-02-03 7:45 GMT+05:00 Chris Murphy : >> journalctl -k > kernel-sysrqw_btrfscleaner770blocked.txt > > > This I can do now or after next hang? The sysrq+w should happen when the hang is happening. This dumps hanged task info to kernel mes

Re: task btrfs-cleaner:770 blocked for more than 120 seconds.

2016-02-02 Thread Chris Murphy
On Tue, Feb 2, 2016 at 1:20 PM, Михаил Гаврилов wrote: > Hi all! I have problem with hanging btrfs file system. Can you list the workload at the time, and also the mount options? To do sysrq+w as Liu Bo asks for, do this: echo 1 > /proc/sys/kernel/sysrq echo w > /proc/sysrq-trigger And then 'j

Re: task btrfs-cleaner:770 blocked for more than 120 seconds.

2016-02-02 Thread Liu Bo
On Wed, Feb 03, 2016 at 01:20:22AM +0500, Михаил Гаврилов wrote: > Hi all! I have problem with hanging btrfs file system. It's not clear that who held the lock, any luck to find clues in sysrq+w? Thanks, -liubo > > [17047.652816] INFO: task btrfs-cleaner:770 blocked for more th

task btrfs-cleaner:770 blocked for more than 120 seconds.

2016-02-02 Thread Михаил Гаврилов
Hi all! I have problem with hanging btrfs file system. [17047.652816] INFO: task btrfs-cleaner:770 blocked for more than 120 seconds. [17047.652837] Not tainted 4.3.5-300.fc23.x86_64+debug #1 [17047.652853] "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables