Lines Matching defs:errors
55 /* IO errors */
58 unsigned int errors;
74 errors = atomic_add_return(1, &dc->io_errors);
75 if (errors < dc->error_limit)
96 unsigned int errors;
102 * successfully do so, we rescale the errors once:
110 errors = atomic_read(&ca->io_errors);
112 old = errors;
113 new = ((uint64_t) errors * 127) / 128;
114 errors = atomic_cmpxchg(&ca->io_errors,
116 } while (old != errors);
122 unsigned int errors = atomic_add_return(1 << IO_ERROR_SHIFT,
124 errors >>= IO_ERROR_SHIFT;
126 if (errors < ca->set->error_limit)
132 "%pg: too many IO errors %s\n",