| 448 | const ceph::buffer::list& get_middle() const { return middle; } |
| 449 | |
| 450 | void set_data(const ceph::buffer::list &bl) { |
| 451 | if (byte_throttler) |
| 452 | byte_throttler->put(data.length()); |
| 453 | data.share(bl); |
| 454 | if (byte_throttler) |
| 455 | byte_throttler->take(data.length()); |
| 456 | } |
| 457 | |
| 458 | const ceph::buffer::list& get_data() const { return data; } |
| 459 | ceph::buffer::list& get_data() { return data; } |