]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
crimson/admin: no need to check for '\n' 33357/head
authorKefu Chai <kchai@redhat.com>
Sun, 16 Feb 2020 11:05:09 +0000 (19:05 +0800)
committerKefu Chai <kchai@redhat.com>
Sun, 16 Feb 2020 15:59:30 +0000 (23:59 +0800)
commit9d557a97ed667db6aa8e8dbe0703a1a8aee29a12
tree45c6fff988acbaf159b826f9b07a4f532340732a
parent15e31737a52932e657606f917b83a6529051c89f
crimson/admin: no need to check for '\n'

as we don't need to mimic the behavior of classic OSD, what we need to
to fulfill the needs of ceph cli. see `admin_socket()` in
`src/pybind/ceph_daemon.py`, which sends a `\0` to indicate the end of a
command.

Signed-off-by: Kefu Chai <kchai@redhat.com>
src/crimson/admin/admin_socket.cc