Re: [PATCH] Btrfs: fix list_add corruption and soft lockups in fsync

2017-11-21 Thread David Sterba
On Mon, Nov 20, 2017 at 10:37:25AM -0700, Liu Bo wrote: > > > [1]: https://www.spinics.net/lists/linux-btrfs/msg65308.html > > > "btrfs list corruption and soft lockups while testing writeback error > > > handling" > > > > > > > Fixes: 8407f553268a4611f254 ("Btrfs: fix data corruption after

Re: [PATCH] Btrfs: fix list_add corruption and soft lockups in fsync

2017-11-20 Thread Liu Bo
On Mon, Nov 20, 2017 at 06:34:34PM +0100, David Sterba wrote: > On Mon, Nov 13, 2017 at 10:57:24AM -0700, Liu Bo wrote: > > Xfstests btrfs/146 revealed this corruption, > > > > [ 58.138831] Buffer I/O error on dev dm-0, logical block 2621424, async > > page read > > [ 58.151233] BTRFS error

Re: [PATCH] Btrfs: fix list_add corruption and soft lockups in fsync

2017-11-20 Thread David Sterba
On Mon, Nov 13, 2017 at 10:57:24AM -0700, Liu Bo wrote: > Xfstests btrfs/146 revealed this corruption, > > [ 58.138831] Buffer I/O error on dev dm-0, logical block 2621424, async > page read > [ 58.151233] BTRFS error (device sdf): bdev /dev/mapper/error-test errs: wr > 1, rd 0, flush 0,

[PATCH] Btrfs: fix list_add corruption and soft lockups in fsync

2017-11-13 Thread Liu Bo
Xfstests btrfs/146 revealed this corruption, [ 58.138831] Buffer I/O error on dev dm-0, logical block 2621424, async page read [ 58.151233] BTRFS error (device sdf): bdev /dev/mapper/error-test errs: wr 1, rd 0, flush 0, corrupt 0, gen 0 [ 58.152403] list_add corruption. prev->next should