Home
last modified time | relevance | path

Searched refs:read_errors (Results 1 – 4 of 4) sorted by relevance

/drivers/md/
Draid10.c2212 unsigned int read_errors = atomic_read(&rdev->read_errors); in check_decay_read_errors() local
2232 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()
Dmd.h99 atomic_t read_errors; /* number of consecutive read errors that member
Draid5.c2371 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()
Dmd.c3183 atomic_set(&rdev->read_errors, 0); in md_rdev_init()