]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
src/test/osd/TestRados: add a comment 20096/head
authormyoungwon oh <omwmw@sk.com>
Fri, 26 Jan 2018 14:59:16 +0000 (23:59 +0900)
committermyoungwon oh <omwmw@sk.com>
Fri, 26 Jan 2018 14:59:16 +0000 (23:59 +0900)
Signed-off-by: Myoungwon Oh <omwmw@sk.com>
src/test/osd/TestRados.cc

index 9a4cfedb6e491b8e6d1940bf55839a790dfa5005..d036874ed411e104552f74109011ccc9e566ca29 100644 (file)
@@ -571,6 +571,10 @@ int main(int argc, char **argv)
     } else if (strcmp(argv[i], "--set_chunk") == 0) {
       set_chunk = true;
     } else if (strcmp(argv[i], "--low_tier_pool") == 0) {
+      /*
+       * disallow redirect or chunk object into the same pool
+       * to prevent the race. see https://github.com/ceph/ceph/pull/20096
+       */
       low_tier_pool_name = argv[++i];
     } else {
       cerr << "unknown arg " << argv[i] << std::endl;