Home
last modified time | relevance | path

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

/linux-2.6.39/drivers/md/
Draid10.c1420 unsigned int read_errors = atomic_read(&rdev->read_errors); in check_decay_read_errors() local
1441 if (hours_since_last >= 8 * sizeof(read_errors)) in check_decay_read_errors()
1442 atomic_set(&rdev->read_errors, 0); in check_decay_read_errors()
1444 atomic_set(&rdev->read_errors, read_errors >> hours_since_last); in check_decay_read_errors()
1479 atomic_inc(&rdev->read_errors); in fix_read_error()
1480 cur_read_error_count = atomic_read(&rdev->read_errors); in fix_read_error()
Dmd.h100 atomic_t read_errors; /* number of consecutive read errors that member
Draid5.c1599 if (atomic_read(&conf->disks[i].rdev->read_errors)) in raid5_end_read_request()
1600 atomic_set(&conf->disks[i].rdev->read_errors, 0); in raid5_end_read_request()
1607 atomic_inc(&rdev->read_errors); in raid5_end_read_request()
1625 else if (atomic_read(&rdev->read_errors) in raid5_end_read_request()
Dmd.c2782 atomic_set(&rdev->read_errors, 0); in md_rdev_init()