From: myoungwon oh Date: Wed, 3 Mar 2021 06:35:14 +0000 (+0900) Subject: src/test: add comments to explain why EINVAL can be returned on TierEvict() X-Git-Tag: v17.1.0~2307^2~16 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=43eaf7b92823acaabcfb8a79ac297a721638571c;p=ceph.git src/test: add comments to explain why EINVAL can be returned on TierEvict() Signed-off-by: Myoungwon Oh --- diff --git a/src/test/osd/RadosModel.h b/src/test/osd/RadosModel.h index 5b9046fc55b1..6b026c7abed3 100644 --- a/src/test/osd/RadosModel.h +++ b/src/test/osd/RadosModel.h @@ -3004,7 +3004,9 @@ public: if (r == 0) { // ok } else if (r == -EINVAL) { - // probably this is not manifest object + // modifying manifeset object makes existing chunk_map clear + // as a result, the modified object is no longer manifest object + // this casues to return -EINVAL } else if (r == -ENOENT) { // may have raced with a remove? } else {