Received: by 2002:a05:7412:37c9:b0:e2:908c:2ebd with SMTP id jz9csp407319rdb; Mon, 18 Sep 2023 21:15:22 -0700 (PDT) X-Google-Smtp-Source: AGHT+IFaVvrasiT7qvKN2h6/VuSZmSguYNrCV/DdEInFVL7+udC1vr7Hu/9AgXiC7uD+i4ppsXBy X-Received: by 2002:a05:6870:2d1:b0:1ba:9a49:d967 with SMTP id r17-20020a05687002d100b001ba9a49d967mr12715919oaf.23.1695096922140; Mon, 18 Sep 2023 21:15:22 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1695096922; cv=none; d=google.com; s=arc-20160816; b=xge/tIMAxcfU07Wdl6qFIPsBT8MZOaqe1QFo1hoEj+Hu9/pU5BWMPBSFcrNN3mpaaO rkC8qBVitL98pTEhUrGErvOCg7X2/tr3zUbM+FqctHjjdign4777ydDFS176TiZQPIWT urYxFFas6keycPCpb/3Ws8db3rhzrwOpNa/OUtfOE5C2aljIJrK93NhD22P86nSonv6O fv2f/bz+9bkPCjsnMo+Fs+A49UsXrQj9mVuxoOLg5Ksa7nwMVCjhsfdfeA0hQ9dYmj1R bOGeNfehXkgrCmCL74Yl/FwN/MX+SKiPgnuxOKjLsAlKuoV7HRrQwODUyL4hMgNBgWL4 SGLA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:cc:to:subject :message-id:date:from:in-reply-to:references:mime-version :dkim-signature; bh=n6jZCjLhiHuYsbpaMoawt7/mepZO3oZhk8mBqHjvEbY=; fh=nnwVrFb+BqRQ9j8mHieJXDKngxzXaxzUwB8UOzsAfFE=; b=mlYwT2fNeQ30GzxwIZgZzF/kgLLyavBq2BRjUYZI8FxNvwFrfDhDROKBIaFst2CZbA LArLoSyYKJfdfFEN2lw9xtaEavDrEvQF936PeU2YOpmtQM5ZgNfaGIPAJApK+udJh7nA K0l9QPiBgILFL2ha5oz7OxWK31W3Qc72k0cg+EnQIJXXFoeyTbgu3LKjQL29+fLBAVkZ APYhyYouCBFem3cMKASYGk+jbVgghVu0U2IWq+j3qTMRK3Cm2ZSfKgU99I9Tt+Ht+NYJ 4LH2tcb/WZn5IL959LwOM/CeWlWRVHtl+cjIcPU/6+M0nvt6yIpRoIMybNAXq61sJaxK 9fFQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b="AZ6HY/O7"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:1 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from morse.vger.email (morse.vger.email. [2620:137:e000::3:1]) by mx.google.com with ESMTPS id nv8-20020a17090b1b4800b002767c32f006si1928674pjb.41.2023.09.18.21.15.02 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 18 Sep 2023 21:15:22 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:1 as permitted sender) client-ip=2620:137:e000::3:1; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b="AZ6HY/O7"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:1 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by morse.vger.email (Postfix) with ESMTP id C0C6380D2931; Mon, 18 Sep 2023 20:02:15 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at morse.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231225AbjISDCN (ORCPT + 99 others); Mon, 18 Sep 2023 23:02:13 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:59048 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231136AbjISDCM (ORCPT ); Mon, 18 Sep 2023 23:02:12 -0400 Received: from mail-lj1-x231.google.com (mail-lj1-x231.google.com [IPv6:2a00:1450:4864:20::231]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id CCEE895; Mon, 18 Sep 2023 20:02:06 -0700 (PDT) Received: by mail-lj1-x231.google.com with SMTP id 38308e7fff4ca-2c012573498so22752251fa.2; Mon, 18 Sep 2023 20:02:06 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1695092525; x=1695697325; darn=vger.kernel.org; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:from:to:cc:subject:date :message-id:reply-to; bh=n6jZCjLhiHuYsbpaMoawt7/mepZO3oZhk8mBqHjvEbY=; b=AZ6HY/O7W2CKml6NAzpGmJeWhpLYdH/FOyiqbbuGsXW8Sr97QOYU3bKQQtpDmPNyJ/ ezVTxWnBXdxg8gtSxKLfWZdrSiMi31fjCY5ZDbWmEZRO+p6e7KaU2XMQPeBszgcOHI3c votMyAAPUxXVUdYQRb58gG1DUWMUh78bM70cT87jeZRFJzs/zwugxz3TB8ZQ0gYE88ng ZLoaCTvL/sIKT3iDQG9dk1H3vX9fogTBaEtnUMilsGK2HpAwgVlvvtuotAZZNvf1vSUg Oq43c9TaF8eodZiLQWrtTLrqYnsa0UQ4eTRj1hJIAZMkXGrgqVGH7MAvmrfZKtlwHrSa aTEw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1695092525; x=1695697325; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=n6jZCjLhiHuYsbpaMoawt7/mepZO3oZhk8mBqHjvEbY=; b=ZMZ0uXfNN3uwvMj+uJHTHgy3Snk1bUSggdDrEa5x3ByLdtu1S+fVApskHQUfAqlQjO 9BqWwtJkJx4L3rGdnv3h4RiAnX9r1sVK6YZBirBf336i2LTa9dyG72U8QMx62ZILpS5v CiWBsrWeiJpPIx3ytGH3YwgGh2Y6ApSpGpI4e3UW1C/W3X15UreSJF2NjxMgcFOlyg5K WVS1ZjEp2RDR8TA4iPNAgINJ8/zRxSREh6VD83WemkA2Qc3/EFBo40oXkYxFftf+QngL 7Qq6SYyoAmmrGTCvV1BWj+RPnR1jopNh7Lry3lPIxYFqiS+NFMMjykeVwFo2A9Z1H52E Ftnw== X-Gm-Message-State: AOJu0YzwpmoTZxWRF/ssfEyYEKvDnttkuFMxu3FVbXohmELmlqlKcCy6 8D4BGBY8Z2Z2rrRzta2oR6iFrLkRF12BbSZxxNw= X-Received: by 2002:a2e:bc14:0:b0:2bf:ee57:f18 with SMTP id b20-20020a2ebc14000000b002bfee570f18mr8822031ljf.16.1695092524723; Mon, 18 Sep 2023 20:02:04 -0700 (PDT) MIME-Version: 1.0 References: In-Reply-To: From: Steve French Date: Mon, 18 Sep 2023 22:01:53 -0500 Message-ID: Subject: Re: Possible bug report: kernel 6.5.0/6.5.1 high load when CIFS share is mounted (cifsd-cfid-laundromat in"D" state) To: Brian Pardy Cc: Bagas Sanjaya , Linux CIFS , Linux Kernel Mailing List , Linux Regressions , Steve French Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Spam-Status: No, score=-0.6 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,FREEMAIL_FORGED_FROMDOMAIN,FREEMAIL_FROM, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SPF_HELO_NONE, SPF_PASS autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on morse.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (morse.vger.email [0.0.0.0]); Mon, 18 Sep 2023 20:02:15 -0700 (PDT) > I'm not clear on the value or necessity of this "laundromat thread" This thread is used to clean up cached directories when directory leases are supported (in those cases directory contents, and information needed for revalidate of directory paths can be cached safely). On Mon, Sep 18, 2023 at 9:20=E2=80=AFPM Brian Pardy = wrote: > > [RS removed from CC due to bounce message] > > On Wed, Sep 6, 2023 at 5:03=E2=80=AFPM Brian Pardy wrote: > > On Tue, Sep 5, 2023 at 9:01=E2=80=AFPM Bagas Sanjaya wrote: > > > Thanks for the regression report. But if you want to get it fixed, > > > you have to do your part: perform bisection. See Documentation/admin-= guide/bug-bisect.rst in the kernel sources for how to do that. > > > > > > Anyway, I'm adding it to regzbot: > > > > > > #regzbot ^introduced: v6.4..v6.5 > > > #regzbot title: incorrect CPU utilization report (multiplied) when mo= unting CIFS > > > > Thank you for directing me to the bug-bisect documentation. Results bel= ow: > > > > # git bisect bad > > d14de8067e3f9653cdef5a094176d00f3260ab20 is the first bad commit > > commit d14de8067e3f9653cdef5a094176d00f3260ab20 > > Author: Ronnie Sahlberg > > Date: Thu Jul 6 12:32:24 2023 +1000 > > > > cifs: Add a laundromat thread for cached directories > > > > and drop cached directories after 30 seconds > > > > Signed-off-by: Ronnie Sahlberg > > Signed-off-by: Steve French > > > > fs/smb/client/cached_dir.c | 67 ++++++++++++++++++++++++++++++++++++++= ++++++++ > > fs/smb/client/cached_dir.h | 1 + > > 2 files changed, 68 insertions(+) > > Is there any further information I can provide to aid in debugging > this issue? Should I just expect incorrect load average reporting when > a CIFS share is mounted on any kernel >6.5.0? > > I'm not clear on the value or necessity of this "laundromat thread" - > everything worked as expected before it was added - shall I just patch > it out of my kernel builds going forward if there is no interest in > fixing it? Is a .config option to disable it possible? --=20 Thanks, Steve