Liu Bo
38c1c2e44b
Btrfs: fix crash on endio of reading corrupted block
...
The crash is
------------[ cut here ]------------
kernel BUG at fs/btrfs/extent_io.c:2124!
[...]
Workqueue: btrfs-endio normal_work_helper [btrfs]
RIP: 0010:[<ffffffffa02d6055>] [<ffffffffa02d6055>] end_bio_extent_readpage+0xb45/0xcd0 [btrfs]
This is in fact a regression.
It is because we forgot to increase @offset properly in reading corrupted block,
so that the @offset remains, and this leads to checksum errors while reading
left blocks queued up in the same bio, and then ends up with hiting the above
BUG_ON.
Reported-by: Chris Murphy <lists@colorremedies.com >
Signed-off-by: Liu Bo <bo.li.liu@oracle.com >
Signed-off-by: Chris Mason <clm@fb.com >
2014-08-21 07:55:30 -07:00
..
2014-06-13 09:52:24 -07:00
2014-06-09 17:20:42 -07:00
2014-04-07 10:41:52 -07:00
2014-03-20 17:15:28 -07:00
2014-08-15 07:43:19 -07:00
2014-06-09 17:21:17 -07:00
2014-08-15 07:43:42 -07:00
2014-06-09 17:20:21 -07:00
2013-11-24 16:33:41 -07:00
2014-06-28 13:48:46 -07:00
2013-05-06 15:55:23 -04:00
2014-08-15 07:43:11 -07:00
2014-08-15 07:43:11 -07:00
2014-06-09 17:21:08 -07:00
2014-01-28 13:20:09 -08:00
2014-06-09 17:20:48 -07:00
2014-06-09 17:20:48 -07:00
2014-06-28 13:48:44 -07:00
2012-12-12 17:15:41 -05:00
2014-01-28 13:20:05 -08:00
2014-08-19 08:52:18 -07:00
2014-06-09 17:20:49 -07:00
2013-11-11 22:03:19 -05:00
2008-09-25 11:04:06 -04:00
2014-08-21 07:55:30 -07:00
2014-06-19 14:20:28 -07:00
2014-06-19 14:20:55 -07:00
2014-06-19 14:20:55 -07:00
2014-08-19 08:52:19 -07:00
2014-08-15 07:43:40 -07:00
2014-08-21 07:55:27 -07:00
2014-06-19 14:20:54 -07:00
2013-11-11 21:51:33 -05:00
2014-01-28 13:20:31 -08:00
2014-01-28 13:20:31 -08:00
2014-01-28 13:19:39 -08:00
2014-06-09 17:20:53 -07:00
2011-04-25 16:46:11 +08:00
2014-08-21 07:55:27 -07:00
2014-08-21 07:55:26 -07:00
2014-01-28 13:20:31 -08:00
2014-06-19 14:19:55 -07:00
2013-03-14 14:57:10 -04:00
2014-06-09 17:20:21 -07:00
2014-06-09 17:20:49 -07:00
2012-12-11 13:31:30 -05:00
2014-08-15 07:43:42 -07:00
2014-08-15 07:43:42 -07:00
2014-01-28 13:19:37 -08:00
2014-07-03 07:04:16 -07:00
2013-05-06 15:55:23 -04:00
2014-01-28 13:20:24 -08:00
2014-01-28 13:20:24 -08:00
2014-08-21 07:55:29 -07:00
2014-08-15 07:43:14 -07:00
2014-06-28 13:48:45 -07:00
2013-02-01 14:24:23 -05:00
2012-06-14 21:29:16 -04:00
2014-06-13 09:52:21 -07:00
2014-06-09 17:20:53 -07:00
2014-06-09 17:20:40 -07:00
2014-08-19 08:52:17 -07:00
2014-06-09 17:21:00 -07:00
2013-05-06 15:55:23 -04:00
2012-07-23 16:28:06 -04:00
2014-08-15 07:43:10 -07:00
2014-08-21 07:55:20 -07:00
2014-06-28 13:48:43 -07:00
2014-08-15 07:43:42 -07:00
2014-08-15 07:43:42 -07:00
2014-06-09 17:20:40 -07:00
2014-08-21 07:55:24 -07:00
2014-06-09 17:20:45 -07:00
2014-01-29 07:06:27 -08:00
2014-08-15 07:43:19 -07:00
2014-01-28 13:20:05 -08:00
2014-08-19 08:52:18 -07:00
2014-06-19 14:20:56 -07:00
2014-01-30 20:08:20 -08:00
2014-01-25 23:58:18 -05:00
2014-07-03 07:04:13 -07:00