[Devel] [PATCH RHEL7 COMMIT] fs/fuse kio_pcs: replace pr_info() with ktrace for ireq fatal error

Konstantin Khorenko khorenko at virtuozzo.com
Mon Jul 2 13:06:31 MSK 2018


The commit is pushed to "branch-rh7-3.10.0-862.3.2.vz7.61.x-ovz" and will appear at https://src.openvz.org/scm/ovz/vzkernel.git
after rh7-3.10.0-862.3.2.vz7.61.7
------>
commit 2f23d9dd414923b229d025190296e8cec52fe4cf
Author: Pavel Butsykin <pbutsykin at virtuozzo.com>
Date:   Mon Jul 2 13:06:31 2018 +0300

    fs/fuse kio_pcs: replace pr_info() with ktrace for ireq fatal error
    
    These errors may be printed in large numbers during disaster tests. Let's
    replace pr_info() with ktrace to not clutter up dmesg.
    
    https://pmc.acronis.com/browse/VSTOR-11391
    
    Signed-off-by: Pavel Butsykin <pbutsykin at virtuozzo.com>
---
 fs/fuse/kio/pcs/pcs_cluster.c | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/fs/fuse/kio/pcs/pcs_cluster.c b/fs/fuse/kio/pcs/pcs_cluster.c
index de272276fda4..d705dbbd9336 100644
--- a/fs/fuse/kio/pcs/pcs_cluster.c
+++ b/fs/fuse/kio/pcs/pcs_cluster.c
@@ -495,9 +495,9 @@ static void ireq_on_error_(struct pcs_int_request *ireq)
 	case PCS_ERR_IS_DIR:
 	case PCS_ERR_NO_STORAGE:
 	case PCS_ERR_UNAVAIL:
-		pr_info("%s fatal error:%d ireq->type:%d nodeid:%llu",
-			__func__, ireq->error.value, ireq->type,
-			ireq->dentry->inode->nodeid);
+		TRACE("fatal error:%d ireq->type:%d nodeid:%llu\n",
+		      ireq->error.value, ireq->type,
+		      ireq->dentry->inode->nodeid);
 		ireq->flags |= IREQ_F_FATAL;
 		break;
 	case PCS_ERR_LEASE_CONFLICT:


More information about the Devel mailing list