Received: by 2002:ac0:a5a7:0:0:0:0:0 with SMTP id m36-v6csp1430974imm; Sat, 11 Aug 2018 13:21:17 -0700 (PDT) X-Google-Smtp-Source: AA+uWPyawFNxPcetP16b0ksOtq9yNL9CnIiEmvpc/MFt0obpGprGk0FKne1O7BgsnAKIQdBEmty6 X-Received: by 2002:a63:220d:: with SMTP id i13-v6mr11497010pgi.212.1534018876988; Sat, 11 Aug 2018 13:21:16 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1534018876; cv=none; d=google.com; s=arc-20160816; b=vVcIUhTbW4JKY6Gk5Bj2gGvEoZdUAdurtQHJvFiSdSF4/KNLhTsLisrkN8yerU8Dui QnrtdjgARBkhuDnPqA8DoZ4xCZYeODgefEAuTSuTB4kubwkwYu5jGhlrCe2+9ibHReXG yFvSfztkzXs7heoELCBnE2a4i6IoXfJprZArcUE1UTXe9tK7eVc3/YBCbEU/m0Zi4n8T UJ6mz4VSUhL6+PeArPF/LxGpFDgKngln7xYpXHbB3S/a0JmXCKISd9SOHtIvKc4Yjzb8 HqFYeM2/BY5RndxAWU/iQywgQ0PJ0O2t0UYo3TXyZM3Xeof0i9MlLuvTsmmS8S1iVrKr Oyhw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:message-id:date:content-id:mime-version :subject:cc:to:references:in-reply-to:from:organization :arc-authentication-results; bh=0tVrVoC+mv4Ge3quwmT97Gna6sCK4G3J1iDQonNDdBU=; b=Kg1eLIEXytuWghV60w+Y5QFcCPpoD3JZh09Dh7hA50MmNacY48m2r3db3I3ZPyvf1j cy0cHvNH+kIo2WSuZcTYmJLw4AHm+MJaGY5PcxpqTImFF1MvpETqz4xi11kYbO1J/Iw7 MMEpYyycesgh1pQs1jM1m1faF5vizq4kA6Hv9mlQVdnLPgbKyHNJPQgCcNWS32sbiwUv OMoo6vulYuSONzpkSKJtu3gFZawerX5NuoRuEfLW7lZqc0lvwGr7JWW+IACSHsNDm2gl GXvbj/vDqTdkDWI6ZYQPmoAUXcxPpMa23bvaG7UX5d0lav26hEmANvW82LpubteZGeJ1 qCrA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=redhat.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id l1-v6si14542882pfd.193.2018.08.11.13.21.01; Sat, 11 Aug 2018 13:21:16 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-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-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=redhat.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727591AbeHKWz3 (ORCPT + 99 others); Sat, 11 Aug 2018 18:55:29 -0400 Received: from mx3-rdu2.redhat.com ([66.187.233.73]:56310 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1727379AbeHKWz3 (ORCPT ); Sat, 11 Aug 2018 18:55:29 -0400 Received: from smtp.corp.redhat.com (int-mx03.intmail.prod.int.rdu2.redhat.com [10.11.54.3]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id 5A4ED4022909; Sat, 11 Aug 2018 20:20:11 +0000 (UTC) Received: from warthog.procyon.org.uk (ovpn-120-78.rdu2.redhat.com [10.10.120.78]) by smtp.corp.redhat.com (Postfix) with ESMTP id 9E89A104947B; Sat, 11 Aug 2018 20:20:08 +0000 (UTC) Organization: Red Hat UK Ltd. Registered Address: Red Hat UK Ltd, Amberley Place, 107-111 Peascod Street, Windsor, Berkshire, SI4 1TE, United Kingdom. Registered in England and Wales under Company Registration No. 3798903 From: David Howells In-Reply-To: References: <153313703562.13253.5766498657900728120.stgit@warthog.procyon.org.uk> <153313723557.13253.9055982745313603422.stgit@warthog.procyon.org.uk> <87in4n9zg0.fsf@xmission.com> <27374.1533824694@warthog.procyon.org.uk> To: Miklos Szeredi Cc: dhowells@redhat.com, "Eric W. Biederman" , Al Viro , Linux API , Linus Torvalds , linux-fsdevel@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH 28/33] vfs: syscall: Add fsconfig() for configuring and managing a context [ver #11] MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <5151.1534018808.1@warthog.procyon.org.uk> Date: Sat, 11 Aug 2018 21:20:08 +0100 Message-ID: <5152.1534018808@warthog.procyon.org.uk> X-Scanned-By: MIMEDefang 2.78 on 10.11.54.3 X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.5.16 (mx1.redhat.com [10.11.55.6]); Sat, 11 Aug 2018 20:20:11 +0000 (UTC) X-Greylist: inspected by milter-greylist-4.5.16 (mx1.redhat.com [10.11.55.6]); Sat, 11 Aug 2018 20:20:11 +0000 (UTC) for IP:'10.11.54.3' DOMAIN:'int-mx03.intmail.prod.int.rdu2.redhat.com' HELO:'smtp.corp.redhat.com' FROM:'dhowells@redhat.com' RCPT:'' Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Miklos Szeredi wrote: > You can determine at fsopen() time whether the filesystem is able to > support the O_EXCL behavior? If so, then it's trivial to enable this > conditionally. I think that's what Eric is asking for, it's obviously > not fair to ask for a change in behavior of the legacy interface. It's not trivial, see btrfs and nfs :-/ David