From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from verein.lst.de ([213.95.11.211]:45233 "EHLO newverein.lst.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753230AbdKJRXq (ORCPT ); Fri, 10 Nov 2017 12:23:46 -0500 Date: Fri, 10 Nov 2017 18:23:44 +0100 From: "hch@lst.de" To: "Fu, Rodney" Cc: "hch@lst.de" , "viro@zeniv.linux.org.uk" , "linux-fsdevel@vger.kernel.org" Subject: Re: Provision for filesystem specific open flags Message-ID: <20171110172344.GA15288@lst.de> References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: Sender: linux-fsdevel-owner@vger.kernel.org List-ID: On Fri, Nov 10, 2017 at 04:49:33PM +0000, Fu, Rodney wrote: > The kernel prevents unknown open flags from being passed through to the > underlying filesystem. I am wondering if people would be for or against the > idea of provisioning some number of bits in the open flags that are opaque to > the VFS layer but get passed down to the underlying filesystem? The motivation > would be to allow filesystem specific semantics to be controllable via open, > much like the more generic and pre-existing open flags. Absolutely against. Open flags need to be defined in common code or you are in a massive world of trouble.