summaryrefslogtreecommitdiffstats
path: root/src/common/buffer.cc
diff options
context:
space:
mode:
authorRadoslaw Zarzynski <rzarzyns@redhat.com>2020-08-19 16:40:40 +0200
committerRadoslaw Zarzynski <rzarzyns@redhat.com>2020-08-21 18:55:58 +0200
commit774676f2326abbaa0b5192aa8e69cc0cc24b2e8b (patch)
tree57ab22ca33cd215965b85ce298b515121e00c9a4 /src/common/buffer.cc
parentos/bluestore: use bl::splice() instead of bl::claim_append_piecewise(). (diff)
downloadceph-774676f2326abbaa0b5192aa8e69cc0cc24b2e8b.tar.xz
ceph-774676f2326abbaa0b5192aa8e69cc0cc24b2e8b.zip
common/bl: drop claim_append_piecewise() from bufferlist.
Signed-off-by: Radoslaw Zarzynski <rzarzyns@redhat.com>
Diffstat (limited to 'src/common/buffer.cc')
-rw-r--r--src/common/buffer.cc9
1 files changed, 0 insertions, 9 deletions
diff --git a/src/common/buffer.cc b/src/common/buffer.cc
index efd49b5b671..8fce28ba31c 100644
--- a/src/common/buffer.cc
+++ b/src/common/buffer.cc
@@ -1286,15 +1286,6 @@ static ceph::spinlock debug_lock;
bl.clear();
}
- void buffer::list::claim_append_piecewise(list& bl)
- {
- // steal the other guy's buffers
- for (const auto& node : bl.buffers()) {
- append(node, 0, node.length());
- }
- bl.clear();
- }
-
void buffer::list::append(char c)
{
// put what we can into the existing append_buffer.