From 6b1daa840a66703446c238d1efb3f13dd93012ee Mon Sep 17 00:00:00 2001 From: Bobi Jam Date: Fri, 4 May 2012 17:32:59 +0800 Subject: [PATCH] LU-1350 debug: lower debug message level File info read and unlink race is normal, we'd lower the debug message level since a lot of unnecessary unmasked messages will be generated if mdt_object_find() cannot find those deleted objects. Signed-off-by: Bobi Jam Change-Id: I5d6e65ad2c2dabadb371fdc4ffd6d8193f1cd0fb Reviewed-on: http://review.whamcloud.com/2648 Tested-by: Hudson Tested-by: Maloo Reviewed-by: Oleg Drokin --- lustre/mdt/mdt_handler.c | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/lustre/mdt/mdt_handler.c b/lustre/mdt/mdt_handler.c index 68a4312..5a1d6e3 100644 --- a/lustre/mdt/mdt_handler.c +++ b/lustre/mdt/mdt_handler.c @@ -912,16 +912,16 @@ static int mdt_getattr_name_lock(struct mdt_thread_info *info, } mdt_set_disposition(info, ldlm_rep, DISP_LOOKUP_EXECD); - rc = mdt_object_exists(parent); - if (unlikely(rc == 0)) { - LU_OBJECT_DEBUG(D_WARNING, info->mti_env, - &parent->mot_obj.mo_lu, - "Parent doesn't exist!\n"); - RETURN(-ESTALE); - } else if (!info->mti_cross_ref) { - LASSERTF(rc > 0, "Parent "DFID" is on remote server\n", - PFID(mdt_object_fid(parent))); - } + rc = mdt_object_exists(parent); + if (unlikely(rc == 0)) { + LU_OBJECT_DEBUG(D_INODE, info->mti_env, + &parent->mot_obj.mo_lu, + "Parent doesn't exist!\n"); + RETURN(-ESTALE); + } else if (!info->mti_cross_ref) { + LASSERTF(rc > 0, "Parent "DFID" is on remote server\n", + PFID(mdt_object_fid(parent))); + } if (lname) { rc = mdt_raw_lookup(info, parent, lname, ldlm_rep); if (rc != 0) { -- 1.8.3.1