Whamcloud - gitweb
b=21528 move "not all requested locks are canceled" message to dlmtrace
authorWally Wang <wang@cray.com>
Wed, 30 Jun 2010 14:16:43 +0000 (16:16 +0200)
committerJohann Lombardi <johann@sun.com>
Wed, 30 Jun 2010 14:16:43 +0000 (16:16 +0200)
lustre/ldlm/ldlm_resource.c

index b767812..7877282 100644 (file)
@@ -177,7 +177,8 @@ static int lprocfs_wr_lru_size(struct file *file, const char *buffer,
                         canceled = ldlm_cancel_lru(ns, unused, LDLM_SYNC,
                                                    LDLM_CANCEL_PASSED);
                         if (canceled < unused) {
-                                CERROR("not all requested locks are canceled, "
+                                CDEBUG(D_DLMTRACE,
+                                       "not all requested locks are canceled, "
                                        "requested: %d, canceled: %d\n", unused,
                                        canceled);
                                 return -EINVAL;