#include "osd/ClassHandler.h"
#include "messages/MOSDOp.h"
+using std::ostream;
+using std::string;
+using std::vector;
+
+using ceph::bufferlist;
+
bool OpInfo::check_rmw(int flag) const {
ceph_assert(rmw_flags != 0);
return rmw_flags & flag;
if (is_promote)
set_promote();
add_class(std::move(cname), std::move(mname), is_read, is_write,
- cls->whitelisted);
+ cls->allowed);
break;
}
ostream& operator<<(ostream& out, const OpInfo::ClassInfo& i)
{
out << "class " << i.class_name << " method " << i.method_name
- << " rd " << i.read << " wr " << i.write << " wl " << i.whitelisted;
+ << " rd " << i.read << " wr " << i.write << " allowed " << i.allowed;
return out;
}