]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
osd, osdc: drop the unused outdata feature of PGLSFilter. 29675/head
authorRadoslaw Zarzynski <rzarzyns@redhat.com>
Sat, 10 Aug 2019 08:38:20 +0000 (10:38 +0200)
committerKefu Chai <kchai@redhat.com>
Thu, 15 Aug 2019 02:47:48 +0000 (10:47 +0800)
commitf74318e5c6fd348f3c8938b3f52f40e3475fbbb1
tree4fbc4dfa31183de7db6b9a8e184a5f726d2e4141
parent778409caed30664fad7713b3302306fd9a9fdf6b
osd, osdc: drop the unused outdata feature of PGLSFilter.

Before this commit PGLSFilter interface was offering the outdata
parameter in its filter() method:

  filter(..., bufferlist& outdata)

OSD was serializing and appending the bufferlist to response to
CEPH_OSD_OP_PGLS_FILTER and CEPH_OSD_OP_PGNLS_FILTER operations.
At the Objecter's side these extra bits were being parsed and
finally stored in NListContext::extra_info. However, it really
looks this member is not used anywhere.

The commit removes the outdata handling on multiple layers: from
PGLSFilter implementations, through OSD till Objecter.

Signed-off-by: Radoslaw Zarzynski <rzarzyns@redhat.com>
src/cls/cephfs/cls_cephfs.cc
src/cls/hello/cls_hello.cc
src/objclass/objclass.h
src/osd/PrimaryLogPG.cc
src/osd/PrimaryLogPG.h
src/osdc/Objecter.cc
src/osdc/Objecter.h