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

Submitted by Konstantin Khorenko on July 2, 2018, 10:06 a.m.

Details

Message ID 201807021006.w62A6VUR001172@finist_ce7.work
State New
Series "fs/fuse kio_pcs: replace pr_info() with ktrace for ireq fatal error"
Headers show

Commit Message

Konstantin Khorenko July 2, 2018, 10:06 a.m.
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@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@virtuozzo.com>
---
 fs/fuse/kio/pcs/pcs_cluster.c | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

Patch hide | download patch | download mbox

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: