From patchwork Mon Mar 8 15:00:48 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Paulo Alcantara X-Patchwork-Id: 12122565 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-15.8 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER, INCLUDES_PATCH,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 9D61FC433E6 for ; Mon, 8 Mar 2021 15:02:06 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 661866521B for ; Mon, 8 Mar 2021 15:02:06 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229848AbhCHPBd (ORCPT ); Mon, 8 Mar 2021 10:01:33 -0500 Received: from mx.cjr.nz ([51.158.111.142]:40560 "EHLO mx.cjr.nz" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231300AbhCHPBM (ORCPT ); Mon, 8 Mar 2021 10:01:12 -0500 Received: from authenticated-user (mx.cjr.nz [51.158.111.142]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-384) server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) (Authenticated sender: pc) by mx.cjr.nz (Postfix) with ESMTPSA id 86FF87FF6B; Mon, 8 Mar 2021 15:01:10 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cjr.nz; s=dkim; t=1615215671; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=5jZKAGoSUnOLPHpOoKP0staMduxdHUABm2IaW54ffEU=; b=Mpe5gSscGNfMfwicOD64VWjdhT4JstIZx7EzLuF5YBWXGDnGRl0jHpiI4zY5XM2oYBcPV9 fmARyZPZXgsvD7ruU6Xx10zVJzj7cJlLtdYtMKwLoi9slktyRb4BCYn8XOWFJ1k4HmcPUh +k6GiCV6DuTg3YQku0asxrEWO1BT0uqxO3EICttfK/jYSxWGHj5RzZTmgFgABMuG8fumkg QuKuLcLTPJsES8gM6DiLXtzowB11d/4W4BAoy6R02DjN70BaHAWAhwTvQaDOqtQ9vPHbFr LZDJZmuyR5AO5KaamMAxCVqE7YKZNek8hmn/WKPY9N1S85EICVXDj+ERdZBPpw== From: Paulo Alcantara To: linux-cifs@vger.kernel.org, smfrench@gmail.com Cc: Paulo Alcantara Subject: [PATCH 2/4] cifs: change noisy error message to FYI Date: Mon, 8 Mar 2021 12:00:48 -0300 Message-Id: <20210308150050.19902-2-pc@cjr.nz> In-Reply-To: <20210308150050.19902-1-pc@cjr.nz> References: <20210308150050.19902-1-pc@cjr.nz> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-cifs@vger.kernel.org A customer has reported that their dmesg were being flooded by CIFS: VFS: \\server Cancelling wait for mid xxx cmd: a CIFS: VFS: \\server Cancelling wait for mid yyy cmd: b CIFS: VFS: \\server Cancelling wait for mid zzz cmd: c because some processes that were performing statfs(2) on the share had been interrupted due to their automount setup when certain users logged in and out. Change it to FYI as they should be mostly informative rather than error messages. Signed-off-by: Paulo Alcantara (SUSE) Reviewed-by: Aurelien Aptel --- fs/cifs/transport.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fs/cifs/transport.c b/fs/cifs/transport.c index 7bb1584b3724..f62f512e2cb1 100644 --- a/fs/cifs/transport.c +++ b/fs/cifs/transport.c @@ -1248,7 +1248,7 @@ compound_send_recv(const unsigned int xid, struct cifs_ses *ses, } if (rc != 0) { for (; i < num_rqst; i++) { - cifs_server_dbg(VFS, "Cancelling wait for mid %llu cmd: %d\n", + cifs_server_dbg(FYI, "Cancelling wait for mid %llu cmd: %d\n", midQ[i]->mid, le16_to_cpu(midQ[i]->command)); send_cancel(server, &rqst[i], midQ[i]); spin_lock(&GlobalMid_Lock);