rele();
} /* RGWLibFS::close */
+ inline std::ostream& operator<<(std::ostream &os, fh_key const &fhk) {
+ os << "<fh_key: bucket=";
+ os << fhk.fh_hk.bucket;
+ os << "; object=";
+ os << fhk.fh_hk.object;
+ os << ">";
+ return os;
+ }
+
inline std::ostream& operator<<(std::ostream &os, struct timespec const &ts) {
os << "<timespec: tv_sec=";
os << ts.tv_sec;
}
DECODE_FINISH(bl);
}
+
+ friend std::ostream& operator<<(std::ostream &os, fh_key const &fhk);
+
}; /* fh_key */
WRITE_CLASS_ENCODER(fh_key);
std::string obj_name{name};
std::string key_name{parent->make_key_name(name)};
+ fh_key fhk = parent->make_fhk(obj_name);
lsubdout(get_context(), rgw, 10)
<< __func__ << " lookup called on "
<< parent->object_name() << " for " << key_name
<< " (" << obj_name << ")"
+ << " -> " << fhk
<< dendl;
- fh_key fhk = parent->make_fhk(obj_name);
-
retry:
RGWFileHandle* fh =
fh_cache.find_latch(fhk.fh_hk.object /* partition selector*/,