Received: by 2002:a05:7412:85a1:b0:e2:908c:2ebd with SMTP id n33csp180079rdh; Mon, 30 Oct 2023 19:05:05 -0700 (PDT) X-Google-Smtp-Source: AGHT+IE5mTxRwRwTB8lX9aPGwaAxfQNDC2liBlwMRStU4a8oNfXa2Bdy0lDFPBaXTmPNaZLd5XEA X-Received: by 2002:a05:6808:8d9:b0:3b2:e520:dfab with SMTP id k25-20020a05680808d900b003b2e520dfabmr12601370oij.44.1698717905584; Mon, 30 Oct 2023 19:05:05 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1698717905; cv=none; d=google.com; s=arc-20160816; b=MH/2GHME0o2DrlL7MdeRDCz2i2Bsy14c9w6sty1A094TVC2udn/FGL+F1xerPxtM9q mQ+8sUdqm6V10nuNyPYyV6M4pmT8fetUVZKyBPt56W4TBBzWBteWVHY/GaYOrGRQqs0o bsZ4raQag5J802QSULz/6yG9sAVvTITZgTVfxXnybOgTCHgAL1sJJdsN7bdoMaB2NROb 6zSAX6EQ5a35d7hqUeJAq1Ex/VKlvfYzVdaZnSifHzK6L8IY7wPiWMwNWsQZeJyi5DQP e+knaZkd+uxiqeqDf5sGLgsyPazXF8s2JQJg2ioaujSLShZCQH8h9qyXXtrWQf21uhr0 oCAg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to:subject :from:references:cc:to:content-language:user-agent:mime-version:date :message-id:feedback-id:dkim-signature:dkim-signature; bh=6SRwuuaQtBql/DwgOJChmCueYyS35e3b/jtus9sC3J8=; fh=4IMWNus+xXPDpGHJkrdxvMI8fFstaUc9jDcEwlVykX8=; b=0xgf5fDHb9/daq39d/GTeyNFX7/18nQkw0IsKaJmjKCjqFl7naQUPAgUExPBaBuc8K xbmXNCdn+AZh2hEkU+Jw4dysrieiBckPCwum5XwJMzU+RGRlskqnaWzEvyLPnr0eTMrY UeoYxxK8CcNOm3GKgBjQDZYRnTmvs+WQ9nUuiALvcE2gAyH/66RD86KubTofx2zKXPKB ZBqlLfAqYGDYl377yVBQXjbAhjlrF5Rb5gzN3w/jPGKn+sYZd4KdOhLP5h914qKdTUW/ xW98Bu/TfBRZxucvXiz9y24f94j2bYnshNESyw954N+ffoVWMvyZu3YML/nsKzpFrqpA DOhw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@themaw.net header.s=fm2 header.b=e3T0PjQt; dkim=pass header.i=@messagingengine.com header.s=fm3 header.b=EMuRs8Lw; 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 Return-Path: Received: from fry.vger.email (fry.vger.email. [2620:137:e000::3:8]) by mx.google.com with ESMTPS id y11-20020a62ce0b000000b0068fc9557cddsi271553pfg.81.2023.10.30.19.05.05 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 30 Oct 2023 19:05:05 -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=@themaw.net header.s=fm2 header.b=e3T0PjQt; dkim=pass header.i=@messagingengine.com header.s=fm3 header.b=EMuRs8Lw; 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 Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by fry.vger.email (Postfix) with ESMTP id CAC8E80BA643; Mon, 30 Oct 2023 19:05:02 -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 S230206AbjJaCE4 (ORCPT + 99 others); Mon, 30 Oct 2023 22:04:56 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:41986 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229692AbjJaCEz (ORCPT ); Mon, 30 Oct 2023 22:04:55 -0400 Received: from out2-smtp.messagingengine.com (out2-smtp.messagingengine.com [66.111.4.26]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 211A5DD; Mon, 30 Oct 2023 19:04:53 -0700 (PDT) Received: from compute2.internal (compute2.nyi.internal [10.202.2.46]) by mailout.nyi.internal (Postfix) with ESMTP id 8B6725C022E; Mon, 30 Oct 2023 22:04:52 -0400 (EDT) Received: from mailfrontend1 ([10.202.2.162]) by compute2.internal (MEProxy); Mon, 30 Oct 2023 22:04:52 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=themaw.net; h=cc :cc:content-transfer-encoding:content-type:content-type:date :date:from:from:in-reply-to:in-reply-to:message-id:mime-version :references:reply-to:sender:subject:subject:to:to; s=fm2; t= 1698717892; x=1698804292; bh=6SRwuuaQtBql/DwgOJChmCueYyS35e3b/jt us9sC3J8=; b=e3T0PjQtKslc8Os29u952dUfrBBZL6eJexD9wvTdOOMI72YbsDj CQIo3tH0dz37rCoj3qRG3UUuUT3ZHrXP0hVvNCYYZHJjk7mNcTF9qj9UnklxVGl+ Ga1KJTaPxgISSQesGIWWJSO9auSFxUJEx2CprfLPUZF9Jy+U98+8+5oeP7Minx4S odEoS4l6PgN1SHIxqjVJzj35BP4U2DhY1rSibsfU6T6C39podT7wAiWKdX+Bcrgv yliadZZ03CV/OWCjrNHCq3A/avRFYKh3ITIUI0+4Yaq40BR4TR3PQ2LpdRkSUOpO 29jhF82QMOCrrEJALwhWYGvtxwPDoS+iIHA== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:cc:content-transfer-encoding :content-type:content-type:date:date:feedback-id:feedback-id :from:from:in-reply-to:in-reply-to:message-id:mime-version :references:reply-to:sender:subject:subject:to:to:x-me-proxy :x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s=fm3; t= 1698717892; x=1698804292; bh=6SRwuuaQtBql/DwgOJChmCueYyS35e3b/jt us9sC3J8=; b=EMuRs8Lw2XEejmmmB4Bes6qOlBcuFTOjvy90kLQHhWsNLG4vytf DFckINB7DG2vGT/gzguEyCMBKsqxXLeSKFv7n72s4ne/ZOn5TDvuGiPeqADIA85j Z2P8TSFgNv0BrtPH/xFnxzzWv9ZWEYJHWug+FMO2qPjb24M6nY/b+iBe6uCBDtkc WrzAn/JfaRqBa/6+Vg9XRSzRjslgjvO8BVx/LPw6Z2UXcjYaZNpG0q4VAErqdMys 8bEoiTdhEPgfYp7Mvsv9ws85y6WJDQv478jgLeKjRjiLXQFjl4gglFJsUDTQSJMM okRJ9fYNnKu7O8UszHs++Qjewg8Mv1You7Q== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvkedruddtuddggeduucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmne cujfgurhepkfffgggfvfevfhfhufgjtgfgsehtjeertddtfeejnecuhfhrohhmpefkrghn ucfmvghnthcuoehrrghvvghnsehthhgvmhgrfidrnhgvtheqnecuggftrfgrthhtvghrnh epjeegkedvhfekueejgeefieejtdevledvtdelieevveekffejfedtvdehkeefjeeknecu vehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehmrghilhhfrhhomheprhgrvhgvnh esthhhvghmrgifrdhnvght X-ME-Proxy: Feedback-ID: i31e841b0:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA; Mon, 30 Oct 2023 22:04:50 -0400 (EDT) Message-ID: Date: Tue, 31 Oct 2023 10:04:48 +0800 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.13.0 Content-Language: en-US To: Christian Brauner Cc: Linus Torvalds , linux-fsdevel@vger.kernel.org, linux-kernel@vger.kernel.org, Bill O'Donnell References: <20231027-vfs-autofs-018bbf11ed67@brauner> <43ea4439-8cb9-8b0d-5e04-3bd5e85530f4@themaw.net> <20231030-imponieren-tierzucht-1d1ef70bce3f@brauner> From: Ian Kent Subject: Re: [GIT PULL for v6.7] autofs updates In-Reply-To: <20231030-imponieren-tierzucht-1d1ef70bce3f@brauner> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-5.3 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, NICE_REPLY_A,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]); Mon, 30 Oct 2023 19:05:03 -0700 (PDT) On 30/10/23 18:24, Christian Brauner wrote: > 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. Thanks Christian, I know Bill was considering spending a bit of time on this and I may have some cycles myself in the not too distant future. But things change all too quickly so we'll need to see how it goes, ;) Ian I'll