Re: [PATCH 1/2] Btrfs: fix kernel oops while reading compressed data

2017-09-26 Thread David Sterba
o: Liu Bo > > Cc: linux-btrfs@vger.kernel.org > > Subject: Re: [PATCH 1/2] Btrfs: fix kernel oops while reading compressed > > data > > > > On Wed, Sep 20, 2017 at 05:50:18PM -0600, Liu Bo wrote: > > > The kernel oops happens at > > > > > > ker

RE: [PATCH 1/2] Btrfs: fix kernel oops while reading compressed data

2017-09-26 Thread Paul Jones
> -Original Message- > From: linux-btrfs-ow...@vger.kernel.org [mailto:linux-btrfs- > ow...@vger.kernel.org] On Behalf Of David Sterba > Sent: Sunday, 24 September 2017 11:46 PM > To: Liu Bo > Cc: linux-btrfs@vger.kernel.org > Subject: Re: [PATCH 1/2] Btrfs: fix kern

Re: [PATCH 1/2] Btrfs: fix kernel oops while reading compressed data

2017-09-24 Thread David Sterba
On Wed, Sep 20, 2017 at 05:50:18PM -0600, Liu Bo wrote: > The kernel oops happens at > > kernel BUG at fs/btrfs/extent_io.c:2104! > ... > RIP: clean_io_failure+0x263/0x2a0 [btrfs] > > It's showing that read-repair code is using an improper mirror index. > This is due to the fact that compression

Re: [PATCH 1/2] Btrfs: fix kernel oops while reading compressed data

2017-09-24 Thread David Sterba
On Wed, Sep 20, 2017 at 05:50:18PM -0600, Liu Bo wrote: > The kernel oops happens at > > kernel BUG at fs/btrfs/extent_io.c:2104! > ... > RIP: clean_io_failure+0x263/0x2a0 [btrfs] > > It's showing that read-repair code is using an improper mirror index. > This is due to the fact that compression

[PATCH 1/2] Btrfs: fix kernel oops while reading compressed data

2017-09-20 Thread Liu Bo
The kernel oops happens at kernel BUG at fs/btrfs/extent_io.c:2104! ... RIP: clean_io_failure+0x263/0x2a0 [btrfs] It's showing that read-repair code is using an improper mirror index. This is due to the fact that compression read's endio hasn't recorded the failed mirror index in %cb->orig_bio.