This should make the method intent less confusing.
Signed-off-by: Samuel Just <sam.just@inktank.com>
return r;
}
if (g_conf->filestore_debug_inject_read_err) {
- debug_delete_obj(o);
+ debug_obj_on_delete(o);
}
} else {
/* Ensure that replay of this op doesn't result in the object_map
dout(10) << __func__ << ": init error on " << oid << dendl;
mdata_error_set.insert(oid);
}
-void FileStore::debug_delete_obj(const hobject_t &oid) {
+void FileStore::debug_obj_on_delete(const hobject_t &oid) {
Mutex::Locker l(read_error_lock);
dout(10) << __func__ << ": clear error on " << oid << dendl;
data_error_set.erase(oid);
set<hobject_t> mdata_error_set; // getattr(),stat() will return -EIO
void inject_data_error(const hobject_t &oid);
void inject_mdata_error(const hobject_t &oid);
- void debug_delete_obj(const hobject_t &oid);
+ void debug_obj_on_delete(const hobject_t &oid);
bool debug_data_eio(const hobject_t &oid);
bool debug_mdata_eio(const hobject_t &oid);