Lines Matching refs:error_type
46 unsigned long error_type;
198 * @error_type: one of the enum's, DM_RAID1_*_ERROR
210 static void fail_mirror(struct mirror *m, enum dm_raid1_error error_type)
224 if (test_and_set_bit(error_type, &m->error_type))
938 ms->mirror[mirror].error_type = 0;
1343 return (test_bit(DM_RAID1_FLUSH_ERROR, &(m->error_type))) ? 'F' :
1344 (test_bit(DM_RAID1_WRITE_ERROR, &(m->error_type))) ? 'D' :
1345 (test_bit(DM_RAID1_SYNC_ERROR, &(m->error_type))) ? 'S' :
1346 (test_bit(DM_RAID1_READ_ERROR, &(m->error_type))) ? 'R' : 'U';