Received: by 2002:a05:7412:a9a2:b0:e2:908c:2ebd with SMTP id o34csp2638383rdh; Mon, 30 Oct 2023 03:26:03 -0700 (PDT) X-Google-Smtp-Source: AGHT+IGGxnN0YZou6DxpOo3M01Ql13JHqMjz8aGUT/1s2Yvrzt1y8s40mQVHZjyEPRlIs5mukKuC X-Received: by 2002:a05:6358:d09b:b0:168:e6dd:25ee with SMTP id jc27-20020a056358d09b00b00168e6dd25eemr9397056rwb.16.1698661562836; Mon, 30 Oct 2023 03:26:02 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1698661562; cv=none; d=google.com; s=arc-20160816; b=dMw1xbVKdlqzhveKj64VN/ez2nzw4wdztiVU8R3a2HkLifivgASR/25FN0BpXMCRcC IPxxchkYRK3A/YFYNBSSS4TMAK5ffC4693F4stiOJLLHN9WqzGDtOoVPyPP3eq2aL0+H MyqsTTpKYmG9ifd+KziFfd6sNwToCN1wdf1I0hJovsNAaoDK+qrWb0d1bQxYRTgMvfWP a7zHDwOx7D1Xh6qqAguoN/ztRByNMlMVfMWyT9Ux35yQdQtkG23K2DiJoKY1Qvr3sSPT hLWPbO2hYL0W3IhVgZcCCH46wWVCyLsfOXTmThs+hI5AFqRYOfb9XshpVM1UA+8RXhQK Z5uA== 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=y0E4dBtW0qiVB76o7mgwtg1rt/bxSTaUAyERl/+Z4lY=; fh=Oc7tnDJX7yYwmUGplAk5/oF7tb5QgQ36oLu+2dQbVAs=; b=NKQHrku6M1NWAF0vmZPQOvAThXt5itYQBWeiRq+FfRGCHFRAX4RZxb+UaN6QO56/GT hEDggFh1nr4XXTrlM/KvQsCU6M6bikKPTOqevGD9rQh8Gl0xMBF9sPNVpfc8L+18eSq8 uTmt72bDdCY4Z5xAm2WT/Yj01lhY/bM9yw6uDxZ7v2kGLA2+FkJgtdOGMmn3foK80/lQ xWS9BUf2SwKJvLo/Xy8EK5/s9bGsx1XeDEzlI+RGilOtqsyf2pTrTYWvbpiRpOwNzdhZ C3sd2/xeaIKeUIRnDwXAp0yg2IYz5RIyDQFwDkZkYeqXSdm0FI+cCMKlIxLcTzbtwBNW w8kg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=vMQoW8NT; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.36 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from pete.vger.email (pete.vger.email. [23.128.96.36]) by mx.google.com with ESMTPS id j184-20020a638bc1000000b005b8f2130354si4745889pge.192.2023.10.30.03.26.02 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 30 Oct 2023 03:26:02 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.36 as permitted sender) client-ip=23.128.96.36; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=vMQoW8NT; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.36 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by pete.vger.email (Postfix) with ESMTP id 1350D80ACC62; Mon, 30 Oct 2023 03:26:00 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at pete.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232637AbjJ3KZg (ORCPT + 99 others); Mon, 30 Oct 2023 06:25:36 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:49360 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232539AbjJ3KZR (ORCPT ); Mon, 30 Oct 2023 06:25:17 -0400 Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 4C2C81996 for ; Mon, 30 Oct 2023 03:25:02 -0700 (PDT) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 32A40C433C9; Mon, 30 Oct 2023 10:24:59 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1698661501; bh=HwZC9pP22kn0OW2U98JRm5leuqIjcFYJqSB6SiV2Igo=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=vMQoW8NTpxWDJGXQJQUyW78lIpBQ7gAE0+SzCObomFGyGRsggebsZMp8JkGKRtTbT 2Wb++X6JGoGFycht3sxazi53zoDfSN8j8yNlrIYVhS2+jCaBQdmkNKxucl0/Xz5Ija g+W4kzcozgxzag64nxmFIhoO0NeOCQkjmxII85cj1u3wIzZwA3nWHccuAMMqaKCAxc 5FLDoX0vi15Ot4EjT5fwFAaR1uuGNsIdjxKHbqfP3TYftwgEOgC4LIj/xf3L65z9aN MbyzOSwJl9cfXPKSSid7UaeE+L/k4gCtiZUjPA2Il6rNMZwLCocMesmWhsqoDwhgZn 1ZZtTnI7WwEnQ== Date: Mon, 30 Oct 2023 11:24:57 +0100 From: Christian Brauner To: Ian Kent Cc: Linus Torvalds , linux-fsdevel@vger.kernel.org, linux-kernel@vger.kernel.org, Bill O'Donnell Subject: Re: [GIT PULL for v6.7] autofs updates Message-ID: <20231030-imponieren-tierzucht-1d1ef70bce3f@brauner> References: <20231027-vfs-autofs-018bbf11ed67@brauner> <43ea4439-8cb9-8b0d-5e04-3bd5e85530f4@themaw.net> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: <43ea4439-8cb9-8b0d-5e04-3bd5e85530f4@themaw.net> X-Spam-Status: No, score=-1.7 required=5.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,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 pete.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 (pete.vger.email [0.0.0.0]); Mon, 30 Oct 2023 03:26:00 -0700 (PDT) On Sun, Oct 29, 2023 at 03:54:52PM +0800, Ian Kent wrote: > On 27/10/23 22:33, Christian Brauner wrote: > > Hey Linus, > > > > /* Summary */ > > This ports autofs to the new mount api. The patchset has existed for > > quite a while but never made it upstream. Ian picked it back up. > > > > This also fixes a bug where fs_param_is_fd() was passed a garbage > > param->dirfd but it expected it to be set to the fd that was used to set > > param->file otherwise result->uint_32 contains nonsense. So make sure > > it's set. > > > > One less filesystem using the old mount api. We're getting there, albeit > > rather slow. The last remaining major filesystem that hasn't converted > > is btrfs. Patches exist - I even wrote them - but so far they haven't > > made it upstream. > > Yes, looks like about 39 still to be converted. > > > Just for information, excluding btrfs, what would you like to see as the > > priority for conversion (in case me or any of my colleagues get a chance > > to spend a bit more time on it)? I think one way to prioritize them is by how likely they are to have (more than a couple) active users. So recently I've done overlayfs because aside from btrfs that was probably one of the really actively used filesystems that hadn't yet been converted. And that did surface some regression So 9p, fat, devpts, f2fs, zonefs, ext2 are pretty obvious targets. Judging from experience, the more mount options a filesystem has the bigger the conversion patch will usually be. Another way is by function. For example, we expose mount_bdev() which is basically the legacy version of get_tree_bdev(). And they sort of are almost copies of each other. So converting all callers to the new mount api means we can get rid of mount_bdev(). But that's like 25 of the remaining 39. But in the end any filesystem that is converted is great.