Received: by 2002:ac0:946b:0:0:0:0:0 with SMTP id j40csp468619imj; Thu, 7 Feb 2019 07:06:05 -0800 (PST) X-Google-Smtp-Source: AHgI3Ia6wpOmDQsPYcjsykBp3deRlxV/1/ozWETOzMTP62mTrXCG5LqPLLIYBHk0Pe3Z2D239C+k X-Received: by 2002:a62:1d8f:: with SMTP id d137mr16450577pfd.11.1549551964952; Thu, 07 Feb 2019 07:06:04 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1549551964; cv=none; d=google.com; s=arc-20160816; b=HvulO0ADWApXUErH+DszFNc96LjzSazhLMNEuOcw3ibw7ZT4nL/WTfXJCg8qbaHUrD 5a6HspCqG6/zwJLCAqR5/JSTF9r6kPhUE/UAWpuACmiind3iRwzaFJFSfvjl4jtZQII2 qQ9kkPWqoHEQPUQ1G9YAT5HC1DJcyYgYiioBoeJX8r2beORPYldX56XUOwG0abtuDVUu PyVbakVT/T2vvJM0dCo8aQQstghwrGDRjS+he8cnCBb1bhpkGHb/WCbjC+W8JIwrlECQ 08RxHhKteC204gekDAbRVWw+HKV1PpaIdZybd3VwK0vKJWBMSgxUx8qPaF6DWcNxsCb4 h1pA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:to:references:message-id :content-transfer-encoding:cc:date:in-reply-to:from:subject :mime-version:dkim-signature; bh=aZ+aUDdPQcdjQqam9OtBRXqMLRv7aniMvESPb0JxeRE=; b=NzNsQ2fVAYp5TlXZUHHq2avkkOO7bXh1orrjrJ55hGENKVC1StqYKbQHkrCDqd1PJL kGNkgdx2MXxPKwTvwamoadLdsk+qgcHF1CD2SoCkSSe1gtQnVWIvBDRZRymUYja7KMvn UAfsOmL/yLo6Qwf0vITQpBikoBgB9P6U/0loXDX0/L+rs/FLPbBMag3nHQ0QArgBhxDp osMr0CvZ2bnH0vht9buncmQgPpAxR4+rs0oom4AuG0OHLik2w91nGQ4au4etLwE8Io3H fYmj4sSeUk4ymK60lXL4KQ2EwQ4QADHGg/Szf6BXBY8bzzqTLmWZ64W1s45fDgCv7QiM 5D1g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@oracle.com header.s=corp-2018-07-02 header.b=OumiwyWk; 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=pass (p=NONE sp=NONE dis=NONE) header.from=oracle.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id q11si3974786pgv.595.2019.02.07.07.05.47; Thu, 07 Feb 2019 07:06:04 -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; dkim=pass header.i=@oracle.com header.s=corp-2018-07-02 header.b=OumiwyWk; 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=pass (p=NONE sp=NONE dis=NONE) header.from=oracle.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726606AbfBGPFg (ORCPT + 99 others); Thu, 7 Feb 2019 10:05:36 -0500 Received: from userp2120.oracle.com ([156.151.31.85]:46702 "EHLO userp2120.oracle.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726037AbfBGPFf (ORCPT ); Thu, 7 Feb 2019 10:05:35 -0500 Received: from pps.filterd (userp2120.oracle.com [127.0.0.1]) by userp2120.oracle.com (8.16.0.27/8.16.0.27) with SMTP id x17ExTYL013909; Thu, 7 Feb 2019 15:05:01 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=oracle.com; h=content-type : mime-version : subject : from : in-reply-to : date : cc : content-transfer-encoding : message-id : references : to; s=corp-2018-07-02; bh=aZ+aUDdPQcdjQqam9OtBRXqMLRv7aniMvESPb0JxeRE=; b=OumiwyWkEOjkb9CQUVsK7I6JwGePiZ3pZsasA8CSeXuSMSNdaURbNEflNhFfKtEWlNbo MXcs//uc0lS3k0ZRZCOANJESSIyBzDG0yRfblq9VmXtPBXu5ZgSeqP8ZMJUdrOtPNYbg 6I8uUEwWcyAvAqmVHvpFje2v/fQoJjQ0ADD4IGUabGU6wQXTRz6py0jFFi9Rrhus56H2 m5SYluTjj4BqVT7lEDg3TDxI+ekZlx3nYVtOJNK/bkoTWxnjBWlx4KG+4y92fjax56X2 nfAh5PplqNjsRmwNBYd3MnMv16Khvdvwql+KkCb8dxN403r8cSNisXxIT4v4YeHNQZJr TA== Received: from userv0021.oracle.com (userv0021.oracle.com [156.151.31.71]) by userp2120.oracle.com with ESMTP id 2qd98nfe0w-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Thu, 07 Feb 2019 15:05:01 +0000 Received: from aserv0121.oracle.com (aserv0121.oracle.com [141.146.126.235]) by userv0021.oracle.com (8.14.4/8.14.4) with ESMTP id x17F4xCX006779 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Thu, 7 Feb 2019 15:05:00 GMT Received: from abhmp0001.oracle.com (abhmp0001.oracle.com [141.146.116.7]) by aserv0121.oracle.com (8.14.4/8.13.8) with ESMTP id x17F4wSl007837; Thu, 7 Feb 2019 15:04:58 GMT Received: from anon-dhcp-171.1015granger.net (/68.61.232.219) by default (Oracle Beehive Gateway v4.0) with ESMTP ; Thu, 07 Feb 2019 15:04:58 +0000 Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 (Mac OS X Mail 12.2 \(3445.102.3\)) Subject: Re: [LSF/MM TOPIC] Discuss least bad options for resolving longterm-GUP usage by RDMA From: Chuck Lever In-Reply-To: <20190207052310.GA22726@ziepe.ca> Date: Thu, 7 Feb 2019 10:04:55 -0500 Cc: Dave Chinner , Doug Ledford , Christopher Lameter , Matthew Wilcox , Jan Kara , Ira Weiny , lsf-pc@lists.linux-foundation.org, linux-rdma , linux-mm@kvack.org, Linux Kernel Mailing List , John Hubbard , Jerome Glisse , Dan Williams , Michal Hocko Content-Transfer-Encoding: 7bit Message-Id: References: <20190205175059.GB21617@iweiny-DESK2.sc.intel.com> <20190206095000.GA12006@quack2.suse.cz> <20190206173114.GB12227@ziepe.ca> <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> To: Jason Gunthorpe X-Mailer: Apple Mail (2.3445.102.3) X-Proofpoint-Virus-Version: vendor=nai engine=5900 definitions=9159 signatures=668682 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 priorityscore=1501 malwarescore=0 suspectscore=0 phishscore=0 bulkscore=0 spamscore=0 clxscore=1011 lowpriorityscore=0 mlxscore=0 impostorscore=0 mlxlogscore=774 adultscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.0.1-1810050000 definitions=main-1902070116 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org > 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. -- Chuck Lever