Re: btrfs io errors on 3.4rc1

2012-04-03 Thread Chris Mason
On Tue, Apr 03, 2012 at 01:16:33PM -0400, Dave Jones wrote: > On Tue, Apr 03, 2012 at 01:07:50PM -0400, Dave Jones wrote: > > > > wait, what... > > > > > > 535 memset(trans, 0, sizeof(*trans)); > > > 536 kmem_cache_free(btrfs_trans_handle_cachep, trans); > > > 537 >

Re: btrfs io errors on 3.4rc1

2012-04-03 Thread David Sterba
On Tue, Apr 03, 2012 at 01:16:33PM -0400, Dave Jones wrote: > Yep that fixes it. Chris I'll mail it to you again with a proper sign-off. Thanks! Tested here as well. david -- To unsubscribe from this list: send the line "unsubscribe linux-btrfs" in the body of a message to majord...@vger.kernel

Re: btrfs io errors on 3.4rc1

2012-04-03 Thread Dave Jones
On Tue, Apr 03, 2012 at 01:07:50PM -0400, Dave Jones wrote: > > wait, what... > > > > 535 memset(trans, 0, sizeof(*trans)); > > 536 kmem_cache_free(btrfs_trans_handle_cachep, trans); > > 537 > > 538 if (throttle) > > 539 btrfs_run_delaye

Re: btrfs io errors on 3.4rc1

