X-Git-Url: https://git.whamcloud.com/?a=blobdiff_plain;ds=inline;f=lustre%2Fmds%2Fmds_open.c;h=f00cac4f2d314bf32b04783e28912330c7122d01;hb=628ac7d56843566cf7b84e6ff794e6dfd016dee8;hp=963a74dccb13aeae02bad2eaf0f64bbd745c6dcf;hpb=329ec3e6328a9a38776ea63c52a19c85129535c3;p=fs%2Flustre-release.git diff --git a/lustre/mds/mds_open.c b/lustre/mds/mds_open.c index 963a74d..f00cac4 100644 --- a/lustre/mds/mds_open.c +++ b/lustre/mds/mds_open.c @@ -632,6 +632,7 @@ static void reconstruct_open(struct mds_update_record *rec, int offset, if (!(body->valid & OBD_MD_FLEASIZE)) body->valid |= (OBD_MD_FLSIZE | OBD_MD_FLBLOCKS | OBD_MD_FLATIME | OBD_MD_FLMTIME); + DEBUG_REQ(D_ERROR, req, "no capa for "DLID4, OLID4(&body->id1)); } /* If we have -EEXIST as the status, and we were asked to create @@ -788,6 +789,7 @@ static int mds_finish_open(struct ptlrpc_request *req, struct dentry *dchild, .lc_uid = rec->ur_uc.luc_uid, .lc_op = capa_op(rec->ur_flags), .lc_ino = dchild->d_inode->i_ino, + .lc_igen = dchild->d_inode->i_generation, .lc_mdsid = mds->mds_num, }; @@ -1384,7 +1386,6 @@ got_child: } #else /* re-enable test 24n in sanity.sh: it needs LOOKUP lock on open */ -#warning "disable opencache lock for CMD2" #endif /* Step 5: mds_open it */