btrfs: account_page_dirtied -> __percpu_counter_add kernel crash

2017-01-11 Thread Angel Shtilianov
Hi all, I am observing periodic crashes with signature below on kernel 4.4.26. wb is extracted from page (see mm/page-writeback.c, void account_page_dirtied() ): inode_attach_wb(inode, page); wb = inode_to_wb(inode); We are crasing in __inc_wb_stat(wb,

Re: Btrfs umount hang

2017-08-10 Thread Angel Shtilianov
adlocked too in case the data isn't cached. It looks scary. I hope that I've missed something. Best regards, Angel On Thu, Aug 10, 2017 at 1:30 AM, Angel Shtilianov <ker...@kyup.com> wrote: > Hi Jeff, > That's exactly what I am observing in the backtraces. > umount reaches cache_block_group

Re: Btrfs umount hang

2017-08-08 Thread Angel Shtilianov
2017 at 9:10 PM, Jeff Mahoney <je...@suse.com> wrote: > On 8/7/17 1:19 PM, Jeff Mahoney wrote: >> On 8/7/17 10:12 AM, Angel Shtilianov wrote: >>> Hi there, >>> I'm investigating sporadic hanging during btrfs umount. The FS is >>> contained in a loop mounted fi

Re: Btrfs umount hang

2017-08-09 Thread Angel Shtilianov
:42 PM, Jeff Mahoney <je...@suse.com> wrote: > On 8/8/17 7:30 AM, Angel Shtilianov wrote: >> crash> bt -f 31625 >> PID: 31625 TASK: 88046a833400 CPU: 7 COMMAND: "btrfs-transacti" >> wants to acquire struct extent_buffer 88000460aca0 lock, whose &

Btrfs umount hang

2017-08-07 Thread Angel Shtilianov
} The complete backtraces could be found in the attached log. Do you have any ideas ? Any help will be greatly appreciated. Best regards, Angel Shtilianov Jul 21 22:30:34 smallvault22 kernel: [377419.794212] BTRFS info (device loop0): disk space caching is enabled Jul 21 22:30:34 smallvault