Received: by 2002:a25:4158:0:0:0:0:0 with SMTP id o85csp4838274yba; Mon, 13 May 2019 00:04:01 -0700 (PDT) X-Google-Smtp-Source: APXvYqwxGRos1f6+avazjO7OdBlsHltYwZmxk4rPIFYlW4X4RAIzjAhv5/yCGyS0JPQnSS7AS/uW X-Received: by 2002:a17:902:822:: with SMTP id 31mr28489346plk.41.1557731040952; Mon, 13 May 2019 00:04:00 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1557731040; cv=none; d=google.com; s=arc-20160816; b=E0leO6NONs5M+AiEeIYyMC8kpV87YWX0xHN8644XUVjj2V1dUn38plcH4sIGy9/Z3Z qzrVehuGhNv7xrRrWM1BBBzVcrn34O4ma1kDA0vHD9+D4iySvEhyA0Ycl5eUePoRCU1S 9JMx4K/+Swij0aE/FrwAcnwLZpEtSfpESSwHw3olhweoVHUlXhOpPfpqD7yvTY2nIit/ nWTNw85ueZp/jIhKcnmhGgPhDxumaS2pOJ/wi0qIhZMFb/Zf0hQZB3UHa0iqkeqXeXn/ cmzv4kLUDBLLbRLkqzWFGr2x0MDYnRIY3nkGlvaduPJHX08xGJpNNF4kBJ9pcGsEqRjN NjLw== 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 :content-language:mime-version:user-agent:date:message-id:subject :from:cc:to; bh=4qlUdXx9bTr4sDLWnZ7B+ps7F14ftdc70XK0t6dWQq8=; b=q/aSRrHSD7ESe3UUNpaTplZRKgfEgZ/H+0hulXRUNcuigurj0tPPtkwH6OUdQYT031 1EUcvkHy2h/luGtgNa0iNmN5kwlNLnRMB1vaVI31o2V7VXkCzM+x092ZadbF8+ewdZXu eoBPO54/4iHPhtgS+7qlZ4b8IKwJMyipOKA6SsunfE8JRhoAwf0ockRqT1WkCPQQ1bd8 hHj0JWDKfPjeNCqKl32/DNH0WrO34vRJYdDyKtvp0lDHcqZZmbVYQFovJoiGy6QH8RLB L4uCT2/chROaVfc1T+AjPa1YKNWZR1s5sCXvASv/soEWZ+knD+x2hUTa5Gk6MihNspmL YFNQ== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-nfs-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-nfs-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=alibaba.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id d31si15217391pla.89.2019.05.13.00.03.33; Mon, 13 May 2019 00:04:00 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-nfs-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-nfs-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-nfs-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=alibaba.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727572AbfEMGtt (ORCPT + 99 others); Mon, 13 May 2019 02:49:49 -0400 Received: from out30-56.freemail.mail.aliyun.com ([115.124.30.56]:34454 "EHLO out30-56.freemail.mail.aliyun.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725866AbfEMGtt (ORCPT ); Mon, 13 May 2019 02:49:49 -0400 X-Alimail-AntiSpam: AC=PASS;BC=-1|-1;BR=01201311R821e4;CH=green;DM=||false|;FP=0|-1|-1|-1|0|-1|-1|-1;HT=e01e04395;MF=wuyihao@linux.alibaba.com;NM=1;PH=DS;RN=6;SR=0;TI=SMTPD_---0TRZiBTY_1557730186; Received: from ali-186590dcce93-2.local(mailfrom:wuyihao@linux.alibaba.com fp:SMTPD_---0TRZiBTY_1557730186) by smtp.aliyun-inc.com(127.0.0.1); Mon, 13 May 2019 14:49:46 +0800 To: linux-nfs@vger.kernel.org, Jeff Layton , "J. Bruce Fields" Cc: Joseph Qi , caspar@linux.alibaba.com From: Yihao Wu Subject: [PATCH v2 0/2] Fix two bugs CB_NOTIFY_LOCK failing to wake a water Message-ID: <346806ac-2018-b780-4939-87f29648017c@linux.alibaba.com> Date: Mon, 13 May 2019 14:49:46 +0800 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.14; rv:60.0) Gecko/20100101 Thunderbird/60.6.1 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit Sender: linux-nfs-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-nfs@vger.kernel.org This patch set fix bugs related to CB_NOTIFY_LOCK. These bugs cause poor performance in locking operation. And this patchset should also fix the failure when running xfstests generic/089 on a NFSv4.1 filesystem. Yihao Wu (2): NFSv4.1: Again fix a race where CB_NOTIFY_LOCK fails to wake a waiter NFSv4.1: Fix bug only first CB_NOTIFY_LOCK is handled fs/nfs/nfs4proc.c | 31 ++++++++++++------------------- 1 file changed, 12 insertions(+), 19 deletions(-) -- 1.8.3.1