]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
crimson/osd: inform in logs that TMAP is not supported 47558/head
authorRadoslaw Zarzynski <rzarzyns@redhat.com>
Thu, 11 Aug 2022 10:53:38 +0000 (10:53 +0000)
committerRadoslaw Zarzynski <rzarzyns@redhat.com>
Thu, 11 Aug 2022 12:10:16 +0000 (12:10 +0000)
Simpler this way than to investigate for `EOPNOTSUPP`.

Signed-off-by: Radoslaw Zarzynski <rzarzyns@redhat.com>
src/crimson/osd/ops_executer.cc

index 706105f091fddd683648298a5fde9ab7bc3600bf..ba2ece77bc507ee56ee3b239b4aeaad4ad1b8a93 100644 (file)
@@ -591,6 +591,7 @@ OpsExecuter::do_execute_op(OSDOp& osd_op)
     // TODO: there was an effort to kill TMAP in ceph-osd. According to
     // @dzafman this isn't possible yet. Maybe it could be accomplished
     // before crimson's readiness and we'd luckily don't need to carry.
+    logger().info("crimson explicitly does not support CEPH_OSD_OP_TMAPUP");
     return dont_do_legacy_op();
 
   // OMAP