MCPcopy Create free account
hub / github.com/ceph/ceph / test_write_error1

Function test_write_error1

src/osd/ECInject.cc:331–338  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

329 }
330
331 bool test_write_error1(const ghobject_t& o) {
332 bool rc = test_error(o, &write_failures1);
333 if (rc) {
334 // Set up error inject to generate OSD down
335 write_error(o, 2, 0, 1);
336 }
337 return rc;
338 }
339
340 bool test_write_error2(const hobject_t& o) {
341 return test_error(

Callers 2

try_reads_to_commitMethod · 0.85
cache_readyMethod · 0.85

Calls 2

test_errorFunction · 0.85
write_errorFunction · 0.85

Tested by

no test coverage detected