Fix listings sending too many parallel requests to OSDs, fix rm-data crashing with --wait-list
This commit is contained in:
+2
-1
@@ -64,8 +64,9 @@ struct rm_inode_t
|
||||
}
|
||||
rm->obj_pos = rm->objects.begin();
|
||||
lists.push_back(rm);
|
||||
if (parent->list_first)
|
||||
if (parent->list_first && !(status & INODE_LIST_DONE))
|
||||
{
|
||||
// The listing object is dead when DONE => don't call next()
|
||||
parent->cli->list_inode_next(lister, 1);
|
||||
}
|
||||
if (status & INODE_LIST_DONE)
|
||||
|
||||
Reference in New Issue
Block a user