mirror of
https://github.com/ceph/ceph
synced 2025-02-07 19:03:18 +00:00
Merge pull request #8309 from tchaikov/wip-15240
test/system/rados_list_parallel: print oid if rados_write fails Reviewed-by: Sage Weil <sage@redhat.com>
This commit is contained in:
commit
816c902ee5
@ -93,7 +93,8 @@ run()
|
||||
std::string buf(get_random_buf(256));
|
||||
int ret = rados_write(io_ctx, oid, buf.c_str(), buf.size(), 0);
|
||||
if (ret != 0) {
|
||||
printf("%s: rados_write error %d\n", get_id_str(), ret);
|
||||
printf("%s: rados_write(%s) failed with error: %d\n",
|
||||
get_id_str(), oid, ret);
|
||||
ret_val = ret;
|
||||
goto out;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user