Re: unable to handle kernel paging request - btrfs

2016-09-30 Thread Jeff Mahoney
On 9/30/16 5:07 PM, Rich Freeman wrote: > On Fri, Sep 30, 2016 at 4:55 PM, Jeff Mahoney wrote: >> This looks like a use-after-free on one of the pages used for >> compression. Can you post the output of objdump -Dr >> /lib/modules/$(uname -r)/kernel/fs/btrfs/btrfs.ko somewhere?

Re: multi-device btrfs with single data mode and disk failure

2016-09-30 Thread Alexandre Poux
Hello again, Just a quick question. I did a full scrub and got no error at all And a full check that gave me this : #> btrfs check --check-data-csum -p /dev/sde6 Checking filesystem on /dev/sde6 UUID: 62db560b-a040-4c64-b613-6e7db033dc4d checking extents [o] checking free space cache [o]

Re: unable to handle kernel paging request - btrfs

2016-09-30 Thread Rich Freeman
On Fri, Sep 30, 2016 at 4:55 PM, Jeff Mahoney wrote: > This looks like a use-after-free on one of the pages used for > compression. Can you post the output of objdump -Dr > /lib/modules/$(uname -r)/kernel/fs/btrfs/btrfs.ko somewhere? > Sure:

Re: unable to handle kernel paging request - btrfs

2016-09-30 Thread Jeff Mahoney
On 9/30/16 2:54 PM, Rich Freeman wrote: > On Thu, Sep 22, 2016 at 1:41 PM, Jeff Mahoney wrote: >> On 9/22/16 8:18 AM, Rich Freeman wrote: >>> I have been getting panics consistently after doing a btrfs replace >>> operation on a raid1 and rebooting. I linked a photo of the panic;

Re: unable to handle kernel paging request - btrfs

2016-09-30 Thread Rich Freeman
On Thu, Sep 22, 2016 at 1:41 PM, Jeff Mahoney wrote: > On 9/22/16 8:18 AM, Rich Freeman wrote: >> I have been getting panics consistently after doing a btrfs replace >> operation on a raid1 and rebooting. I linked a photo of the panic; I >> haven't been able to get a text capture

Re: [PATCH 2/2] btrfs: Add trace point for qgroup reserved space

2016-09-30 Thread Goldwyn Rodrigues
On 09/29/2016 08:15 PM, Qu Wenruo wrote: > Introduce the following trace points: > qgroup_update_reserve > qgroup_meta_reserve > > And modify the timing of btrfs_qgroup_free_delayed_ref() and > btrfs_qgroup_release_data() events, to work with qgroup_update_reserve() > event. > > Signed-off-by:

Re: [PATCH 1/2] btrfs: Add WARN_ON for qgroup reserved underflow

2016-09-30 Thread Goldwyn Rodrigues
On 09/29/2016 08:15 PM, Qu Wenruo wrote: > While the reason why qgroup reserved space may underflow is still under > investigation, such WARN_ON will help us to expose the bug more easily, > and for end-user we can detect and avoid underflow. > > Signed-off-by: Qu Wenruo

[PATCH] qgroup: Prevent qgroup->reserved from going subzero

2016-09-30 Thread Goldwyn Rodrigues
From: Goldwyn Rodrigues While free'ing qgroup->reserved resources, we much check if the page has not been invalidated by a truncate operation by checking if the page is still dirty before reducing the qgroup resources. Resources in such a case are free'd when the entire extent

Re: [PATCH] btrfs-progs: qgroup: Fix regression leads to corrupted qgroup status

2016-09-30 Thread David Sterba
On Fri, Sep 30, 2016 at 08:44:58AM +0800, Qu Wenruo wrote: > > > At 09/30/2016 01:19 AM, David Sterba wrote: > > On Wed, Sep 07, 2016 at 10:54:19AM +0800, Qu Wenruo wrote: > >> Commit 93dabf211d74daf6e3de642bdd887a90a00f7b49 > >> Author: Mark Fasheh > >> Date: Fri Jun 17