Re: [PATCH V2 2/2] fs/super.c: don't fool lockdep in freeze_super() and thaw_super() paths

From: Oleg Nesterov
Date: Tue Oct 04 2016 - 12:58:35 EST


On 10/04, Oleg Nesterov wrote:
>
> This time it hangs after generic/274:
>
> --- tests/generic/274.out 2016-10-04 04:23:24.209006171 -0400
> +++ /root/XFS/xfstests-dev/results//generic/274.out.bad 2016-10-04 05:17:49.291742498 -0400
> @@ -3,3 +3,4 @@
> preallocation test
> ------------------------------
> done
> +./common/rc: line 344: 4693 Segmentation fault exit
> ...
> (Run 'diff -u tests/generic/274.out /root/XFS/xfstests-dev/results//generic/274.out.bad' to see the entire diff)
>
> because of kernel bug:
>
> [ 2730.242537] run fstests generic/274 at 2016-10-04 05:17:34
> [ 2730.738352] XFS (loop1): Mounting V5 Filesystem
> [ 2730.741451] XFS (loop1): Ending clean mount
> [ 2744.508698] ------------[ cut here ]------------
> [ 2744.509190] kernel BUG at ./include/linux/swap.h:276!

I removed this test and then the next run (after reboot) hangs at xfs/073 with
a lot of errors in dmesg like

XFS (loop2): Failing async write on buffer block 0x9600790. Retrying async write.
blk_update_request: I/O error, dev loop2, sector 8389920
loop: Write error at byte offset 4295647232, length 4096.

Oleg.