Whamcloud - gitweb
LU-1095 debug: quiet overly verbose info message 18/7918/3
authorAndreas Dilger <andreas.dilger@intel.com>
Thu, 10 Oct 2013 18:19:52 +0000 (12:19 -0600)
committerOleg Drokin <oleg.drokin@intel.com>
Sat, 28 Dec 2013 03:21:19 +0000 (03:21 +0000)
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 <andreas.dilger@intel.com>
Change-Id: Ibd7b39fdd36020e62cd40883d1eac5cc7a0885dc
Reviewed-on: http://review.whamcloud.com/7918
Tested-by: Jenkins
Tested-by: Maloo <hpdd-maloo@intel.com>
Reviewed-by: Bob Glossman <bob.glossman@intel.com>
Reviewed-by: Emoly Liu <emoly.liu@intel.com>
Reviewed-by: Oleg Drokin <oleg.drokin@intel.com>
lustre/llite/llite_lib.c
lustre/ofd/ofd_obd.c

index 9d9e432..cd6e832 100644 (file)
@@ -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;
 
        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;
                sbi->ll_flags |= LL_SBI_LAYOUT_LOCK;
-       }
 
        if (data->ocd_ibits_known & MDS_INODELOCK_XATTR) {
                if (!(data->ocd_connect_flags & OBD_CONNECT_MAX_EASIZE)) {
 
        if (data->ocd_ibits_known & MDS_INODELOCK_XATTR) {
                if (!(data->ocd_connect_flags & OBD_CONNECT_MAX_EASIZE)) {
index c843e34..61e6baf 100644 (file)
@@ -1042,7 +1042,7 @@ int ofd_destroy(const struct lu_env *env, struct obd_export *exp,
        else
                count = 1; /* default case - single destroy */
 
        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;
               POSTID(&oa->o_oi), count);
        while (count > 0) {
                int lrc;