From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-1.1 required=3.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SPF_PASS autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 72C8CC169C4 for ; Mon, 11 Feb 2019 20:44:12 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 3B23F218A4 for ; Mon, 11 Feb 2019 20:44:12 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=rath.org header.i=@rath.org header.b="PV5yPOt1"; dkim=pass (2048-bit key) header.d=messagingengine.com header.i=@messagingengine.com header.b="ULyc/2GC" Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727571AbfBKUoL (ORCPT ); Mon, 11 Feb 2019 15:44:11 -0500 Received: from wout2-smtp.messagingengine.com ([64.147.123.25]:58683 "EHLO wout2-smtp.messagingengine.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727036AbfBKUoK (ORCPT ); Mon, 11 Feb 2019 15:44:10 -0500 Received: from compute1.internal (compute1.nyi.internal [10.202.2.41]) by mailout.west.internal (Postfix) with ESMTP id 5395630B9; Mon, 11 Feb 2019 15:44:07 -0500 (EST) Received: from mailfrontend2 ([10.202.2.163]) by compute1.internal (MEProxy); Mon, 11 Feb 2019 15:44:07 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=rath.org; h=from :to:cc:subject:references:date:in-reply-to:message-id :mime-version:content-type:content-transfer-encoding; s=fm1; bh= PnoMES1vkW9YGp6dkIHfM8c6+EagOzO21C99REgYePk=; b=PV5yPOt1W+GIluJ6 DFCQHwAyN5IXd3czk3nNTFjJpNyQ7eSIJvb11snwfBNWR4z4V7bavt05ou36rL8S LyAurAdffqpWmAfDFy0mgR5sOX8R7cFze9NbrKM7Go219JmRUeU2Yt0bE9tK8km1 qJ8KJ5sgkmh3WaYnzGBDI1Q/2uOK0J/qd5LXWz1C+s1ILnZtPG1fNYyB4krSgwvK dYD/JgR1DUPx2zfpmJQ2QTbiLjQB6uV9SiFT1GDmQQbZaK6998kRDinlBSqRmByU ZxX5XH2oGw2EGsFvL6/vKnFiGamY6OG2PeFwCOAKG5+GY4nHa+ykcWfKGGDSyPYM vWFL/A== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-transfer-encoding:content-type :date:from:in-reply-to:message-id:mime-version:references :subject:to:x-me-proxy:x-me-proxy:x-me-sender:x-me-sender :x-sasl-enc; s=fm2; bh=PnoMES1vkW9YGp6dkIHfM8c6+EagOzO21C99REgYe Pk=; b=ULyc/2GCZbyP9z6j+seo0UjsPfhCnXiiXiVMoFdC2WG+mLfPmIGAxissK 6qNJKK52gz4L7/SAfYNUf/pw96cnL2J36D367tpV9/P1HHh0S9cH93rUaCn0UoFn 6YBgsH9K+A0TLtmyT6nLp3iQUk/Er/xrNZWqXExJDhc3IJfmdEGaCFI9IQ5bLZsT Olhs6o+OZyLou9u0jKYKDrIHbpzTxy5TopyAT3Rok+T8PyPsszm1bjgA4T0eX5tI /eUfdfzGcnEnoJZ3959npc1rmY2BpYfGsukD0fyyEJv48CL6uPbc+E1J0ZBGZob+ DJziZwZdE1SxiuFn8F2tYpit1WV7g== X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedtledrleelgdduudefucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfquhhtnecuuegrihhlohhuthemucef tddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmdenucfjughrpefhvffufhffjg fkfgggtgfgsehtqhdttddtreejnecuhfhrohhmpefpihhkohhlrghushcutfgrthhhuceo pfhikhholhgruhhssehrrghthhdrohhrgheqnecuffhomhgrihhnpegrthhtrhdrshhtne cukfhppedukeehrdefrdelgedrudelgeenucfrrghrrghmpehmrghilhhfrhhomheppfhi khholhgruhhssehrrghthhdrohhrghenucevlhhushhtvghrufhiiigvpedt X-ME-Proxy: Received: from ebox.rath.org (ebox.rath.org [185.3.94.194]) by mail.messagingengine.com (Postfix) with ESMTPA id B1B80100E5; Mon, 11 Feb 2019 15:44:05 -0500 (EST) Received: from vostro.rath.org (vostro [192.168.12.4]) by ebox.rath.org (Postfix) with ESMTPS id 2CBAA21; Mon, 11 Feb 2019 20:44:04 +0000 (UTC) Received: by vostro.rath.org (Postfix, from userid 1000) id F031FE0057; Mon, 11 Feb 2019 20:44:03 +0000 (GMT) From: Nikolaus Rath To: Miklos Szeredi Cc: Jean-Pierre =?utf-8?Q?Andr=C3=A9?= , fuse-devel , linux-fsdevel@vger.kernel.org Subject: Re: [fuse-devel] [fuse] Relevance of st_ino values References: <875ztrcpkz.fsf@vostro.rath.org> Mail-Copies-To: never Mail-Followup-To: Miklos Szeredi , Jean-Pierre =?utf-8?Q?Andr=C3=A9?= , fuse-devel , linux-fsdevel@vger.kernel.org Date: Mon, 11 Feb 2019 20:44:03 +0000 In-Reply-To: (Miklos Szeredi's message of "Mon, 11 Feb 2019 16:59:18 +0100") Message-ID: <878symukbw.fsf@vostro.rath.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.1 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Sender: linux-fsdevel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-fsdevel@vger.kernel.org On Feb 11 2019, Miklos Szeredi wrote: > On Mon, Feb 11, 2019 at 12:18 PM Jean-Pierre Andr=C3=A9 > wrote: >> >> Nikolaus Rath wrote: >> > Hello, >> > >> > For several requests, FUSE userspace returns a struct stat to the >> > kernel. struct stat includes an st_ino field, but FUSE generally has a >> > separate field for the inode (e.g. fuse_entry_param.ino vs >> > fuse_entry_param.attr.st_ino). >> > >> > Does the kernel use the st_ino value at all, or is just passed through >> > to userspace? > > st_ino value is not used in any way by the kernel, just passed through > to userspace. Thanks! And there is nothing that userspace can do with those numbers other than comparing them to determine if two files are hardlinks of each other, right? They cannot be passed back to the kernel in a syscall? Best, -Nikolaus --=20 GPG Fingerprint: ED31 791B 2C5C 1613 AF38 8B8A D113 FCAC 3C4E 599F =C2=BBTime flies like an arrow, fruit flies like a Banana.=C2= =AB