Received: by 2002:a05:7412:37c9:b0:e2:908c:2ebd with SMTP id jz9csp456413rdb; Mon, 18 Sep 2023 23:45:49 -0700 (PDT) X-Google-Smtp-Source: AGHT+IFlYzFTEv6G+d24CXzYWLgwnc1wxVbX8k94YeS9iI0kd6xmx13W5OM8pbWj0mtYFODVQkOg X-Received: by 2002:a05:6a20:4423:b0:153:353e:5e39 with SMTP id ce35-20020a056a20442300b00153353e5e39mr11414694pzb.51.1695105949101; Mon, 18 Sep 2023 23:45:49 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1695105949; cv=none; d=google.com; s=arc-20160816; b=AK9UXc1R9tl3H9a9mZhzQy9dkEJxafKkaU7Q22Ptp25PzOI+ycP6bG2BNgYCp98db9 ZTnYlKGqBXF+ki6EBYvMyb6lIoXUSTAJEZxbzb4W7T0YoamI12h09kTn343J7GaeeYsC gx5dUIzZUEDMVlkydy8/VqYM8m5S7zK9uHxqJFeSgtdw3fwNJiqLlr5jbCnbd/vsC92u uhTEHIC6xOO38iPB91Q5U+72WmdRYAg9RwPc8KmTsEUFfE7rDsw0fAZLQ6wlp8j9jgVL mh9E8GnKwdk8aN8ZSx9/ZiTj9jWF7Gc/Cz1j8K1TfmmxlhkSxjKEhgH7MmtqZ2ETR8aP ENSA== 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=fQPsynM6R2ixtC19ozrB1TNJHFIvPl8x0SLoxOWlNjY=; fh=1tU3hHYFn4YP0I7ZLO2DOY0byggSMMgYBIzRyIUkGr8=; b=omxxy15dnMGUbByDNsq7UcW+qVeFTLHz2b/KWvq/yGGDlOeui0VM76kyv23ec7VY4E U9bnDF1N0z6Z3+AwPNWumktX8EazaDLcihTRwP3GvdXgz8qB3lw0pMWmLsgt4JlgBAk5 yXBlrbQedkwKsc8/XfwxZ1w8vf3yz/+QKNFRMKqlavIxIoUolQ92L425NvnTnALIfrXA nnf38IS6SyGQ+MTomZqtMZRRTvXrNdEwUrU9xtgYjvDKia+khsrSNDJhBoPlQLUWjKlf Fm6uXPZgUIGYdyJZqe4+icFtY1CgZPrhh80WQw9Fn9e9gS/rhJ4vo0t+KTELHduhecaB bNpg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=kNwHngh3; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.31 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. [23.128.96.31]) by mx.google.com with ESMTPS id kb14-20020a170903338e00b001a677821130si8968452plb.13.2023.09.18.23.45.28 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 18 Sep 2023 23:45:49 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.31 as permitted sender) client-ip=23.128.96.31; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=kNwHngh3; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.31 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 BA116809C381; Mon, 18 Sep 2023 20:01:00 -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 S231236AbjISDBA (ORCPT + 99 others); Mon, 18 Sep 2023 23:01:00 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:60410 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231136AbjISDA7 (ORCPT ); Mon, 18 Sep 2023 23:00:59 -0400 Received: from mail-lf1-x12e.google.com (mail-lf1-x12e.google.com [IPv6:2a00:1450:4864:20::12e]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 3B0CC10E; Mon, 18 Sep 2023 20:00:45 -0700 (PDT) Received: by mail-lf1-x12e.google.com with SMTP id 2adb3069b0e04-50300e9e75bso4327362e87.1; Mon, 18 Sep 2023 20:00:45 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1695092443; x=1695697243; 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=fQPsynM6R2ixtC19ozrB1TNJHFIvPl8x0SLoxOWlNjY=; b=kNwHngh38YWGFkLIcLpOVV2+LZTDVMorwdlczm9zsFi/VO01W0WFta+TwfKf8PsWHK hUCv6jgacWw4YIEL/fXUdr7SnGzJQcGW6rmq9A5rykdM+P7yWrMLuDlEkl0hllM6/MM8 iN0GZOW6j4VwWuDTg+BIKeN+5T1g/ueUg66akWMrSpXX6gwq3thrIJyzKYRWCnPbmmBj yCG5BwFthUIkR8IX33Lc3EK2m4/ngq6sl6V1WnBLALSYKZtMbRkdhs0NDaaaXkJbkAxX RfCkBASPhKj09mnCkn69l15b1jRAAy0KINb/a8HMJSrEePQ0VezUlqEtfrfXpgF+s6d8 NZOg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1695092443; x=1695697243; 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=fQPsynM6R2ixtC19ozrB1TNJHFIvPl8x0SLoxOWlNjY=; b=cDbT7WI1gJrWwNtWkRBNHFT2dM7H5B6INwmEyDBFHui2HGqWhcBGnQilyBdaw52mwW LkFcU4p9eZ5mI7grtzXjwZxWxEu0V1X9G3F9NkqMyJsmKQemP9QgPDRxAQhoZOO10ZmO W8iQRvGpzeOa22ptFKba375+PKCKMIwU4T7Jo8ZoVQDXswVy5Ona4YCeOdGtMMb1+GpR KIdo3OxUuYCI/ul5xm9chcHss2noAY3UtKYYc384I2vdxmvGOd535G5uq+0LIrj/gqBv k9PEP9LB2DnTz3QCjalF9FEwpZKas62JBgK40xTkwhLovKFFcxi9Lv5DYFHcn5Tw37wT kK2w== X-Gm-Message-State: AOJu0YwgDTe+vGRQVnCltgc5e/iYBejBLYDT/hers2WgEx5MyEwnCILg 40ptKWIonwteVHjla+l8ydGgRnuJin0uvSTb1Bo= X-Received: by 2002:a05:6512:3055:b0:503:1722:9c5a with SMTP id b21-20020a056512305500b0050317229c5amr4187770lfb.3.1695092443021; Mon, 18 Sep 2023 20:00:43 -0700 (PDT) MIME-Version: 1.0 References: In-Reply-To: From: Steve French Date: Mon, 18 Sep 2023 22:00:31 -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 , Paulo Alcantara , ronnie sahlberg 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:01:00 -0700 (PDT) Paulo and I were discussing the laundromat thread at the SMB3.1.1 test event (at SDC this week) which is now going on - will let you know what we find. One obvious thing is that it probably isn't necessary for cases when the server does not support directory leases, but we noticed another problem as well. 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