2012-04-03 Thread Dave Jones
On Tue, Apr 03, 2012 at 12:50:55PM -0400, Dave Jones wrote: > On Tue, Apr 03, 2012 at 06:33:43PM +0200, David Sterba wrote: > > On Tue, Apr 03, 2012 at 12:20:23PM -0400, Dave Jones wrote: > > > I see a lot of these .. > > > > > > btrfs: __btrfs_end_transaction -EIO abored=1802201963 (no s

Re: btrfs io errors on 3.4rc1

2012-04-03 Thread Dave Jones
On Tue, Apr 03, 2012 at 06:33:43PM +0200, David Sterba wrote: > On Tue, Apr 03, 2012 at 12:20:23PM -0400, Dave Jones wrote: > > I see a lot of these .. > > > > btrfs: __btrfs_end_transaction -EIO abored=1802201963 (no super error) > > 1802201963 == 0x6b6b6b6b > > #define POISON_FREE

Re: btrfs io errors on 3.4rc1

2012-04-03 Thread David Sterba
On Tue, Apr 03, 2012 at 12:20:23PM -0400, Dave Jones wrote: > I see a lot of these .. > > btrfs: __btrfs_end_transaction -EIO abored=1802201963 (no super error) 1802201963 == 0x6b6b6b6b #define POISON_FREE 0x6b/* for use-after-free poisoning */ hmm -- To unsubscribe from this list: send

Re: btrfs io errors on 3.4rc1

2012-04-03 Thread Dave Jones
On Tue, Apr 03, 2012 at 04:26:07PM +0200, David Sterba wrote: > On Mon, Apr 02, 2012 at 09:47:22PM -0400, Dave Jones wrote: > > 49b25e0540904be0bf558b84475c69d72e4de66e is the first bad commit > > btrfs: enhance transaction abort infrastructure > > Attached patch adds several debugging pr

Re: btrfs io errors on 3.4rc1

2012-04-03 Thread David Sterba
On Mon, Apr 02, 2012 at 09:47:22PM -0400, Dave Jones wrote: > 49b25e0540904be0bf558b84475c69d72e4de66e is the first bad commit > btrfs: enhance transaction abort infrastructure Attached patch adds several debugging printks to help to track down where the EIOs come from. As there are no message

Re: btrfs io errors on 3.4rc1

2012-04-02 Thread Dave Jones
On Mon, Apr 02, 2012 at 07:50:50PM -0400, Chris Mason wrote: > > I'll start a bisect later to see if I can narrow it down at least. > > Ok, a directed bisect of the major suspects. Josef changed the extent > buffer eio code in this commit (jump to the commit before it): I had already starte

Re: btrfs io errors on 3.4rc1

2012-04-02 Thread Chris Mason
On Mon, Apr 02, 2012 at 06:51:31PM -0400, Dave Jones wrote: > On Mon, Apr 02, 2012 at 06:39:19PM -0400, Chris Mason wrote: > > On Mon, Apr 02, 2012 at 06:33:50PM -0400, Dave Jones wrote: > > > On Mon, Apr 02, 2012 at 06:28:02PM -0400, Chris Mason wrote: > > > > > > > > x86-64. > > > > > >

Re: btrfs io errors on 3.4rc1

2012-04-02 Thread Dave Jones
On Mon, Apr 02, 2012 at 06:39:19PM -0400, Chris Mason wrote: > On Mon, Apr 02, 2012 at 06:33:50PM -0400, Dave Jones wrote: > > On Mon, Apr 02, 2012 at 06:28:02PM -0400, Chris Mason wrote: > > > > > > x86-64. > > > > > > > > dmesg below. (ignore the rpc oops, reported elsewhere, it's

Re: btrfs io errors on 3.4rc1

2012-04-02 Thread Chris Mason
On Mon, Apr 02, 2012 at 06:33:50PM -0400, Dave Jones wrote: > On Mon, Apr 02, 2012 at 06:28:02PM -0400, Chris Mason wrote: > > > > x86-64. > > > > > > dmesg below. (ignore the rpc oops, reported elsewhere, it's unrelated) > > > > Well, there really are no btrfs messages in there at all.

Re: btrfs io errors on 3.4rc1

2012-04-02 Thread Dave Jones
On Mon, Apr 02, 2012 at 06:28:02PM -0400, Chris Mason wrote: > > x86-64. > > > > dmesg below. (ignore the rpc oops, reported elsewhere, it's unrelated) > > Well, there really are no btrfs messages in there at all. Do you have > free space for a clean copy of the btrfs partition? Trying

Re: btrfs io errors on 3.4rc1

2012-04-02 Thread Chris Mason
On Mon, Apr 02, 2012 at 05:40:51PM -0400, Dave Jones wrote: > On Mon, Apr 02, 2012 at 05:26:08PM -0400, Chris Mason wrote: > > On Mon, Apr 02, 2012 at 05:16:22PM -0400, Dave Jones wrote: > > > On Mon, Apr 02, 2012 at 03:48:14PM -0400, Chris Mason wrote: > > > > On Mon, Apr 02, 2012 at 02:02:14P

Re: btrfs io errors on 3.4rc1

2012-04-02 Thread Dave Jones
On Mon, Apr 02, 2012 at 05:26:08PM -0400, Chris Mason wrote: > On Mon, Apr 02, 2012 at 05:16:22PM -0400, Dave Jones wrote: > > On Mon, Apr 02, 2012 at 03:48:14PM -0400, Chris Mason wrote: > > > On Mon, Apr 02, 2012 at 02:02:14PM -0400, Dave Jones wrote: > > > > Updated to rc1 this morning, an

Re: btrfs io errors on 3.4rc1

2012-04-02 Thread Chris Mason
On Mon, Apr 02, 2012 at 05:16:22PM -0400, Dave Jones wrote: > On Mon, Apr 02, 2012 at 03:48:14PM -0400, Chris Mason wrote: > > On Mon, Apr 02, 2012 at 02:02:14PM -0400, Dave Jones wrote: > > > Updated to rc1 this morning, and my machines with btrfs are all freaking > out.. > > > > > > I got t

Re: btrfs io errors on 3.4rc1

2012-04-02 Thread Dave Jones
On Mon, Apr 02, 2012 at 03:48:14PM -0400, Chris Mason wrote: > On Mon, Apr 02, 2012 at 02:02:14PM -0400, Dave Jones wrote: > > Updated to rc1 this morning, and my machines with btrfs are all freaking > > out.. > > > > I got this from my cron email .. > > > > /etc/cron.daily/prelink: line

Re: btrfs io errors on 3.4rc1

2012-04-02 Thread Chris Mason
On Mon, Apr 02, 2012 at 02:02:14PM -0400, Dave Jones wrote: > Updated to rc1 this morning, and my machines with btrfs are all freaking out.. > > I got this from my cron email .. > > /etc/cron.daily/prelink: line 41: /var/lib/prelink/full: Input/output error > cp: cannot create regular file `/var/

btrfs io errors on 3.4rc1

2012-04-02 Thread Dave Jones
Updated to rc1 this morning, and my machines with btrfs are all freaking out.. I got this from my cron email .. /etc/cron.daily/prelink: line 41: /var/lib/prelink/full: Input/output error cp: cannot create regular file `/var/lib/prelink/quick': Input/output error /etc/cron.daily/prelink: line 45: