Received: by 2002:ab2:620c:0:b0:1ef:ffd0:ce49 with SMTP id o12csp950024lqt; Tue, 19 Mar 2024 08:29:40 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCWvJZzt1T/LQ2L/gTas51V8mL6yHWGPjG9GBXHyZvwmxe059j6trUY/ryJ2wwVvFO/el70iwdcOc4G9ifKytNKLwa4ztfdUUuNgNffXUQ== X-Google-Smtp-Source: AGHT+IG0BeE4zToETs8Q8dYZ7lmzr6m6Bqc/yVnNTyTLnOxVAeJ6J289USrzH2CgoJSqeU0Ay1qW X-Received: by 2002:a17:903:1251:b0:1dc:696d:ec6e with SMTP id u17-20020a170903125100b001dc696dec6emr16459437plh.21.1710862180308; Tue, 19 Mar 2024 08:29:40 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1710862180; cv=pass; d=google.com; s=arc-20160816; b=TJO1HB/6Ew1xJXZqL/wXMnXWln1vwtlpqVfUXg1msnuu2Tk5JPt06T1cg1UC5nZQ/Y 71dv2sQFpH6B2Wk0LSXHgkoLx0n8Tk4VWtnFKVM8OPGuMTXtEMvV08me/9cvXSTFZ9+l sJ/rBydBqTjDfqdToShK91oW0eoiBThHBJ0TyEjqSaTmPRIFiPk6ubXQXUNt7tWRDjbK I/vIBrWhSv4lsshMoxeWnAMs61cQKZ/B3SZasOlk5fHt6U9KDfK+KO3KACOlFLuRKvux PQAsI1ywwcoOGm8nATsMGbcgA9WZduBGP++LegdAK87lSllloh0bkwAjkMSwoZ9DFOqn AjvQ== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=in-reply-to:content-disposition:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:message-id:subject:cc :to:from:date:dkim-signature; bh=9cRVPrTioOxpRXSN7x59FhqTwSWv4CoRfobU+I/+d00=; fh=KTZDVPdH4hVfCNilfXbdFSIxJ4tcSE5NhSKdOCmCE0s=; b=lAELX9RNj+x/y+H4wodcFcc7OayEpBq57rbaqVduHHdeLefV9/w1mFCMFomS0i6TyD RuTHxH40nAS7LMfZJz1FlxoEYHeZTC95fzU24hr4ZbB8n0MhtKqC8Ef/jLTOK+5jeMCQ 3xxtN0WYWApJ8c2wbHoWDWQKCJmfKXxGFnAaqeU8JVATXXQLMBgp5671dSSKUuJrb5vS 2DtYcWg7EN7TJFcX8VlgvTC0R/mqVDNFnLAndm4DxqvWaacHQVVPOWiBpGFayRaHFQUm ScBjx2F4y8w6eVmzUZVl+L8A8AaCIbQqVucgb2qLLyjC8JeJTeybXw5P0gYTLtl4tSXk V0uA==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=dGw6kJcR; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-107713-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-107713-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [2604:1380:45e3:2400::1]) by mx.google.com with ESMTPS id k5-20020a170902d58500b001dda51f5c08si5025387plh.31.2024.03.19.08.29.40 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 19 Mar 2024 08:29:40 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-107713-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) client-ip=2604:1380:45e3:2400::1; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=dGw6kJcR; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-107713-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-107713-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=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 sv.mirrors.kernel.org (Postfix) with ESMTPS id 036B42833A0 for ; Tue, 19 Mar 2024 15:29:40 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 84C0E657C4; Tue, 19 Mar 2024 15:29:32 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="dGw6kJcR" Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id A827624B33; Tue, 19 Mar 2024 15:29:30 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1710862171; cv=none; b=LutWX6g1DX35NqBNieMkQVYgPKF9G4/GY6xlSNbuXxjh0NRQisncBCZ6iO3usC8uUA6FDmQ8xELt5W8O9fvZ2nE6E9AotqH6QV70tUM4W6YaeQINS0lUBAepNsf3pNmeaRJ0e+fZTAsp78EgEehWvSegn170+mDLPqOFI3ur+7Q= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1710862171; c=relaxed/simple; bh=VgLcP2hyQd2I/2FSYrwfNZkMKXumyqi2w8XTycPbpnQ=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=CWbXXQ+fBJNKyHRL7jViiH3yV6A1t4wGztB/RN3wFGXHTQ7T6bAiPRIBl7pu43nIz2bZGNPyB/YINBbzeq7Zq7i9TicjgmFWZZ35K+uQtpuLCDNK1DK+fcRk7/whir9ymU5ZtUkfKLXJTs9jtbU318WvmaRWQxGYbDyBwszTwCo= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=dGw6kJcR; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id BB880C433C7; Tue, 19 Mar 2024 15:29:27 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1710862170; bh=VgLcP2hyQd2I/2FSYrwfNZkMKXumyqi2w8XTycPbpnQ=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=dGw6kJcRiQqyqHz8N1GAr4dPVuIhAWUJ5XRkb4JoyqvJ3XDGxNKCTAvmfXvOoVZ5J mQDeMHLHGgShzcwAslHrZLIR8E09XOJP2FLShfOa+KnfBnkk5TBznSfjQweQBoAZbG bqUkL3pQ97ybYLwsNzmfCUIx9BPeyyLfHlagqQytZ7QIjYvfBDuoTGnkt086Ke0rqw V0EhtrPvn1nEnb5WyuiWAk0LSR1oiJ6SewSu6/Y7Y9lsmAbGO7yZRtJVlAflRksmgf g94V2v0fKoQPxnAitc5FRmWjTGo3YpJvUVEyQnJ9suk2VbljPOSdPPZ1chc1ax5TQ7 IW0FdVqlhXl2w== Date: Tue, 19 Mar 2024 16:29:24 +0100 From: Christian Brauner To: Jeff Layton Cc: Konstantin Komarov , Alexander Viro , ntfs3@lists.linux.dev, linux-kernel@vger.kernel.org, linux-fsdevel@vger.kernel.org Subject: Re: [PATCH RFC] ntfs3: remove atomic_open Message-ID: <20240319-hoffen-fasten-66e583a0d595@brauner> References: <20240318-ntfs3-atomic-open-v1-1-57afed48fe86@kernel.org> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: <20240318-ntfs3-atomic-open-v1-1-57afed48fe86@kernel.org> On Mon, Mar 18, 2024 at 02:28:50PM -0400, Jeff Layton wrote: > atomic_open is an optional VFS operation, and is primarily for network > filesystems. NFS (for instance) can just send an open call for the last > path component rather than doing a lookup and then having to follow that > up with an open when it doesn't have a dentry in cache. > > ntfs3 is a local filesystem however, and its atomic_open just does a > typical lookup + open, but in a convoluted way. atomic_open will also > make directory leases more difficult to implement on the filesystem. > > Remove ntfs_atomic_open. > > Signed-off-by: Jeff Layton > --- > Am I missing something about why ntfs3 requires an atomic_open op? In > any case, this is only lightly tested, but it seems to work. Seems we should just remove it.