diff options
| author | Liu Bo <[email protected]> | 2017-09-20 23:50:18 +0000 |
|---|---|---|
| committer | David Sterba <[email protected]> | 2017-09-26 12:53:23 +0000 |
| commit | cf1167d5c1abf3bc42b2a1562bfa7937c05337e2 (patch) | |
| tree | a8e2a5e0fc58793ef9ce24ecd19834a3756c1e17 /drivers/iio/trigger/stm32-timer-trigger.c | |
| parent | Btrfs: use btrfs_op instead of bio_op in __btrfs_map_block (diff) | |
| download | kernel-cf1167d5c1abf3bc42b2a1562bfa7937c05337e2.tar.gz kernel-cf1167d5c1abf3bc42b2a1562bfa7937c05337e2.zip | |
Btrfs: fix kernel oops while reading compressed data
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.
With this, btrfs's read-repair can work properly on reading compressed
data.
Signed-off-by: Liu Bo <[email protected]>
Reported-by: Paul Jones <[email protected]>
Tested-by: Paul Jones <[email protected]>
Reviewed-by: David Sterba <[email protected]>
Signed-off-by: David Sterba <[email protected]>
Diffstat (limited to 'drivers/iio/trigger/stm32-timer-trigger.c')
0 files changed, 0 insertions, 0 deletions
