kswapd0 causing deadlocks within btrfs?

2018-08-26 Thread Stuart Longland
Hi all, Not sure if anyone's seen this issue before, but I just updated an embedded system to kernel 4.18.5 and struck this: [ 792.308044] [ 792.309599] == [ 792.315805] WARNING: possible circular locking dependency detected [ 792.322012]

Re: Scrub aborts due to corrupt leaf

2018-08-26 Thread Qu Wenruo
On 2018/8/27 上午4:45, Larkin Lowrey wrote: > When I do a scrub it aborts about 10% of the way in due to: > > corrupt leaf: root=7 block=7687860535296 slot=0, invalid key objectid > for csum item, have 18446744073650847734 expect 18446744073709551606 This error message explains itself. Key

Re: Scrub aborts due to corrupt leaf

2018-08-26 Thread Larkin Lowrey
On 8/26/2018 8:16 PM, Qu Wenruo wrote: Corrupted tree block bytenr matches with the number reported by kernel. You could provide the tree block dump for bytenr 7687860535296, and maybe we could find out what's going wrong and fix it manually. # btrfs ins dump-tree -b 7687860535296 Thank you

Re: Scrub aborts due to corrupt leaf

2018-08-26 Thread Qu Wenruo
On 2018/8/27 上午10:32, Larkin Lowrey wrote: > On 8/26/2018 8:16 PM, Qu Wenruo wrote: >> Corrupted tree block bytenr matches with the number reported by kernel. >> You could provide the tree block dump for bytenr 7687860535296, and >> maybe we could find out what's going wrong and fix it manually.

Scrub aborts due to corrupt leaf

2018-08-26 Thread Larkin Lowrey
When I do a scrub it aborts about 10% of the way in due to: corrupt leaf: root=7 block=7687860535296 slot=0, invalid key objectid for csum item, have 18446744073650847734 expect 18446744073709551606 The filesystem in question stores my backups and I have verified all of the backups so I know