X-Git-Url: https://git.whamcloud.com/?a=blobdiff_plain;f=lustre%2Fosd-ldiskfs%2Fosd_oi.c;h=30fcae2cefdeca3b6be35aaa7034ce3093393229;hb=558784caad;hp=47df02bb76eaaa2f4761ff6aec046b8f27e5422c;hpb=c74c630ff7596317d1b500fd385fca271b31708c;p=fs%2Flustre-release.git diff --git a/lustre/osd-ldiskfs/osd_oi.c b/lustre/osd-ldiskfs/osd_oi.c index 47df02b..30fcae2 100644 --- a/lustre/osd-ldiskfs/osd_oi.c +++ b/lustre/osd-ldiskfs/osd_oi.c @@ -708,6 +708,8 @@ int osd_oi_insert(struct osd_thread_info *info, struct osd_device *osd, struct osd_inode_id *oi_id = &info->oti_id2; int rc = 0; + CDEBUG(D_INODE, "insert OI for "DFID"\n", PFID(fid)); + if (unlikely(fid_is_last_id(fid))) return osd_obj_spec_insert(info, osd, fid, id, th); @@ -810,6 +812,8 @@ int osd_oi_delete(struct osd_thread_info *info, { struct lu_fid *oi_fid = &info->oti_fid2; + CDEBUG(D_INODE, "delete OI for "DFID"\n", PFID(fid)); + /* clear idmap cache */ if (lu_fid_eq(fid, &info->oti_cache.oic_fid)) fid_zero(&info->oti_cache.oic_fid); @@ -833,6 +837,8 @@ int osd_oi_update(struct osd_thread_info *info, struct osd_device *osd, struct osd_inode_id *oi_id = &info->oti_id2; int rc = 0; + CDEBUG(D_INODE, "update OI for "DFID"\n", PFID(fid)); + if (unlikely(fid_is_last_id(fid))) return osd_obj_spec_update(info, osd, fid, id, th);