Searched refs:read_errors (Results 1 – 4 of 4) sorted by relevance
2212 unsigned int read_errors = atomic_read(&rdev->read_errors); in check_decay_read_errors() local2232 if (hours_since_last >= 8 * sizeof(read_errors)) in check_decay_read_errors()2233 atomic_set(&rdev->read_errors, 0); in check_decay_read_errors()2235 atomic_set(&rdev->read_errors, read_errors >> hours_since_last); in check_decay_read_errors()2289 atomic_inc(&rdev->read_errors); in fix_read_error()2290 if (atomic_read(&rdev->read_errors) > max_read_errors) { in fix_read_error()2298 atomic_read(&rdev->read_errors), max_read_errors); in fix_read_error()
99 atomic_t read_errors; /* number of consecutive read errors that member
2371 if (atomic_read(&rdev->read_errors)) in raid5_end_read_request()2372 atomic_set(&rdev->read_errors, 0); in raid5_end_read_request()2379 atomic_inc(&rdev->read_errors); in raid5_end_read_request()2407 } else if (atomic_read(&rdev->read_errors) in raid5_end_read_request()
3183 atomic_set(&rdev->read_errors, 0); in md_rdev_init()