Received: by 2002:a05:6358:4e97:b0:b3:742d:4702 with SMTP id ce23csp2887195rwb; Mon, 15 Aug 2022 13:20:07 -0700 (PDT) X-Google-Smtp-Source: AA6agR52Ui4X1iiltTAe+9KtsuSHheCFXU5bR2XzsHV0hv/j/kZ/kp5n7OiKiB3BGc5XDT6IM+Cx X-Received: by 2002:a17:906:8a44:b0:730:9d18:17b5 with SMTP id gx4-20020a1709068a4400b007309d1817b5mr11246882ejc.378.1660594698183; Mon, 15 Aug 2022 13:18:18 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1660594698; cv=none; d=google.com; s=arc-20160816; b=D5T9452Ekh/0fEw7svbXct1gsNxGWgeEFS62MH626A3+vnvH2Z8lKxcwZ/ahIaCRKi jw1BqVjVoWwmrVIR7UAqXCZxhis1IyMgOv6ohKx3cyHVjwsPsXtopGBWlsuBuINwytLa /QxZg2YVaKCHlp9m25oZARfgVrd51gBkRWsWC5rK4ULQRyOUZdGMoWci32Xk0K4TPqxm 3BsT6+szi5Fsgc5McVy+UZyMyH+24YKIVFGESYM5RMlqpxFAuyDIQyZpDc9BGLKtQJZj pPKMmw8JYn/tOpfIRDZB8j7IIpg3IwCjHaloQCTmRxjVvhMla/GsJHMLHkETYnhigq2h cNlA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :user-agent:references:in-reply-to:message-id:date:subject:cc:to :from:dkim-signature; bh=NDTNU7FdlsSOsyfDlvMA5Aq3kiO1/yQJROn2jr6cQIg=; b=emNif6jvPAI69J7xvG5xw5RYkMddIBd2L/Bye+tg3xHaO8NvhAoOkKaDVeNGExI2mh XuSPjUqwezOI6HDE8paqjISjbVxlTOiwF0pX23qsZCl/C6+5XObketfJfyT2z1tpyiDu chLRqE3a3ByFfQMDBVqXO+NC1Goz/AQTUXHMLvRmuwoy0iMGIkmg8zT7l2Bm36duzBji UkE1fGbo5iZA7NcWlbw3h6Vd4u73jg/OjTI54n/zRVv2GHrh/goHTwUEE35KCb/5BYwx 8LL4kyvq0lwCCNDZ98LiEVUV73PpbLyle79pmYFHMwX+9NwHagdl+wpCLm0ejC8KAyLd crsQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=rswcGjtO; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id m9-20020a170906720900b0072a7a1bd505si7416090ejk.207.2022.08.15.13.17.51; Mon, 15 Aug 2022 13:18:18 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=rswcGjtO; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1345284AbiHOTqU (ORCPT + 99 others); Mon, 15 Aug 2022 15:46:20 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:43280 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1344510AbiHOTn0 (ORCPT ); Mon, 15 Aug 2022 15:43:26 -0400 Received: from ams.source.kernel.org (ams.source.kernel.org [IPv6:2604:1380:4601:e00::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 458B06B173; Mon, 15 Aug 2022 11:48:21 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ams.source.kernel.org (Postfix) with ESMTPS id 5BA95B81057; Mon, 15 Aug 2022 18:48:19 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 87626C433D6; Mon, 15 Aug 2022 18:48:17 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1660589298; bh=xP/ztu0pUq3CTpZIxN6O309pzYdzPqxQGpCHUkUVZK4=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=rswcGjtObRCu5AaUcdteoFBQbiONL6UhraOHURbewxxoGpuoZD669ZzsPzGUVteF9 FOL3uVEI0NpTxLlGahZqJYLyNLDlIRwhUArHc/NLipXwhK6nUYoVtJD2/S/Li7/Owi P2CBlMWqEt1byWNK18dfm7jOTA19O+0+v60IyHXk= From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, Arun Easi , Nilesh Javali , "Martin K. Petersen" Subject: [PATCH 5.15 675/779] scsi: qla2xxx: Fix excessive I/O error messages by default Date: Mon, 15 Aug 2022 20:05:19 +0200 Message-Id: <20220815180406.199561698@linuxfoundation.org> X-Mailer: git-send-email 2.37.2 In-Reply-To: <20220815180337.130757997@linuxfoundation.org> References: <20220815180337.130757997@linuxfoundation.org> User-Agent: quilt/0.67 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-7.1 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_HI, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Arun Easi commit bff4873c709085e09d0ffae0c25b8e65256e3205 upstream. Disable printing I/O error messages by default. The messages will be printed only when logging was enabled. Link: https://lore.kernel.org/r/20220616053508.27186-2-njavali@marvell.com Fixes: 8e2d81c6b5be ("scsi: qla2xxx: Fix excessive messages during device logout") Cc: stable@vger.kernel.org Signed-off-by: Arun Easi Signed-off-by: Nilesh Javali Signed-off-by: Martin K. Petersen Signed-off-by: Greg Kroah-Hartman --- drivers/scsi/qla2xxx/qla_isr.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) --- a/drivers/scsi/qla2xxx/qla_isr.c +++ b/drivers/scsi/qla2xxx/qla_isr.c @@ -2633,7 +2633,7 @@ static void qla24xx_nvme_iocb_entry(scsi } if (unlikely(logit)) - ql_log(ql_dbg_io, fcport->vha, 0x5060, + ql_dbg(ql_dbg_io, fcport->vha, 0x5060, "NVME-%s ERR Handling - hdl=%x status(%x) tr_len:%x resid=%x ox_id=%x\n", sp->name, sp->handle, comp_status, fd->transferred_length, le32_to_cpu(sts->residual_len), @@ -3491,7 +3491,7 @@ check_scsi_status: out: if (logit) - ql_log(ql_dbg_io, fcport->vha, 0x3022, + ql_dbg(ql_dbg_io, fcport->vha, 0x3022, "FCP command status: 0x%x-0x%x (0x%x) nexus=%ld:%d:%llu portid=%02x%02x%02x oxid=0x%x cdb=%10phN len=0x%x rsp_info=0x%x resid=0x%x fw_resid=0x%x sp=%p cp=%p.\n", comp_status, scsi_status, res, vha->host_no, cp->device->id, cp->device->lun, fcport->d_id.b.domain,