]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commitdiff
src/test: add comments to explain why EINVAL can be returned on TierEvict()
authormyoungwon oh <ohmyoungwon@gmail.com>
Wed, 3 Mar 2021 06:35:14 +0000 (15:35 +0900)
committermyoungwon oh <ohmyoungwon@gmail.com>
Mon, 29 Mar 2021 08:20:04 +0000 (17:20 +0900)
Signed-off-by: Myoungwon Oh <myoungwon.oh@samsung.com>
src/test/osd/RadosModel.h

index 5b9046fc55b12ffdbba3dfa9226bbae3e8e8f9bb..6b026c7abed3bf39d3f69262891cd5895284c471 100644 (file)
@@ -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 {