Details
-
Bug
-
Resolution: Duplicate
-
Minor
-
None
-
None
-
None
-
3
-
13555
Description
in mdd_is_subdir, it keeps using the same attr for all parents lookup,
static int mdd_is_parent(const struct lu_env *env, struct mdd_device *mdd, struct mdd_object *p1, const struct lu_attr *attr, const struct lu_fid *lf, struct lu_fid *pf) { ...... for(;;) { /* this is done recursively, bypass capa for each obj */ mdd_set_capainfo(env, 4, p1, BYPASS_CAPA); rc = mdd_parent_fid(env, p1, attr, pfid); ..... p1 = parent; <----- p1 is changed to its parent, we should retrieve new attr here. } }
Attachments
Issue Links
- is related to
-
LU-11104 rename under striped directory may cause deadlock
- Resolved