Received: by 2002:a05:7412:b995:b0:f9:9502:5bb8 with SMTP id it21csp7910075rdb; Thu, 4 Jan 2024 11:27:30 -0800 (PST) X-Google-Smtp-Source: AGHT+IF9pxNG0dTw/QZ1r7T41SRHryqSDTx2WhnyreSC4Lz2FF4WNLFSI5Jvr8NvaoeBKeR27xdV X-Received: by 2002:a17:90a:2f61:b0:28c:8eaa:e5e3 with SMTP id s88-20020a17090a2f6100b0028c8eaae5e3mr1048848pjd.17.1704396450040; Thu, 04 Jan 2024 11:27:30 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1704396450; cv=none; d=google.com; s=arc-20160816; b=wjEWuS0P94hOAgnCL2eO7ddd4A6s5Oszox2M6H/ovYbWTBgEOYrEgCN50cMCOCWed0 4WSIJkW83uWsqVP+ZHAOqVjbeTkWj2EiNZ2V1HsWZeLe9C6LN2k0zWRWMOEmLTMMNxw+ 43KYmpSyi4z/NPmicRVM5ZtCUpgOrLwIGSEFwBShdp7yQUwRqRD2i+jozMTYHMywtaoC woomTTWJiRkwypY6wVvLVAvcSeIxupiw0IpwCcS/wYElL5quZtGbIAGPCMR5vY24JUOL x5ZhKGVKKdFXKxsoPjO8bSaUCiXsTlewQxJaUzAvBlXem7HQk6PquVCa8zNE+7P06ipf Qlww== ARC-Message-Signature: i=1; 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=eHJdWxHao+sFhZwo/PLG5+DYdMRYk7fVp+3r2qEb254=; fh=gzrpMMTEDk1mfqC9jPx3qZyUSNsvBavCUw5QYiXCf9M=; b=R+6N3RzK889LssRyA2fHj6DdQVHDEgTQyCr63f8CvEuxZE+bAAUtu8DFW9/hbeBmxt ispbHAzIAhMppko3LqbHK1YVPdHkeGOGhIs1o0ibB3F8q7YtFIBmrkyzD9/aAYdPY/4E 2CDAACHL10V1kjuAv0O3yf5QKz0ZW5tNjs1uvuWGGuCmpn6VFbVXrRdrlJyaznjs4sQN gnvqXdvE9u4iYM2rI8mjvYnsutKIC9iVYj9wbaD3qBXt6f+LEvEkgRLw84b0NGT2XrsD uM68r0TuFaYjfe9NO/Y7uQGA1g8s41CeiLFf8if4/ScuKhvhsUFwBc968uO5ZXC24n4X IKqg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@infradead.org header.s=casper.20170209 header.b=CaTDRcGq; spf=pass (google.com: domain of linux-kernel+bounces-17156-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-17156-linux.lists.archive=gmail.com@vger.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 b7-20020a17090ae38700b0028ce2de7199si106474pjz.2.2024.01.04.11.27.29 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 04 Jan 2024 11:27:30 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-17156-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=@infradead.org header.s=casper.20170209 header.b=CaTDRcGq; spf=pass (google.com: domain of linux-kernel+bounces-17156-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-17156-linux.lists.archive=gmail.com@vger.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 A8476285E25 for ; Thu, 4 Jan 2024 19:27:29 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 092022C1A8; Thu, 4 Jan 2024 19:27:08 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=infradead.org header.i=@infradead.org header.b="CaTDRcGq" X-Original-To: linux-kernel@vger.kernel.org Received: from casper.infradead.org (casper.infradead.org [90.155.50.34]) (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 D50952C1A5; Thu, 4 Jan 2024 19:27:05 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=infradead.org Authentication-Results: smtp.subspace.kernel.org; spf=none smtp.mailfrom=infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=casper.20170209; h=In-Reply-To:Content-Type:MIME-Version: References:Message-ID:Subject:Cc:To:From:Date:Sender:Reply-To: Content-Transfer-Encoding:Content-ID:Content-Description; bh=eHJdWxHao+sFhZwo/PLG5+DYdMRYk7fVp+3r2qEb254=; b=CaTDRcGqgAO+q0x5oLCqNKQ2LN Ag4j4XVzZ0Ji8skGNCU7Y4Qq2g1DUI+cTqsU3L8VcW/cEzI/kV6p8D0S3gM3F5ay1BPsPI78vp8o/ AAXHrm1DI+OUD8RCfZCbxY2opXHZtaAfpiLZLA4ksMpQVwTGDh1RTsSOnvpkso1eZf7/YrbC/1ATC dPCHo31d5/Pr0Pih4JvYFX/cLoASEEYq3c0zCKYw6elyRZ+R6pvapnTZA+rHAeQl60KUmJmTGJTaZ 8saqMU05m60Q6qeuYF7lF0zuIj9Ndx9NGJkJjlgVS/cUf09qQr1zl1z8pP4EXDEx11KnGXRv59df5 ZJkxeE7w==; Received: from willy by casper.infradead.org with local (Exim 4.94.2 #2 (Red Hat Linux)) id 1rLTMp-00FqUL-44; Thu, 04 Jan 2024 19:26:59 +0000 Date: Thu, 4 Jan 2024 19:26:59 +0000 From: Matthew Wilcox To: Steven Rostedt Cc: Al Viro , LKML , Linux Trace Kernel , Masami Hiramatsu , Mathieu Desnoyers , Linus Torvalds , Christian Brauner , linux-fsdevel@vger.kernel.org, Greg Kroah-Hartman , Jonathan Corbet , linux-doc@vger.kernel.org Subject: Re: [PATCH] tracefs/eventfs: Use root and instance inodes as default ownership Message-ID: References: <20240103203246.115732ec@gandalf.local.home> <20240104014837.GO1674809@ZenIV> <20240103212506.41432d12@gandalf.local.home> <20240104043945.GQ1674809@ZenIV> <20240104100544.593030e0@gandalf.local.home> <20240104182502.GR1674809@ZenIV> <20240104141517.0657b9d1@gandalf.local.home> 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=us-ascii Content-Disposition: inline In-Reply-To: <20240104141517.0657b9d1@gandalf.local.home> On Thu, Jan 04, 2024 at 02:15:17PM -0500, Steven Rostedt wrote: > On Thu, 4 Jan 2024 18:25:02 +0000 > Al Viro wrote: > > > Unfortunately, the terms are clumsy as hell - POSIX ends up with > > "file descriptor" (for numbers) vs. "file description" (for IO > > channels), which is hard to distinguish when reading and just > > as hard to distinguish when listening. "Opened file" (as IO > > channel) vs. "file on disc" (as collection of data that might > > be accessed via said channels) distinction on top of that also > > doesn't help, to put it mildly. It's many decades too late to > > do anything about, unfortunately. Pity the UNIX 101 students... ;-/ > > Just so I understand this correctly. > > "file descriptor" - is just what maps to a specific inode. No -- file descriptor is a number in fdtable that maps to a struct file. > "file description" - is how the file is accessed (position in the file and > flags associated to how it was opened) file description is posix's awful name for struct file.