virtual void snap_trimmer(epoch_t epoch_queued) = 0;
virtual void do_command(
- const std::string_view& prefix,
+ std::string_view prefix,
const cmdmap_t& cmdmap,
const ceph::buffer::list& idata,
std::function<void(int,const std::string&,ceph::buffer::list&)> on_finish) = 0;
// ==========================================================
void PrimaryLogPG::do_command(
- const string_view& orig_prefix,
+ string_view orig_prefix,
const cmdmap_t& cmdmap,
const bufferlist& idata,
std::function<void(int,const std::string&,bufferlist&)> on_finish)
~PrimaryLogPG() override;
void do_command(
- const std::string_view& prefix,
+ std::string_view prefix,
const cmdmap_t& cmdmap,
const ceph::buffer::list& idata,
std::function<void(int,const std::string&,ceph::buffer::list&)> on_finish) override;
└────────────────────────────────┬──────────────────┘
│
│
- │ ownes & uses
+ │ owns & uses
│
│
│
│ PrimaryLogScrub │ │
└─────┬───────────────────┬─────────────────────────┘ │
│ │ implements
- │ ownes & uses │ │
+ │ owns & uses │ │
│ │ ┌─────────────────────────▼──────┐
│ │ │ <<ScrubMachineListener>> │
│ │ └─────────▲──────────────────────┘
// query the PG backend for the on-disk size of an object
virtual uint64_t logical_to_ondisk_size(uint64_t logical_size) const = 0;
- // used to verify our "cleaness" before scrubbing
+ // used to verify our "cleanliness" before scrubbing
virtual bool is_waiting_for_unreadable_object() const = 0;
};