Received: by 2002:a05:6358:4e97:b0:b3:742d:4702 with SMTP id ce23csp3029379rwb; Mon, 15 Aug 2022 16:28:12 -0700 (PDT) X-Google-Smtp-Source: AA6agR6aFnkd3FHqwOIcfhbyxwNuABTRj4F/M3okeSvSxnXioW6YHDJSBHRid/pnuIzOGa5aV+8b X-Received: by 2002:a17:906:93f0:b0:730:6d25:8a1e with SMTP id yl16-20020a17090693f000b007306d258a1emr11645659ejb.431.1660605975010; Mon, 15 Aug 2022 16:26:15 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1660605975; cv=none; d=google.com; s=arc-20160816; b=nPMfXOrp7hWFA+6pFyqJd2Jnms0sRYH+yajX7kDz+3nR99fTmNO1mskO3TJ9l3fphj 8M1xGHE2OILn5aNxiRubj2djcsqnQ5aaYwh2rVHVsDA9FRLSUyJz/6QrENo58Hy0mC8K mL5TI3oRkR1wgFq9q0IIFA9g8mdhbcm5aciO/vLSj/WI2Jv9FrZ9BQ0L0lyctC15V8eo 7AxBw6RB8Dpy2zYix9MGXVv80bm3y4T6WUX2Y7VwyiRAyLi7G0Ewzbq4UCgjJoOxVGKu /9V57aur+idgkNHOe3Akp/1qicwW+7hwq3mFsJbyaqhIvEE8sCXNCl7G+TfS1ZpCMV/o jcmA== 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=jMUmRIuRqFugOn3b2/VSRMZTbDzdqbkiHCiVd1DIJUaNKhufqQYbt24sjigFanm4Hp 6y29J8oqxMkuwOa7xTTo7QQLi/+P7tnU9AT883G53qAuD7isSopLeFbUhPGoC2/CH17s s9c8TpO84shUqq4etPlQOSfiytSnWVxE3xvWw/HIhAPAbyh9ERV4RmOgKCkHNbV9/Ef0 LfODBhjeXRzl5QXiVrOq2ZeitwiTbG3z3gZSRdDCQ0SGVvK33KK05ucATHW/F7jxt40b PBj2LDCeccOiwy1sE9inaEvMGAlBBvYIbKye6NgeZgHuiQ8I0gmGmQfkOL9qKnDI3dwc k6Dw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b="K/tXCsvA"; 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 sd31-20020a1709076e1f00b0073075197e3bsi9803209ejc.755.2022.08.15.16.25.49; Mon, 15 Aug 2022 16:26:15 -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="K/tXCsvA"; 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 S1352512AbiHOXIo (ORCPT + 99 others); Mon, 15 Aug 2022 19:08:44 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:33962 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1353036AbiHOXG7 (ORCPT ); Mon, 15 Aug 2022 19:06:59 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [139.178.84.217]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id DCFBA86715; Mon, 15 Aug 2022 12:59:05 -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 293C961295; Mon, 15 Aug 2022 19:59:05 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 1B284C433C1; Mon, 15 Aug 2022 19:59:03 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1660593544; bh=9xf/wJIL8Fjz7AVda5uQ/KOzGGQUM6Oll1SGbX8WFT0=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=K/tXCsvAzMVV/d8NkfeHdRnBkVIG8EnnE56qffzsSAaoaIQS8kd8yZu+4YXScsfzX uxLHZmy4uwVuH5eEmw7o2D7g2dJJ+uQWgmTcBzWISrShdB15qT4VDAKrw8HgQaP+ug 5aR08jrJ0St4WWvuuKRSwnR/vg6DJkzYl4hcjd5E= 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.18 0965/1095] scsi: qla2xxx: Fix excessive I/O error messages by default Date: Mon, 15 Aug 2022 20:06:04 +0200 Message-Id: <20220815180508.991562714@linuxfoundation.org> X-Mailer: git-send-email 2.37.2 In-Reply-To: <20220815180429.240518113@linuxfoundation.org> References: <20220815180429.240518113@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,