Received: by 2002:a05:7412:f690:b0:e2:908c:2ebd with SMTP id ej16csp435183rdb; Thu, 19 Oct 2023 08:31:24 -0700 (PDT) X-Google-Smtp-Source: AGHT+IF1yfCVSLzJRMYgiUTdEjXexKzX0VpRMyMZo0iXvkCAxLxJVNGrrWsF4TX2RGcOjLFeD7an X-Received: by 2002:a17:902:c94c:b0:1ca:8e43:765d with SMTP id i12-20020a170902c94c00b001ca8e43765dmr3348766pla.64.1697729484585; Thu, 19 Oct 2023 08:31:24 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1697729484; cv=none; d=google.com; s=arc-20160816; b=0duF6a2UDvuE8KsmukIlclQFzH03CyKmvV0dMToVUgFNOIuwik2Xk/5FPe9aWLWWar ciBo6inArHYytrebRw2eF7HaUztB/bnb5GMyxL+TbJuC+GeEaW3fR7TcedoP+QCSATQi 5HZAvcXQgm1HVudAhBkIKYwB3uhFMene+u0oIYDOPeU+5yrWVHyv+KkGJwEPF1NOwQS3 TjZucWAL3YCSA7VKMZPlIGDhC+u2sYCG4I7aElLuZ9cPOk9+fAO8+46S7ko+/9RVv0xj 0RynZ+DnCwdy16dogl+6Xu3RROcStW4u3MnnzAOnvlcgFFcqXUvpx9AWP7qVTZaiNFmt WjCw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=4FWVeU9IigKcVsNnwc6AFvvF7vK4/01UmH97KV2uxsw=; fh=DzKPI+MAcS6RoCGtAgWT9HJtDHdyl/BfE1mbYD/KZgM=; b=NInslbHD9TCMeUsOuSCkjsVpi9T5UUR8sBfIm4myPYKE74nddXT8HKYDbJmof5IPNu VUJHE0VLRGjdDRQRlR0i55DSBntfbCMkTvGzisH44MtWJ111nYDSUbTOAFGgiujPGlz9 hRTicc0+V8PTHupFWZv0cEaPw8cE4E812UJbdqrddWKpahrJPzruQn95LIa/llh10xWV eujuawKzQNbNC4YjlSVxQosgkfJF/tLnX/AGEAmOPd3M6LQXCrmAXMLWbDHtlbAID7sE zdrIHt+3RVtMIUIDyaJn6nNVusBIEBs8cNiuTBrEL0GMqfyTLCZ5zE4dppZ4u8ZFddqS yUbQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=IVrvJlgO; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:8 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 fry.vger.email (fry.vger.email. [2620:137:e000::3:8]) by mx.google.com with ESMTPS id b7-20020a170902a9c700b001c4660cd474si2231822plr.634.2023.10.19.08.31.23 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 19 Oct 2023 08:31:24 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:8 as permitted sender) client-ip=2620:137:e000::3:8; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=IVrvJlgO; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:8 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 fry.vger.email (Postfix) with ESMTP id 49DCF8061579; Thu, 19 Oct 2023 08:31:10 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at fry.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1345977AbjJSPbA (ORCPT + 99 others); Thu, 19 Oct 2023 11:31:00 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:60560 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1345450AbjJSPa6 (ORCPT ); Thu, 19 Oct 2023 11:30:58 -0400 Received: from mail-lf1-x12b.google.com (mail-lf1-x12b.google.com [IPv6:2a00:1450:4864:20::12b]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 0F86A121; Thu, 19 Oct 2023 08:30:57 -0700 (PDT) Received: by mail-lf1-x12b.google.com with SMTP id 2adb3069b0e04-507962561adso10081935e87.0; Thu, 19 Oct 2023 08:30:56 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1697729454; x=1698334254; darn=vger.kernel.org; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:from:to:cc:subject:date:message-id:reply-to; bh=4FWVeU9IigKcVsNnwc6AFvvF7vK4/01UmH97KV2uxsw=; b=IVrvJlgO2v4myj+dkNpwFhW3vJ3xYsBb6CbrokhO6QOIvNYx8EMmZLd8b/5LRDvIyj au8eC73E7ebWlEekOejUFJhf43DvKxM0fE5H1OiHYyJupmxSSUg07p8gpwQTwxrccfIX wobQlsZXDfL6UE4gv4oye8+y8Ku8KPL1nk6WN10vSnAYjztcK158JZD5ESXKu7+SIELb DW0twGkgVrH+Oni+15BnX7UvO0vo9PIcrKJeLvV7mm1dgSaugzony8pFYcLTv2+8+Efa g7zv/4Kuxmc4pKe8GViNkab7528ZW+KKy7BaC2JtEJi0p7hx+BQoRlORsG+urmADbmAo WpIw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1697729454; x=1698334254; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=4FWVeU9IigKcVsNnwc6AFvvF7vK4/01UmH97KV2uxsw=; b=Lm5wz2jSZHZV8mEUn27tufZ8OBAySIhLQ8KY+DjABURG13jyIMoUHhqbMWEq7HkE1W XKYHB5rlHnkDeRav/hkTUPpUhWPVjvKRFdr8mJi2UZ9x/e/zuy2JnT7Hjpkg+SyS5Uup fzyp3ZVtKSN3hxGRu8VcXQhojyuitUNCsFQiwTx+mvLj8y/FOCPtnUzQh4S6VYxioA4X vGjjzC5ZeN3GD+Oh63uJpfGKPO2BWaP59u0qGUBakHQb6sSaxhifiLFYjZNsCZ51QoVB TcKRW+Sc8gjZNA66cYC1xeWrKBP14d0Doa7Pa/KTaZDNZkNZ6iWKCB1yW2rmz2m0RI/L E68A== X-Gm-Message-State: AOJu0Yy8aNVRvYD3AyI1ByBx1ku0ZykzG48VzPRuN1Dbg4eEzNbaGnqy dVF5Q2StKycoKMzjr3PuDiY= X-Received: by 2002:a19:e007:0:b0:500:adbd:43e9 with SMTP id x7-20020a19e007000000b00500adbd43e9mr1973084lfg.15.1697729453971; Thu, 19 Oct 2023 08:30:53 -0700 (PDT) Received: from f (cst-prg-84-171.cust.vodafone.cz. [46.135.84.171]) by smtp.gmail.com with ESMTPSA id j4-20020a5d4524000000b00317a04131c5sm4753323wra.57.2023.10.19.08.30.52 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 19 Oct 2023 08:30:53 -0700 (PDT) Date: Thu, 19 Oct 2023 17:30:40 +0200 From: Mateusz Guzik To: Christian Brauner Cc: Dave Chinner , linux-kernel@vger.kernel.org, linux-fsdevel@vger.kernel.org, linux-bcachefs@vger.kernel.org, Kent Overstreet , Alexander Viro Subject: Re: (subset) [PATCH 22/32] vfs: inode cache conversion to hash-bl Message-ID: <20231019153040.lj3anuescvdprcq7@f> References: <20230509165657.1735798-1-kent.overstreet@linux.dev> <20230509165657.1735798-23-kent.overstreet@linux.dev> <20230523-zujubeln-heizsysteme-f756eefe663e@brauner> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: <20230523-zujubeln-heizsysteme-f756eefe663e@brauner> 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 fry.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 (fry.vger.email [0.0.0.0]); Thu, 19 Oct 2023 08:31:10 -0700 (PDT) On Tue, May 23, 2023 at 11:28:38AM +0200, Christian Brauner wrote: > On Tue, 09 May 2023 12:56:47 -0400, Kent Overstreet wrote: > > Because scalability of the global inode_hash_lock really, really > > sucks. > > > > 32-way concurrent create on a couple of different filesystems > > before: > > > > - 52.13% 0.04% [kernel] [k] ext4_create > > - 52.09% ext4_create > > - 41.03% __ext4_new_inode > > - 29.92% insert_inode_locked > > - 25.35% _raw_spin_lock > > - do_raw_spin_lock > > - 24.97% __pv_queued_spin_lock_slowpath > > > > [...] > > This is interesting completely independent of bcachefs so we should give > it some testing. > > I updated a few places that had outdated comments. > > --- > > Applied to the vfs.unstable.inode-hash branch of the vfs/vfs.git tree. > Patches in the vfs.unstable.inode-hash branch should appear in linux-next soon. > > Please report any outstanding bugs that were missed during review in a > new review to the original patch series allowing us to drop it. > > It's encouraged to provide Acked-bys and Reviewed-bys even though the > patch has now been applied. If possible patch trailers will be updated. > > tree: https://git.kernel.org/pub/scm/linux/kernel/git/vfs/vfs.git > branch: vfs.unstable.inode-hash > > [22/32] vfs: inode cache conversion to hash-bl > https://git.kernel.org/vfs/vfs/c/e3e92d47e6b1 What, if anything, is blocking this? It is over 5 months now, I don't see it in master nor -next. To be clear there is no urgency as far as I'm concerned, but I did run into something which is primarily bottlenecked by inode hash lock and looks like the above should sort it out. Looks like the patch was simply forgotten. tl;dr can this land in -next please