mirror of
https://github.com/ceph/ceph
synced 2024-12-21 19:02:10 +00:00
Merge branch 'wip-8100'
Reviewed-by: Mark Nelson <mark.nelson@inktank.com>
This commit is contained in:
commit
a3d759ebdd
@ -584,7 +584,7 @@ int ObjBencher::seq_read_bench(int seconds_to_run, int num_objects, int concurre
|
||||
completion_wait(slot);
|
||||
lock.Lock();
|
||||
r = completion_ret(slot);
|
||||
if (r != 0) {
|
||||
if (r < 0) {
|
||||
cerr << "read got " << r << std::endl;
|
||||
lock.Unlock();
|
||||
goto ERR;
|
||||
@ -627,7 +627,7 @@ int ObjBencher::seq_read_bench(int seconds_to_run, int num_objects, int concurre
|
||||
completion_wait(slot);
|
||||
lock.Lock();
|
||||
r = completion_ret(slot);
|
||||
if (r != 0) {
|
||||
if (r < 0) {
|
||||
cerr << "read got " << r << std::endl;
|
||||
lock.Unlock();
|
||||
goto ERR;
|
||||
@ -771,7 +771,7 @@ int ObjBencher::rand_read_bench(int seconds_to_run, int num_objects, int concurr
|
||||
completion_wait(slot);
|
||||
lock.Lock();
|
||||
r = completion_ret(slot);
|
||||
if (r != 0) {
|
||||
if (r < 0) {
|
||||
cerr << "read got " << r << std::endl;
|
||||
lock.Unlock();
|
||||
goto ERR;
|
||||
@ -814,7 +814,7 @@ int ObjBencher::rand_read_bench(int seconds_to_run, int num_objects, int concurr
|
||||
completion_wait(slot);
|
||||
lock.Lock();
|
||||
r = completion_ret(slot);
|
||||
if (r != 0) {
|
||||
if (r < 0) {
|
||||
cerr << "read got " << r << std::endl;
|
||||
lock.Unlock();
|
||||
goto ERR;
|
||||
|
Loading…
Reference in New Issue
Block a user