]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
crimson/osd: consume indata
authorKefu Chai <kchai@redhat.com>
Thu, 6 Aug 2020 17:14:54 +0000 (01:14 +0800)
committerKefu Chai <kchai@redhat.com>
Fri, 7 Aug 2020 11:15:24 +0000 (19:15 +0800)
commit96fba5e6b2ad4efd25c5d1d1208ac485570f6262
tree84c17309f5a657d7c4549afd367b4250a88ee4b9
parent36c45bfbcb2a207f01a60f04a43cd7de9b337ae3
crimson/osd: consume indata

we should chop off the consumed chunk from indata, otherwise the op
consuming data from indata will always read from the beginning of
indata.

Signed-off-by: Kefu Chai <kchai@redhat.com>
src/crimson/osd/pg_backend.cc
src/crimson/osd/pg_backend.h