mirror of
https://github.com/ceph/ceph
synced 2025-01-26 04:55:30 +00:00
PG: minor style change for append_log and read_info
They exceeded 80 characters on a line! Signed-off-by: Samuel Just <sam.just@inktank.com>
This commit is contained in:
parent
f3bc8dfee1
commit
f4b70c8904
@ -2530,7 +2530,8 @@ void PG::add_log_entry(pg_log_entry_t& e, bufferlist& log_bl)
|
||||
}
|
||||
|
||||
|
||||
void PG::append_log(vector<pg_log_entry_t>& logv, eversion_t trim_to, ObjectStore::Transaction &t)
|
||||
void PG::append_log(
|
||||
vector<pg_log_entry_t>& logv, eversion_t trim_to, ObjectStore::Transaction &t)
|
||||
{
|
||||
dout(10) << "append_log " << log << " " << logv << dendl;
|
||||
|
||||
@ -2643,10 +2644,11 @@ std::string PG::get_corrupt_pg_log_name() const
|
||||
return buf;
|
||||
}
|
||||
|
||||
int PG::read_info(ObjectStore *store, const coll_t coll, bufferlist &bl,
|
||||
pg_info_t &info, map<epoch_t,pg_interval_t> &past_intervals, hobject_t &biginfo_oid,
|
||||
hobject_t &infos_oid, hobject_t &biginfos_oid, interval_set<snapid_t> &snap_collections,
|
||||
__u8 &struct_v)
|
||||
int PG::read_info(
|
||||
ObjectStore *store, const coll_t coll, bufferlist &bl,
|
||||
pg_info_t &info, map<epoch_t,pg_interval_t> &past_intervals,
|
||||
hobject_t &biginfo_oid, hobject_t &infos_oid, hobject_t &biginfos_oid,
|
||||
interval_set<snapid_t> &snap_collections, __u8 &struct_v)
|
||||
{
|
||||
bufferlist::iterator p = bl.begin();
|
||||
bufferlist lbl;
|
||||
|
11
src/osd/PG.h
11
src/osd/PG.h
@ -1780,7 +1780,8 @@ public:
|
||||
void write_if_dirty(ObjectStore::Transaction& t);
|
||||
|
||||
void add_log_entry(pg_log_entry_t& e, bufferlist& log_bl);
|
||||
void append_log(vector<pg_log_entry_t>& logv, eversion_t trim_to, ObjectStore::Transaction &t);
|
||||
void append_log(
|
||||
vector<pg_log_entry_t>& logv, eversion_t trim_to, ObjectStore::Transaction &t);
|
||||
|
||||
static void read_log(ObjectStore *store, coll_t coll, hobject_t log_oid,
|
||||
const pg_info_t &info, OndiskLog &ondisklog, IndexedLog &log,
|
||||
@ -1791,9 +1792,11 @@ public:
|
||||
void trim_peers();
|
||||
|
||||
std::string get_corrupt_pg_log_name() const;
|
||||
static int read_info(ObjectStore *store, const coll_t coll,
|
||||
bufferlist &bl, pg_info_t &info, map<epoch_t,pg_interval_t> &past_intervals, hobject_t &biginfo_oid,
|
||||
hobject_t &infos_oid, hobject_t &biginfos_oid, interval_set<snapid_t> &snap_collections, __u8 &);
|
||||
static int read_info(
|
||||
ObjectStore *store, const coll_t coll,
|
||||
bufferlist &bl, pg_info_t &info, map<epoch_t,pg_interval_t> &past_intervals,
|
||||
hobject_t &biginfo_oid, hobject_t &infos_oid, hobject_t &biginfos_oid,
|
||||
interval_set<snapid_t> &snap_collections, __u8 &);
|
||||
void read_state(ObjectStore *store, bufferlist &bl);
|
||||
static epoch_t peek_map_epoch(ObjectStore *store, coll_t coll,
|
||||
hobject_t &infos_oid, bufferlist *bl);
|
||||
|
Loading…
Reference in New Issue
Block a user