Whamcloud - gitweb
Branch HEAD
authortianzy <tianzy>
Wed, 4 Nov 2009 07:15:38 +0000 (07:15 +0000)
committertianzy <tianzy>
Wed, 4 Nov 2009 07:15:38 +0000 (07:15 +0000)
don't reveal unnecessary message to users
b=21068
i=rebort
i=yong.fan

lustre/llite/dir.c
lustre/llite/statahead.c

index fbee57a..0032abf 100644 (file)
@@ -338,8 +338,8 @@ struct page *ll_get_dir_page(struct inode *dir, __u64 hash, int exact,
                          * entries with smaller hash values. Stale page should
                          * be invalidated, and new one fetched.
                          */
-                        CWARN("Stale readpage page %p: "LPX64" != "LPX64"\n",
-                              page, hash, start);
+                        CDEBUG(D_OTHER, "Stale readpage page %p: "LPX64" != "LPX64"\n",
+                               page, hash, start);
                         ll_release_page(page, hash, start, end);
                 } else {
                         GOTO(hash_collision, page);
index 0d36a3b..28082be 100644 (file)
@@ -771,7 +771,7 @@ static int ll_statahead_thread(void *arg)
 
                 if (IS_ERR(page)) {
                         rc = PTR_ERR(page);
-                        CERROR("error reading dir "DFID" at "LPU64"/%u: rc %d\n",
+                        CDEBUG(D_READA, "error reading dir "DFID" at "LPU64"/%u: rc %d\n",
                                PFID(ll_inode2fid(dir)), pos,
                                sai->sai_index, rc);
                         break;