From: Andreas Dilger Date: Thu, 10 Oct 2013 18:19:52 +0000 (-0600) Subject: LU-1095 debug: quiet overly verbose info message X-Git-Tag: 2.5.53~4 X-Git-Url: https://git.whamcloud.com/?p=fs%2Flustre-release.git;a=commitdiff_plain;h=bfa8fe331c67be2b66ba5edb1c71a82f315cd9dc LU-1095 debug: quiet overly verbose info message The client doesn't need to print a message for every client mount that the layout lock feature is enabled. This can be found at runtime via the "import" proc file. I also noticed that deleting OST objects logs into the debug log with D_HA status, which is enabled by default. Move this over to D_INODE so it doesn't fill the OST debug logs. Signed-off-by: Andreas Dilger Change-Id: Ibd7b39fdd36020e62cd40883d1eac5cc7a0885dc Reviewed-on: http://review.whamcloud.com/7918 Tested-by: Jenkins Tested-by: Maloo Reviewed-by: Bob Glossman Reviewed-by: Emoly Liu Reviewed-by: Oleg Drokin --- diff --git a/lustre/llite/llite_lib.c b/lustre/llite/llite_lib.c index 9d9e432..cd6e832 100644 --- a/lustre/llite/llite_lib.c +++ b/lustre/llite/llite_lib.c @@ -379,10 +379,8 @@ static int client_common_fill_super(struct super_block *sb, char *md, char *dt, else sbi->ll_md_brw_size = PAGE_CACHE_SIZE; - if (data->ocd_connect_flags & OBD_CONNECT_LAYOUTLOCK) { - LCONSOLE_INFO("Layout lock feature supported.\n"); + if (data->ocd_connect_flags & OBD_CONNECT_LAYOUTLOCK) sbi->ll_flags |= LL_SBI_LAYOUT_LOCK; - } if (data->ocd_ibits_known & MDS_INODELOCK_XATTR) { if (!(data->ocd_connect_flags & OBD_CONNECT_MAX_EASIZE)) { diff --git a/lustre/ofd/ofd_obd.c b/lustre/ofd/ofd_obd.c index c843e34..61e6baf 100644 --- a/lustre/ofd/ofd_obd.c +++ b/lustre/ofd/ofd_obd.c @@ -1042,7 +1042,7 @@ int ofd_destroy(const struct lu_env *env, struct obd_export *exp, else count = 1; /* default case - single destroy */ - CDEBUG(D_HA, "%s: Destroy object "DOSTID" count %d\n", ofd_name(ofd), + CDEBUG(D_INODE, "%s: Destroy object "DOSTID" count %d\n", ofd_name(ofd), POSTID(&oa->o_oi), count); while (count > 0) { int lrc;