Received: by 2002:ac0:a5a7:0:0:0:0:0 with SMTP id m36-v6csp2577618imm; Thu, 16 Aug 2018 11:48:51 -0700 (PDT) X-Google-Smtp-Source: AA+uWPx1Twc/asPxAWJXsFTxPBERyZpMuyCFr8fiw4ux6rpbj0bpiszLkFfkLNuqdbNwVtBo92a6 X-Received: by 2002:a17:902:5381:: with SMTP id c1-v6mr29566028pli.201.1534445331629; Thu, 16 Aug 2018 11:48:51 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1534445331; cv=none; d=google.com; s=arc-20160816; b=xVIfyODKCcSx1+vpZoR6cPqX3Kf7+9wkkibRscaOA3yAOZPt7gRFnT+WJvVV3yQnTd nR4bfaxYYqDT73UBh/3D3dJkywApkMy6bs0cDr0z+f/5uxNQMEAmJU+z6aDqOlZR1yaf 9Lyz9U96YtZEu96qZT2MMysv6YapeVN10a8MLD3DB9ijLEF4bDbPTzIgkXeg/nLgwPZ4 Iijli+KGBLu6YOj2SB25A+WloCdX3yxL+Ebqvm/Qe2qXJaadRHXn5rg8B/maDgMev/Bw WT/atcuQb11IUGmataBzCmRRmj5aZ51uUFxjmImIVpNliQzcHgxXsbHp1+fPWuREcshK 6fLg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :message-id:date:user-agent:references:in-reply-to:subject:cc:to :from:arc-authentication-results; bh=u5DQpLnbLhexpUgtyO5CUJ0G6mtobf9Ig9wT6qfbWi0=; b=cwIUNTXfhbf+LBBWr9XAnaBBXlFb+6Gf2fj0qrXArsedfLQ7XS5OXIepoh2CyOEb6G i8c2kZS9UxnwjB2/a9lsWw2wi9i2CcYbpVi6exAs8i/mK7EVkertOmrjRCUklbEHbU+G IRnELQTPpT/BT/ED14qkyu47xhUdrqoc3R64YSRate084XCLQ5+yr5/4rQFgX/hONdIT CKSgVsCc8eDzxxVsEu/wZkq8mt902T0YWrlMdGLiurpQ9Xj6gv0aSYzA7ZHHTfYM3Oaw jlJ/39OLeBbYEDP6rv3y/qBf7vqoAH7mTkBMrH7/RmJG8T2YCe5gDFxlPtFGYemiLMZL lwzQ== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id x7-v6si32170pgi.465.2018.08.16.11.48.35; Thu, 16 Aug 2018 11:48:51 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729065AbeHPUXO convert rfc822-to-8bit (ORCPT + 99 others); Thu, 16 Aug 2018 16:23:14 -0400 Received: from mx2.suse.de ([195.135.220.15]:52196 "EHLO mx1.suse.de" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1728378AbeHPUXO (ORCPT ); Thu, 16 Aug 2018 16:23:14 -0400 X-Virus-Scanned: by amavisd-new at test-mx.suse.de Received: from relay1.suse.de (unknown [195.135.220.254]) by mx1.suse.de (Postfix) with ESMTP id CC3A8AFA7; Thu, 16 Aug 2018 17:23:24 +0000 (UTC) From: =?utf-8?Q?Aur=C3=A9lien?= Aptel To: Steve French , "Eric W. Biederman" Cc: David Howells , trond.myklebust@hammerspace.com, Anna Schumaker , Steve French , Steve Dickson , Al Viro , Linus Torvalds , ebiederm@redhat.com, linux-api@vger.kernel.org, linux-security-module@vger.kernel.org, linux-fsdevel , LKML , linux-nfs@vger.kernel.org, CIFS , linux-afs@lists.infradead.org, ceph-devel@vger.kernel.org, v9fs-developer@lists.sourceforge.net Subject: Re: Should we split the network filesystem setup into two phases? In-Reply-To: References: <153313703562.13253.5766498657900728120.stgit@warthog.procyon.org.uk> <17763.1534350685@warthog.procyon.org.uk> <87pnyiew8x.fsf@xmission.com> User-Agent: Notmuch/0.22.1 (http://notmuchmail.org) Emacs/26.1 (x86_64-pc-linux-gnu) Date: Thu, 16 Aug 2018 19:23:23 +0200 Message-ID: <87tvnuz0ms.fsf@suse.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8BIT Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Steve French writes: > In cifs we attempt to match new mounts to existing tree connections > (instances of connections to a \\server\share) from other mount(s) > based first on whether security settings match (e.g. are both > Kerberos) and then on whether encryption is on/off and whether this is > a snapshot mount (smb3 previous versions feature). If neither is > mounted with a snaphsot and the encryption settings match then > we will use the same tree id to talk with the server as the other > mounts use. Interesting idea to allow mount to force a new > tree id. We actually already have this mount option in cifs.ko, it's "nosharesock". > What was the NFS mount option you were talking about? > Looking at the nfs man page the only one that looked similar > was "nosharecache" Cheers, -- Aurélien Aptel / SUSE Labs Samba Team GPG: 1839 CB5F 9F5B FB9B AA97 8C99 03C8 A49B 521B D5D3 SUSE Linux GmbH, Maxfeldstraße 5, 90409 Nürnberg, Germany GF: Felix Imendörffer, Jane Smithard, Graham Norton, HRB 21284 (AG Nürnberg)