Received: by 2002:a05:7412:a9a2:b0:e2:908c:2ebd with SMTP id o34csp1199744rdh; Fri, 27 Oct 2023 07:28:01 -0700 (PDT) X-Google-Smtp-Source: AGHT+IHHciUH34MImq3A3g1wzRwByBoYYLR5hdSTjr9K9FX/invEZwvv1Jxwid59cP2uS4xYQJFW X-Received: by 2002:a05:6808:2394:b0:3a6:fb16:c782 with SMTP id bp20-20020a056808239400b003a6fb16c782mr3338729oib.30.1698416881219; Fri, 27 Oct 2023 07:28:01 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1698416881; cv=none; d=google.com; s=arc-20160816; b=buwm/YWWevynAvFdy3IxqWj78bCvdIUhJ4jyc2vjkgCFKVvYGk7XqcaIJTP4R1rmQ8 of4x8p67SO0/r8QBsGcWAJHL6MuST/ixurPwPqrk3GOBGjYqcIhQtdoCor+DqM0R9HvD MzYUOenO+otvry0izajsLQHfCNUlnBqpAY8hoLtUiXH/Q9+qVEMITXwgllx+5XFrbOD1 fWBGn6hWtIcr5P372pQiKPSkmhtgmhBb+aQw5jk38SZVFW1NckiOzQBXNoDf7InhMNiY VdcrY4jUFYaV5xeLDIdKOOfinGpRnD2gKR3yoM+f+31fRywDNZMLtfTfQchkBntoFLdT DJEQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:cc:to:subject :message-id:date:from:in-reply-to:references:mime-version :dkim-signature; bh=hXbUbK7JAE9A7HTRcV9zd4hClFZcd4gmsfJ+w0RwJf4=; fh=po814A6T4YaHhjJiLMdBVVGDU2nmflCnbhAt5GXAc9E=; b=BynYIV7DfBmDmAnMDZxmCZOcuELtW1ClVBr2Jab3Ahg+nb5hicXe1VvCGWHlQGEYzl 4OhtmThQD30gdeWuGM0A+Mgi0pTTyT27haCUS5v6w3ckumd2eJdwP+EQDhVu1qmTKKBU nBlvePOdKpeHbhsR+wEVZ25Sl9ywY74A4ipt+h9rIT3gVTr+vJ2WtzTia9fQ1ZB9QDRN dZVMxtVMJc/vKEx/5H3kEa+LFn9rxrv+T3xSWFEHLFicNVrj08z+yvsSCfx7nTr7Axg2 MSTktFFche/Cy6AbZp1RqHuamSSpx9P3aplw/KQzPAWDGqlSWnL6U2LDpj2Gm91mfHtm eICQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=MnmlCWj9; spf=pass (google.com: domain of linux-nfs-owner@vger.kernel.org designates 23.128.96.38 as permitted sender) smtp.mailfrom=linux-nfs-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from fry.vger.email (fry.vger.email. [23.128.96.38]) by mx.google.com with ESMTPS id s125-20020a257783000000b00d9a6b5c9f37si3496349ybc.262.2023.10.27.07.27.56 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 27 Oct 2023 07:28:01 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-nfs-owner@vger.kernel.org designates 23.128.96.38 as permitted sender) client-ip=23.128.96.38; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=MnmlCWj9; spf=pass (google.com: domain of linux-nfs-owner@vger.kernel.org designates 23.128.96.38 as permitted sender) smtp.mailfrom=linux-nfs-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by fry.vger.email (Postfix) with ESMTP id 4ECDC82F7B8B; Fri, 27 Oct 2023 07:27:50 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at fry.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1345929AbjJ0O1u (ORCPT + 99 others); Fri, 27 Oct 2023 10:27:50 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:38368 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1345952AbjJ0O1t (ORCPT ); Fri, 27 Oct 2023 10:27:49 -0400 Received: from mail-qk1-x72c.google.com (mail-qk1-x72c.google.com [IPv6:2607:f8b0:4864:20::72c]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 24591DE; Fri, 27 Oct 2023 07:27:46 -0700 (PDT) Received: by mail-qk1-x72c.google.com with SMTP id af79cd13be357-778a20df8c3so163573885a.3; Fri, 27 Oct 2023 07:27:46 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1698416865; x=1699021665; darn=vger.kernel.org; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:from:to:cc:subject:date :message-id:reply-to; bh=hXbUbK7JAE9A7HTRcV9zd4hClFZcd4gmsfJ+w0RwJf4=; b=MnmlCWj9iT4ySuec0pJEKyWRssgzVSpggCf83Hgsm+E62roF/baIoq27FrsBdyi9ZZ ANiinyw30hgqWWOVHnd8/pU7YK5PES31RzZ2e7fDx+KbvQQZxhtUu7GYKEp/TBFkjthq idb+RwyImN9PcSRP/UDohonHU+ERU1ZKAJ4e7VXQn5R9gmoqK4qkBNh5M5dmu3ED9azC Un+p1ff4L2N/a8xKu3nviLclPeF3GY+a87qJDwh6oVdkzc9F68nLqPpJXT6Iop7H46WB XT4GDVmZn6Psi79d1CZk+cTC3bRxPS5W7Bq383aDmO4RDYlp6exTWeFntWjUBzvAemWE 1RSw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1698416865; x=1699021665; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=hXbUbK7JAE9A7HTRcV9zd4hClFZcd4gmsfJ+w0RwJf4=; b=oPCC5DdJVe3addPeK1JYld4M3h9n0R/JXkP46RhJwofl9qHCWAIkjDHUaLwuG9fTSW 4QxdqakOdrmeT5qx8z25GP1Eqz9PqIoQ69zsUOjNztaUVNgTVoKg7E5XF+cbxg0toTPs vaGEnm8vIO9Y7U56P8DGjWMIUgPdpL3Qk0wMjfDcTLJ1Z6judWwSPa65nE8GkrGVzBXB GqkiI1QXcl01GjE7LshhRraqXaRj72JB+VsKKesNrukIMWFEiKvbknx9Wp0NM2Rj4/dQ ych/AdzkQiU1SqYIneenYvXqaaVzOjGvj7JWoRPRNnOKdBtPu9+6J4qN3lSGSBASX2NU Cm3Q== X-Gm-Message-State: AOJu0Yza4YZUmoSgLY3fOqt+OZjQ5wfpJBbS7QBg9ijy5uT/NPSGyXnt aTPDsI00V6V0pHx1YLGzKw0hsR6cPM8lC0f9cCw= X-Received: by 2002:a05:6214:1d0a:b0:66f:ba8f:39a9 with SMTP id e10-20020a0562141d0a00b0066fba8f39a9mr2891162qvd.8.1698416865139; Fri, 27 Oct 2023 07:27:45 -0700 (PDT) MIME-Version: 1.0 References: <20231023180801.2953446-1-amir73il@gmail.com> <20231023180801.2953446-4-amir73il@gmail.com> In-Reply-To: From: Amir Goldstein Date: Fri, 27 Oct 2023 17:27:33 +0300 Message-ID: Subject: Re: [PATCH v2 3/4] exportfs: define FILEID_INO64_GEN* file handle types To: Christoph Hellwig Cc: Christian Brauner , Al Viro , Jan Kara , Jeff Layton , Chuck Lever , linux-fsdevel@vger.kernel.org, linux-nfs@vger.kernel.org Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Spam-Status: No, score=-0.6 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,FREEMAIL_FORGED_FROMDOMAIN,FREEMAIL_FROM, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SPF_HELO_NONE, SPF_PASS autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on fry.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-nfs@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (fry.vger.email [0.0.0.0]); Fri, 27 Oct 2023 07:27:50 -0700 (PDT) On Fri, Oct 27, 2023 at 10:32=E2=80=AFAM Christoph Hellwig wrote: > > On Fri, Oct 27, 2023 at 09:43:01AM +0300, Amir Goldstein wrote: > > > Presumable the same for fuse, but for that > > > I'd need to look at how it works for fuse right now and if there's no= t > > > some subtle differences. > > > > > > > There are subtle differences: > > 1. fuse encodes an internal nodeid - not i_ino > > 2. fuse encodes the inode number as [low32,high32] Sorry, that's [hi32,lo32] as written in commit message. > > > > It cannot use the generic helper. > > That's what I almost feared. It still should use the common symbolic > name for the format just to make everyones life simpler. That's what I thought. This patch converts fuse to use the new defined FILEID_INO64* constants. I plan to send a followup patch to xfs to use the symbolic name after this constant has landed in vfs. It is going to be easier than collaborating the merges of xfs and vfs and there is no reason to rush it. Thanks, Amir.