Received: by 2002:ac0:946b:0:0:0:0:0 with SMTP id j40csp596559imj; Thu, 7 Feb 2019 08:58:33 -0800 (PST) X-Google-Smtp-Source: AHgI3IZilu76sBnLoTyNz3lZOHANapNoif5dEzFLRpGgrbx7VInX10FmzCNOU5zinnfuZigUSP+k X-Received: by 2002:a63:1824:: with SMTP id y36mr15873162pgl.68.1549558713580; Thu, 07 Feb 2019 08:58:33 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1549558713; cv=none; d=google.com; s=arc-20160816; b=a6y0E9X/ewO3Mso917Fh8cBukC4BJiMCwklCdXNw0uJGfKFle/kmZ7UFJRsEQJzfn7 /KBi7p8XWMi4gNIvauJMFVYoGXpCsdj7f+SBeWyscHmPh7fcP3HtJTfRmYD6cXMG2QSY yujhfNuTV8YmoXG8+upT61v26Ha/JjXks2sbFhQWCEH5w5rAdX+Ff0KxHfUf23p2wimL BajWqEyPLKeCmP8ECjrTVSLw2e8b6CCanMoVul3XY9tlsNvma2ktzLVHFfRcgJ1XQ7my 5OIYcCV5u5qVzw8zUH58Hy9WlydMJJx5Nz0yFGGbhgIBfflRl0U6Sj/G+eHnaZrlBSKp G7Rg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date; bh=eQDWlgHViga2MpxDRvaRcn7gsyqV/GDUhUDUaM00s4I=; b=RnQA82cf7paJ+YE2Sw4gaiH4HLBRh4zbBiZ6JPGdfTHAoJ2ra6WGechY+PaArZpmeQ i6+NE+5BOs7GQwWw1rMpdpXYPrSd03Stp8f7JOhzCUeqqeYg6OjV1KPFcUOLvoJu8MZA fZOjJjTHXVp6uWfvZ5bsYm5c3C+DOwFGPORcqg3MCIYNf+YgtqdWio0h2lkIxPWuQrGf rn7WOboTgXSynGHBAi9ycPkqeXdgYR81t95ObX60d6UiojZE39PVJPosSGUtSLeCjwt7 7FF7/+4/JzOtVokzcdZwZ53DCNQ19Zff8k04DBsoaszQTRv1wiWObeafZu18EwPbiz2Q ULCg== 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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=intel.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id g129si9020550pgc.593.2019.02.07.08.58.16; Thu, 07 Feb 2019 08:58:33 -0800 (PST) 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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=intel.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726810AbfBGQ57 (ORCPT + 99 others); Thu, 7 Feb 2019 11:57:59 -0500 Received: from mga06.intel.com ([134.134.136.31]:58682 "EHLO mga06.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726196AbfBGQ56 (ORCPT ); Thu, 7 Feb 2019 11:57:58 -0500 X-Amp-Result: UNSCANNABLE X-Amp-File-Uploaded: False Received: from fmsmga005.fm.intel.com ([10.253.24.32]) by orsmga104.jf.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 07 Feb 2019 08:57:58 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.58,344,1544515200"; d="scan'208";a="318468274" Received: from iweiny-desk2.sc.intel.com ([10.3.52.157]) by fmsmga005.fm.intel.com with ESMTP; 07 Feb 2019 08:57:57 -0800 Date: Thu, 7 Feb 2019 08:57:41 -0800 From: Ira Weiny To: Tom Talpey Cc: Chuck Lever , Jason Gunthorpe , Dave Chinner , Doug Ledford , Christopher Lameter , Matthew Wilcox , Jan Kara , lsf-pc@lists.linux-foundation.org, linux-rdma , linux-mm@kvack.org, Linux Kernel Mailing List , John Hubbard , Jerome Glisse , Dan Williams , Michal Hocko Subject: Re: [LSF/MM TOPIC] Discuss least bad options for resolving longterm-GUP usage by RDMA Message-ID: <20190207165740.GB29531@iweiny-DESK2.sc.intel.com> References: <20190206175233.GN21860@bombadil.infradead.org> <47820c4d696aee41225854071ec73373a273fd4a.camel@redhat.com> <01000168c43d594c-7979fcf8-b9c1-4bda-b29a-500efe001d66-000000@email.amazonses.com> <20190206210356.GZ6173@dastard> <20190206220828.GJ12227@ziepe.ca> <0c868bc615a60c44d618fb0183fcbe0c418c7c83.camel@redhat.com> <20190207035258.GD6173@dastard> <20190207052310.GA22726@ziepe.ca> <6b260348-966a-bc95-162b-44ae8265cf03@talpey.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <6b260348-966a-bc95-162b-44ae8265cf03@talpey.com> User-Agent: Mutt/1.11.1 (2018-12-01) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, Feb 07, 2019 at 10:28:05AM -0500, Tom Talpey wrote: > On 2/7/2019 10:04 AM, Chuck Lever wrote: > > > > > > > On Feb 7, 2019, at 12:23 AM, Jason Gunthorpe wrote: > > > > > > On Thu, Feb 07, 2019 at 02:52:58PM +1100, Dave Chinner wrote: > > > > > > > Requiring ODP capable hardware and applications that control RDMA > > > > access to use file leases and be able to cancel/recall client side > > > > delegations (like NFS is already able to do!) seems like a pretty > > > > > > So, what happens on NFS if the revoke takes too long? > > > > NFS distinguishes between "recall" and "revoke". Dave used "recall" > > here, it means that the server recalls the client's delegation. If > > the client doesn't respond, the server revokes the delegation > > unilaterally and other users are allowed to proceed. > > The SMB3 protocol has a similar "lease break" mechanism, btw. > > SMB3 "push mode" has long-expected to allow DAX mapping of files > only when an exclusive lease is held by the requesting client. > The server may recall the lease if the DAX mapping needs to change. > > Once local (MMU) and remote (RDMA) mappings are dropped, the > client may re-request that the server reestablish them. No > connection or process is terminated, and no data is silently lost. How long does one wait for these remote mappings to be dropped? Ira