Fix listings sending too many parallel requests to OSDs, fix rm-data crashing with --wait-list

This commit is contained in:
Vitaliy Filippov
2022-06-03 23:36:37 +03:00
parent a0cae4c180
commit 4a531d7b8b
2 changed files with 21 additions and 12 deletions
+2 -1
View File
@@ -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)