Lines Matching full:bad
8 * correct the read error. To keep track of bad blocks on a per-bio
12 /* When we successfully write to a known bad-block, we need to remove the
13 * bad-block marking which must be done from process context. So we record
224 * raid1_check_read_range() - check a given read range for bad blocks,
232 * 1) If there are no bad blocks in the range, @len is returned;
233 * 2) If the range are all bad blocks, 0 is returned;
234 * 3) If there are partial bad blocks:
235 * - If the bad block range starts after @this_sector, the length of first
237 * - If the bad block range starts before @this_sector, 0 is returned and
247 /* no bad block overlap */ in raid1_check_read_range()
252 * bad block range starts offset into our range so we can return the in raid1_check_read_range()
253 * number of sectors before the bad blocks start. in raid1_check_read_range()
258 /* read range is fully consumed by bad blocks. */ in raid1_check_read_range()
263 * final case, bad block range starts before or at the start of our in raid1_check_read_range()