MCPcopy Create free account
hub / github.com/ceph/ceph / contiguous_appender

Method contiguous_appender

src/include/buffer.h:761–766  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

759 size_t out_of_band_offset = 0;
760
761 contiguous_appender(bufferlist& bl, size_t len, bool d)
762 : bl(bl),
763 space(bl.obtain_contiguous_space(len)),
764 pos(space.bp_data),
765 deep(d) {
766 }
767
768 void flush_and_continue() {
769 const size_t l = pos - space.bp_data;

Callers

nothing calls this directly

Calls 1

Tested by

no test coverage detected