Received: by 2002:a05:6a10:6d25:0:0:0:0 with SMTP id gq37csp357526pxb; Sat, 11 Sep 2021 07:14:45 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzfmkUiGgRN+wY7QNTuAaCLg9uld/XRvqSHfBWmdSPdFYSitK3UxOOkKi2yA1PY/GsN6+MG X-Received: by 2002:a17:906:1510:: with SMTP id b16mr3169072ejd.332.1631369684936; Sat, 11 Sep 2021 07:14:44 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1631369684; cv=none; d=google.com; s=arc-20160816; b=Zhnp1c2NV6OZkbAzTFawSYTZiFONB3+ypNZzx34dzYIMAMHJOfKQi+Tgiqf1j9Qmu0 hVe6Ht6T74d1vG/juf+lAqPe1cvpWzubo3CX+PFxdJOawgUjbBfZJ8jRXlUarEex8vSI ipSqhQppdVf7Kn8TAe8O6ZYQhi8zo/JQsmbFOPM+bMDBzKNG9l9UzpbsIWjeSzYm7dys UgfpkToZz+OwbH6GJEvM0Nl29wWo7oZs9LMDDvrTSajfo77KQXdF4ISNvcQKGtBIOD0D FIAkHhsa/6a2aYhSDMYVpDKHyYyCJsqHZI/9hWbinV3HiyYMvgLslHoKOy6KeHFZIo1c R6fA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:subject:message-id:date:from:in-reply-to :references:mime-version:dkim-signature; bh=2KitDvTgcF8u5GUzxtRCOLjBDXdumB14NC4UdDO66+0=; b=gBZ2S1GFl1nZ2MiKpe8Fk5153yM81O10Ry2WTvDvfW9I4kCQF3lvhqCJsN+rx8rgcC mLRClIR/eRcuKusIs2vqCWLOcbhC2n9rleNcXNg68HhHCbdvX5TrHnZMfpiDnbLQXRu/ Ay14tn5i12CdAhqzY+dYVJalY9DzXmXNXoqelJjXoDPUqxeIUVcvXULuCGD/vr20Y+LL L4r+ESPbCxKysCA6jrWwMIU7o+87zFEIY5WcchgLK+YHA49JU4YqwaTwoiCASBfB/NK7 sVm/LWCFLjVJ6DwiSETBZFM0vzuU682nZOk0FPWJpBpHEXpUThSJTpQ5+XdGRF6eVGEl nRjw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b=ftiR8acC; spf=pass (google.com: domain of linux-nfs-owner@vger.kernel.org designates 23.128.96.18 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 vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id v1si2048207ejk.111.2021.09.11.07.14.08; Sat, 11 Sep 2021 07:14:44 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-nfs-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b=ftiR8acC; spf=pass (google.com: domain of linux-nfs-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-nfs-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S236041AbhIKOOY (ORCPT + 99 others); Sat, 11 Sep 2021 10:14:24 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:60120 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235331AbhIKOOT (ORCPT ); Sat, 11 Sep 2021 10:14:19 -0400 Received: from mail-io1-xd36.google.com (mail-io1-xd36.google.com [IPv6:2607:f8b0:4864:20::d36]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id BD713C061574; Sat, 11 Sep 2021 07:13:06 -0700 (PDT) Received: by mail-io1-xd36.google.com with SMTP id q3so6093615iot.3; Sat, 11 Sep 2021 07:13:06 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=2KitDvTgcF8u5GUzxtRCOLjBDXdumB14NC4UdDO66+0=; b=ftiR8acCLqtMEpLFJNcJWjtTWpPrgVx5obVuTzMCc15w/c3NXSp253sFcgApcZsdp+ PanwYjUmW/DNR+gtOjW+zIHekRzuJl+Vk+fzKsFs++1FNHqJcBVFeRRDY0zGgI/dMNaP FpBp6UNIUbW/ICm6vWfxtBPwRyN3GnLpGIP90v0iZ+q0AI+5DTAlKhmk4wvroeFZvqSc mCsuQA+EKBIE4ZHRvq43rVjjlyMa8WJuHVHtLq8/XpSZ3lxFbRifLWc6GTy7of9bWEFJ DDKThCVkAa/EOIZc0L7MbeZDeel1bL4CoMdegmyxzJGMcWnvNQHA+bAziLAR4rXVoUEV KRCw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=2KitDvTgcF8u5GUzxtRCOLjBDXdumB14NC4UdDO66+0=; b=mbtbK+yOdXYXAfaTma4B1nYILw9+y3NaruaRIPUyujEOSw7Uqihj6Szegc00xKpAO+ apG4euiqh/XsOOVO5ptGKOgv5OYOwtBFwYR6YCsOzMzY8goll4V6K/lpESOS+CrcOTnj 6QMN09dmmNQ05Fz4qLjWXxK4cigLGlG/BHbX3srj1lLdoB7q8XC8uvQA0KlbIuIG2B8P OC90UEUidNw9vUdYnmIHSqqlKrnIUXdM7SM5xQx+7/k4CethDVIOMFQeWq1LSSLlC3Ii iUx3yLx6SMTtc+emUHcdsupW2kZqt2OhBZsH2Cu35Lj0kqmZmu3arNEn05L90vrmy98h 0VPg== X-Gm-Message-State: AOAM533WwHV7R1LCM8EZIkdPhFel8nsvIYeh0X+6UXi3e+zNVRwEPMoB WUIGPKDAXEOXx8UiThNHfJQnb7nO4sWFRthwGCg= X-Received: by 2002:a6b:610e:: with SMTP id v14mr2085382iob.70.1631369586148; Sat, 11 Sep 2021 07:13:06 -0700 (PDT) MIME-Version: 1.0 References: <162995209561.7591.4202079352301963089@noble.neil.brown.name> <162995778427.7591.11743795294299207756@noble.neil.brown.name> <163010550851.7591.9342822614202739406@noble.neil.brown.name> <163038594541.7591.11109978693705593957@noble.neil.brown.name> <20210901152251.GA6533@fieldses.org> <163055605714.24419.381470460827658370@noble.neil.brown.name> <20210905160719.GA20887@fieldses.org> <163089177281.15583.1479086104083425773@noble.neil.brown.name> In-Reply-To: <163089177281.15583.1479086104083425773@noble.neil.brown.name> From: Amir Goldstein Date: Sat, 11 Sep 2021 17:12:54 +0300 Message-ID: Subject: Re: [PATCH v2] BTRFS/NFSD: provide more unique inode number for btrfs export To: NeilBrown Cc: "J. Bruce Fields" , Christoph Hellwig , Chuck Lever , Linux NFS Mailing List , Josef Bacik , linux-fsdevel , Theodore Tso , Jan Kara Content-Type: text/plain; charset="UTF-8" Precedence: bulk List-ID: X-Mailing-List: linux-nfs@vger.kernel.org > Maybe what we really need is for a bunch of diverse filesystem > developers to get together and agree on some new common interface for > subvolume management, including coming up with some sort of definition > of what a subvolume "is". Neil, Seeing that LSF/MM is not expected to gather in the foreseen future, would you like to submit this as a topic for discussion in LPC Filesystem MC [1]? I know this is last minute, but we've just extended the CFP deadline until Sep 15 (MC is on Sep 21), so if you post a proposal, I think we will be able to fit this session in the final schedule. Granted, I don't know how many of the stakeholders plan to attend the LPC Filesystem MC, but at least Josef should be there ;) I do have one general question about the expected behavior - In his comment to the LWN article [2], Josef writes: "The st_dev thing is unfortunate, but again is the result of a lack of interfaces. Very early on we had problems with rsync wandering into snapshots and copying loads of stuff. Find as well would get tripped up. The way these tools figure out if they've wandered into another file system is if the st_dev is different..." If your plan goes through to export the main btrfs filesystem and subvolumes as a uniform st_dev namespace to the NFS client, what's to stop those old issues from remerging on NFS exported btrfs? IOW, the user experience you are trying to solve is inability of 'find' to traverse the unified btrfs namespace, but Josef's comment indicates that some users were explicitly unhappy from 'find' trying to traverse into subvolumes to begin with. So is there really a globally expected user experience? If not, then I really don't see how an nfs export option can be avoided. Thanks, Amir. [1] https://www.linuxplumbersconf.org/event/11/page/104-accepted-microconferences#cont-filesys [2] https://lwn.net/Articles/867509/