Received: by 2002:a05:6358:4e97:b0:b3:742d:4702 with SMTP id ce23csp3119547rwb; Mon, 15 Aug 2022 18:35:48 -0700 (PDT) X-Google-Smtp-Source: AA6agR5nX7Tq2JCNmDy5wfoO6CMLiBYp5mXzNJeHR/aZN2CCdf9WJQ5RetxQnrt/Va/Fo/EoQeg3 X-Received: by 2002:a17:902:cecc:b0:16f:18a4:2389 with SMTP id d12-20020a170902cecc00b0016f18a42389mr20482213plg.129.1660613747975; Mon, 15 Aug 2022 18:35:47 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1660613747; cv=none; d=google.com; s=arc-20160816; b=rB9bb87WTb2HDiH9IYfjmmy95oRAsodF5i0ZujroKXEwNtaGWSndcEUR6Hsv5r7+zL Yhg4DLRcS7fzN12lmipAmtxVnpa3pRnkE0mo0HtPrfZ+rC+JtfNY5wfDGD/wuq5/Rsjf moDp/qnl/LI+EtidSdIos19KbASfKKBHYIszR8vXYBPvue78cVCCf1mJoSBMXlFKSBZd Kz8sZP1NxcsWb3ywnoBlpzcVOPU1TphTiEvzMukahDmIGQxad7CTEgWLCdTHKPvAzcfj 42ysTCQqKZptvcvT/3FOtnk1NUOsTNckUQpsFilAgogX7dMNksxmgrRjmk137xSmu6ac GSqg== 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=bj11fbpma9/3dKjGNDPzTY/b25FXYtC4fr9AaNVHhnk=; b=GlRiO28GpWwq2u8GcSeFOEUjh2UTl+NrshSb6D12dZ1npwiyy1LflA+PqLMJKjnOMq kMuun71zbErtxaTg3AXYARmSfPCgulFliEqtBPH2ZE7QtIL62R9j7ihzG+UZ9k/bkZ/g v9WNYnJ9xsqQ0+w9C4M9eWebNPrOjYhiK7+OWlAtRkqp8MS8Lq1AbOBEnxw7Y/eBloAj vVmaGxCHBlqj8MAO82XHGq1LByxHzOodkGyd8EfEhExq90qPkoRzxQK31bI+OVLI7AR9 uzmRGPgQwB/wRMo69yBo7IZUD1qv/WDxa3RdNgXMdZ/SMDz+LrEcfHtiGnVhhb20Z8UE XRtQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=DWma6PGT; 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 r83-20020a632b56000000b00419be2b2b2fsi12571262pgr.735.2022.08.15.18.35.35; Mon, 15 Aug 2022 18:35:47 -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=DWma6PGT; 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 S1347646AbiHPAvw (ORCPT + 99 others); Mon, 15 Aug 2022 20:51:52 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:36240 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1349037AbiHPAqa (ORCPT ); Mon, 15 Aug 2022 20:46:30 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [IPv6:2604:1380:4641:c500::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 6B303179E2F; Mon, 15 Aug 2022 13:45:16 -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 dfw.source.kernel.org (Postfix) with ESMTPS id A73A061255; Mon, 15 Aug 2022 20:45:15 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id B0513C433D6; Mon, 15 Aug 2022 20:45:14 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1660596315; bh=9xf/wJIL8Fjz7AVda5uQ/KOzGGQUM6Oll1SGbX8WFT0=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=DWma6PGTeN2k4lnWe18mYUUc8E/FwaEoBP33QqlIAmqbbbOwK9OH9EhYJyAR45aNe 8h2YDdHvn/DkADV2ZLM7W1MJZue/YzLn96yLKFxDFBoM86MhD4ID2f6R7behFdVSJi 0mLgHM1QWreZyxwDEKWNJqhNg7BQx7XSUzN/JlJM= 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.19 1039/1157] scsi: qla2xxx: Fix excessive I/O error messages by default Date: Mon, 15 Aug 2022 20:06:35 +0200 Message-Id: <20220815180521.549662149@linuxfoundation.org> X-Mailer: git-send-email 2.37.2 In-Reply-To: <20220815180439.416659447@linuxfoundation.org> References: <20220815180439.416659447@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 @@ -2637,7 +2637,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), @@ -3495,7 +3495,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,