Received: by 2002:ab2:7a09:0:b0:1f8:46dc:890e with SMTP id k9csp113651lqo; Wed, 15 May 2024 09:05:56 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCVfsiGPzef1AkEY+TOXH21haQyb5aTItYxz2e+gDC/dTi2QKpYWgOvjDuFEaFqBpeHOctF0D7uNxNt2TP6KLiGtJHFjoKsDBz0144F9fg== X-Google-Smtp-Source: AGHT+IGUECjjceSdlChmfcW7vZiF/IRf/DmCrwNBud0g9C+pfdP7OQ79I18MOwdMcSMmN3CXEm78 X-Received: by 2002:a05:620a:ce5:b0:792:b835:19be with SMTP id af79cd13be357-792c75af7abmr1699986585a.43.1715789156184; Wed, 15 May 2024 09:05:56 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1715789156; cv=pass; d=google.com; s=arc-20160816; b=lAthd6dP765BXw3Fv9o3cO0QRueqMR0QC/xqZaDCuKxfL6zvsR3Hf23l9YWwYkaO8m Bmb8sk5Mw9iC5TqM2qjaO+OwIZvQcEnsiJSWZces47PSYsgq2zIpIr7YBE4LaCQSEAM9 AURsH9f32jdqj9g+DXMNdK/F3NO64rrr8XoBNBkcJatSyYTjK6oglUyWRjgHqfe14LV+ F9GNgefC0lLMO7Pb7J8vp7WoNYTs9syx0ldWhegXKn4MqdIJ1nI5/BqXSjzfihmTxG5n 0JmH/WjLoW2R7OLS90pGOIR3d0Jvws/9M4qzrFXgw6yR2Qik7Zw/HB5ucVXsrGt3M4xI t/TA== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:list-unsubscribe:list-subscribe:list-id:precedence :dkim-signature; bh=u2ehF00UkFVYae8eoKheTBkPEUp/ENYAZ+/DySjcSWU=; fh=re72xKeR5LWIO/uHxmiDtQJQzP3LuNWkO3XVeHVtwlw=; b=M2E4M0mk6t3oxbq9yoB30IFI2fvHW1itZqoUm6VoefFZFxlayuoy0JXAjqs6MDqNKg KIZBve9Xsi3r1ArEMerbMs9u1CmVe1JEVo69O6GK946QNMAVyg3z5HuHLQftlWSJaUaQ 2qJ5+eaW/nkNpK/49hlxOBv+TviSjuCl6pN4v9KrZ1124i5/VCXU9raUu2jCyE44vXeO SJ8ZUqxkEm4WncWMpegPtI5iHP+OQlJ7EcrzI2MweyYYpoxIK3209hxx1DyWnwgMAHlX +qnLbldXuyjynQ0VKPJr23+xWMhc6cEHjdTbIt0ehREHk1YFt6cZBAw5YTJ7jIbBLykK DeuA==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@linux-foundation.org header.s=google header.b=IiIT5gZQ; arc=pass (i=1 spf=pass spfdomain=linuxfoundation.org dkim=pass dkdomain=linux-foundation.org); spf=pass (google.com: domain of linux-kernel+bounces-180107-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-180107-linux.lists.archive=gmail.com@vger.kernel.org" Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [2604:1380:45d1:ec00::1]) by mx.google.com with ESMTPS id af79cd13be357-792bf38dce9si1517877685a.779.2024.05.15.09.05.55 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 15 May 2024 09:05:56 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-180107-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) client-ip=2604:1380:45d1:ec00::1; Authentication-Results: mx.google.com; dkim=pass header.i=@linux-foundation.org header.s=google header.b=IiIT5gZQ; arc=pass (i=1 spf=pass spfdomain=linuxfoundation.org dkim=pass dkdomain=linux-foundation.org); spf=pass (google.com: domain of linux-kernel+bounces-180107-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-180107-linux.lists.archive=gmail.com@vger.kernel.org" Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ny.mirrors.kernel.org (Postfix) with ESMTPS id 9AC151C211CC for ; Wed, 15 May 2024 16:05:55 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 8C8D2156256; Wed, 15 May 2024 16:05:46 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linux-foundation.org header.i=@linux-foundation.org header.b="IiIT5gZQ" Received: from mail-ej1-f44.google.com (mail-ej1-f44.google.com [209.85.218.44]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id E853A43144 for ; Wed, 15 May 2024 16:05:43 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.218.44 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1715789145; cv=none; b=AytSZw8Tm251Kg1RNY6E7oLI+WnUzw84XuxbyGlmDo0C+HwUGP/T0fq2U4x9rdxnmaLsx5Jxtd6j4qBQzFpfV3W7Taleo93ul+D3kFtRy/EvLnhZ/OxkCXLd4LfM4c1onlrDelyYqqwv+zD8SjYQeDug2zAVhG0x9M0eBZxA5Pw= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1715789145; c=relaxed/simple; bh=hJHrdHj0cikWqaVWvyi6gHT8PuTbJVo4o4T87OWEoW0=; h=MIME-Version:References:In-Reply-To:From:Date:Message-ID:Subject: To:Cc:Content-Type; b=Ub2PkuMTthvON8iIioFjmVqCx3k2xqfqqt3NbF1YoSYk3IZZT4MZPK8zC78DmcovCaLWPtLZ8K38PNfjuK4J6fsVtjs/WWH8N201FePfwLlr6+1O/Lxj9i/bh0bvFPZuJK6NRI9gpj597c/4j3VezwID7MAq7uRqeIJCIUFxqlA= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=linux-foundation.org; spf=pass smtp.mailfrom=linuxfoundation.org; dkim=pass (1024-bit key) header.d=linux-foundation.org header.i=@linux-foundation.org header.b=IiIT5gZQ; arc=none smtp.client-ip=209.85.218.44 Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=linux-foundation.org Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=linuxfoundation.org Received: by mail-ej1-f44.google.com with SMTP id a640c23a62f3a-a59a609dd3fso256980166b.0 for ; Wed, 15 May 2024 09:05:43 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linux-foundation.org; s=google; t=1715789142; x=1716393942; darn=vger.kernel.org; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=u2ehF00UkFVYae8eoKheTBkPEUp/ENYAZ+/DySjcSWU=; b=IiIT5gZQcqzKMHpc/5W2YcOOu4OfnKolvmspj74yxAWqNITkfbkalSasme1ro4Y04/ XpW7WdYlyE51aHYUmCcNtloejCVXx/NJLDaWYO0Ja/fGofbf0QzrZlCp1xvk52trxioP sDmCwmUj60J2pm5tTtb6kow47ES9pMVF005Lk= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1715789142; x=1716393942; h=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=u2ehF00UkFVYae8eoKheTBkPEUp/ENYAZ+/DySjcSWU=; b=Vo6lKeykpWx1oqqDoYcq78O++KjcYLQYTLluNGQhbrXc2AQbZt3MrACG2z34bRAsiX rvgSaZ83ffeW2XaUKqxXwu36FgMOdzMInQ7ACRxaPFKf6jsVDAuYWQUgWFX/Jy/ae7HG bBZN4rmAUPH7eW67NEDhnFQ2vTDSXjG3emYaJwVSFHRw5J4LFhyfn/j2OOGyhaZBEOc9 gIW4FKPAL5AUepuF7xrH+CGWTKO3Rdftwn7j+XquzhPhw4/Dnp1sTZBVbX/3rEyAfGdK Hp1DhJWC3UaWSamTuOuGLLFvHR03t1ousupqogV5KMBscxEJtKY7HQ8LHYknD/lm5gYR QFHQ== X-Forwarded-Encrypted: i=1; AJvYcCW8wKoCAKWIltiPZUXMrc8NncylhGYQzxlhlLmoCwAbRdYcIdqK2s4V25COoCivBI6qf0VV7nuGNQYcMn2QXdQ6i1rDiHANvZGF/ngg X-Gm-Message-State: AOJu0Yy5+Pv4LgdbFuybSLqReDuY6cqeP4gkvOYf2DOQDAYqwjxYcUzF 5oKDgmu5JbJpWBfDakhKaJejFrlwjZOJasthXxEl9iOH+AD+k52Qj+pMF8sNStSYV9PBJoyZ2qp BBbBXPw== X-Received: by 2002:a17:906:eb07:b0:a5c:dd2c:d95b with SMTP id a640c23a62f3a-a5cdd2cdbafmr64814466b.25.1715789142186; Wed, 15 May 2024 09:05:42 -0700 (PDT) Received: from mail-ej1-f43.google.com (mail-ej1-f43.google.com. [209.85.218.43]) by smtp.gmail.com with ESMTPSA id 4fb4d7f45d1cf-5733bea6557sm9258182a12.13.2024.05.15.09.05.41 for (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Wed, 15 May 2024 09:05:41 -0700 (PDT) Received: by mail-ej1-f43.google.com with SMTP id a640c23a62f3a-a59a352bbd9so261952466b.1 for ; Wed, 15 May 2024 09:05:41 -0700 (PDT) X-Forwarded-Encrypted: i=1; AJvYcCVgCxC1kHtKDdYnk2FVCMaIE3XidhD5TzPxTQSHwZUOH2KhYtV8gi0xuMXIV6vzpbWtv/7Ekex43HtRcfmmk+BaXvYbw8YJh0Tvsd3w X-Received: by 2002:a17:907:25c1:b0:a59:9eee:b1cb with SMTP id a640c23a62f3a-a5a2d30be86mr1715412166b.35.1715789140754; Wed, 15 May 2024 09:05:40 -0700 (PDT) Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 References: <20240515091727.22034-1-laoar.shao@gmail.com> In-Reply-To: <20240515091727.22034-1-laoar.shao@gmail.com> From: Linus Torvalds Date: Wed, 15 May 2024 09:05:24 -0700 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: [PATCH] vfs: Delete the associated dentry when deleting a file To: Yafang Shao , kernel test robot Cc: brauner@kernel.org, jack@suse.cz, linux-fsdevel@vger.kernel.org, longman@redhat.com, viro@zeniv.linux.org.uk, walters@verbum.org, wangkai86@huawei.com, linux-mm@kvack.org, linux-kernel@vger.kernel.org, Matthew Wilcox Content-Type: text/plain; charset="UTF-8" Oliver, is there any chance you could run this through the test robot performance suite? The original full patch at https://lore.kernel.org/all/20240515091727.22034-1-laoar.shao@gmail.com/ and it would be interesting if the test robot could see if the patch makes any difference on any other loads? Thanks, Linus On Wed, 15 May 2024 at 02:17, Yafang Shao wrote: > > Our applications, built on Elasticsearch[0], frequently create and delete > files. These applications operate within containers, some with a memory > limit exceeding 100GB. Over prolonged periods, the accumulation of negative > dentries within these containers can amount to tens of gigabytes. > > Upon container exit, directories are deleted. However, due to the numerous > associated dentries, this process can be time-consuming. Our users have > expressed frustration with this prolonged exit duration, which constitutes > our first issue.