Received: by 2002:a25:8b91:0:0:0:0:0 with SMTP id j17csp1039392ybl; Wed, 4 Dec 2019 15:41:43 -0800 (PST) X-Google-Smtp-Source: APXvYqypLtyfGXga6GDi4NZV2zu8wIE+cZwbT1eX0gLACXvPkZIoqZWQACYMjrwVDlfAqbTY6qf0 X-Received: by 2002:aca:3846:: with SMTP id f67mr4795162oia.61.1575502903784; Wed, 04 Dec 2019 15:41:43 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1575502903; cv=none; d=google.com; s=arc-20160816; b=0WIk/MtppgGwASr77r6vdvAAoNkbLAzvoDVRYHzM6zVq1jrvEwq4MNs6xCfJZidY4l EyQae6aBMw+/TZKp0lk8yYP+rXZwJ9tVl2xYbWqsKhzVIQFMvgQFJ5VqVeRtpsbask4R bfcrcG8Y/F2bhi7SEXCj+ZB9u/jVN29sOjrdmyjLprx8nnn1BrdRFu6OjO+dgYXM4SV6 ylwaAxzDwWGaAP9uMikmRI9J3r96OvXBHxUdNMFri9kdKLrQDyt7VFj2SiOCvUn6JH5c CvEHG1ElfRrzkYOdz3+UUMZMjQxhM2kp7RcNSzDqkccTdm2r9Xv/nule69MVnbG0qPle JxXg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date; bh=Gldh2wBCEwOjrf7vNUe6hlZ5F9VUDwFlZR9+yb+8QP0=; b=u1D8tlqTFXh0/ILk8ktqywZmqxzTeUecci0FO3MVoZPe2Aujuxg0YqPayP+oT9e80I xh1K6d3yRhAVfLOC+6X7VGwqCeJlN7pTxju45Ojvv41KZpuePU0CBtjajfIPeIs4wUFN BZ+mK3DLLLrZ0L+EifEZDgDUZflYzQUhp5WSTY7Zn9AEfTR2lSlo2CK0wLgeT7cnwzGA kKHxCV3B7YKEIN37AaCcUoF/udLGdt5OFA40fAHmoDRjyNUEzICH+VL4rxFoydrLwks9 EtVCrve3FKmCet7tTgRSPPTcHAoiRwL63Eqp9BVml/GXisvAXA8gts8oqkvi8oBsKTzm a/tg== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-ext4-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-ext4-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id u3si1760533oif.167.2019.12.04.15.41.21; Wed, 04 Dec 2019 15:41:43 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-ext4-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-ext4-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-ext4-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728053AbfLDXlS (ORCPT + 99 others); Wed, 4 Dec 2019 18:41:18 -0500 Received: from outgoing-auth-1.mit.edu ([18.9.28.11]:52555 "EHLO outgoing.mit.edu" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1728011AbfLDXlS (ORCPT ); Wed, 4 Dec 2019 18:41:18 -0500 Received: from callcc.thunk.org (guestnat-104-133-0-111.corp.google.com [104.133.0.111] (may be forged)) (authenticated bits=0) (User authenticated as tytso@ATHENA.MIT.EDU) by outgoing.mit.edu (8.14.7/8.12.4) with ESMTP id xB4Nf7k9030083 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Wed, 4 Dec 2019 18:41:08 -0500 Received: by callcc.thunk.org (Postfix, from userid 15806) id E0197421A48; Wed, 4 Dec 2019 18:41:06 -0500 (EST) Date: Wed, 4 Dec 2019 18:41:06 -0500 From: "Theodore Y. Ts'o" To: Andreas Dilger Cc: Daniel Phillips , linux-ext4@vger.kernel.org, linux-kernel@vger.kernel.org, linux-fsdevel@vger.kernel.org, OGAWA Hirofumi Subject: Re: [RFC] Thing 1: Shardmap fox Ext4 Message-ID: <20191204234106.GC5641@mit.edu> References: <176a1773-f5ea-e686-ec7b-5f0a46c6f731@phunq.net> <20191127142508.GB5143@mit.edu> <20191128022817.GE22921@mit.edu> <3b5f28e5-2b88-47bb-1b32-5c2fed989f0b@phunq.net> <20191130175046.GA6655@mit.edu> <76ddbdba-55ba-3426-2e29-0fa17db9b6d8@phunq.net> <23F33101-065E-445A-AE5C-D05E35E2B78B@dilger.ca> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <23F33101-065E-445A-AE5C-D05E35E2B78B@dilger.ca> User-Agent: Mutt/1.12.2 (2019-09-21) Sender: linux-ext4-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-ext4@vger.kernel.org On Wed, Dec 04, 2019 at 11:31:50AM -0700, Andreas Dilger wrote: > One important use case that we have for Lustre that is not yet in the > upstream ext4[*] is the ability to do parallel directory operations. > This means we can create, lookup, and/or unlink entries in the same > directory concurrently, to increase parallelism for large directories. > > > [*] we've tried to submit the pdirops patch a couple of times, but the > main blocker is that the VFS has a single directory mutex and couldn't > use the added functionality without significant VFS changes. > Patch at https://git.whamcloud.com/?p=fs/lustre-release.git;f=ldiskfs/kernel_patches/patches/rhel8/ext4-pdirop.patch;hb=HEAD > The XFS folks recently added support for parallel directory operations into the VFS, for the benefit of XFS has this feature. So it should be possible adjust the patch so it will work with the upstream kernel now. Cheers, - Ted