This method is an enabler for CEPH_OSD_OP_SETXATTR.
Signed-off-by: Radoslaw Zarzynski <rzarzyns@redhat.com>
{
return osd_fsid;
}
+
+unsigned CyanStore::get_max_attr_name_length() const
+{
+ // arbitrary limitation exactly like in the case of MemStore.
+ return 256;
+}
}
const std::string& value) final;
int read_meta(const std::string& key, std::string* value) final;
uuid_d get_fsid() const final;
+ unsigned get_max_attr_name_length() const final;
private:
int _remove(const coll_t& cid, const ghobject_t& oid);
const std::string& value) = 0;
virtual int read_meta(const std::string& key, std::string* value) = 0;
virtual uuid_d get_fsid() const = 0;
+ virtual unsigned get_max_attr_name_length() const = 0;
};
}