mirror of
https://github.com/ceph/ceph
synced 2025-01-04 01:52:01 +00:00
mds: refactor const ref return to avoid mem alloc
Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
This commit is contained in:
parent
23ed63e15f
commit
db1c389adb
@ -125,7 +125,7 @@ public:
|
||||
}
|
||||
void decode(bufferlist::const_iterator &p);
|
||||
void set_client_metadata(std::map<std::string, std::string> const &meta);
|
||||
std::string get_human_name() const {return human_name;}
|
||||
const std::string& get_human_name() const {return human_name;}
|
||||
|
||||
// Ephemeral state for tracking progress of capability recalls
|
||||
utime_t recalled_at; // When was I asked to SESSION_RECALL?
|
||||
|
Loading…
Reference in New Issue
Block a user