]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
crimson/osd: add "ceph tell <pgid> <command>" support 37008/head
authorKefu Chai <kchai@redhat.com>
Sun, 6 Sep 2020 06:53:22 +0000 (14:53 +0800)
committerKefu Chai <kchai@redhat.com>
Sun, 6 Sep 2020 13:49:34 +0000 (21:49 +0800)
commitdfe6dd96c22c3a2b0c9a54441da980f2c0fee9fa
tree5c79c12984e6ada559ed8234eb497a9112c00c2c
parent19167af61f7772aac45e4dcaf3d74308fd210be3
crimson/osd: add "ceph tell <pgid> <command>" support

* add an abstract class of `PGCommand` for `ceph tell <pgid> <command>`
* add two sample implementations for the pg tell commands.
  - "query"
  - "mark_unfound_lost"

Signed-off-by: Kefu Chai <kchai@redhat.com>
src/crimson/CMakeLists.txt
src/crimson/admin/pg_commands.cc [new file with mode: 0644]
src/crimson/admin/pg_commands.h [new file with mode: 0644]
src/crimson/osd/osd.cc