From patchwork Thu Aug 8 21:26:49 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Trond Myklebust X-Patchwork-Id: 11084781 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 459AA14DB for ; Thu, 8 Aug 2019 21:26:56 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 3601E28AAC for ; Thu, 8 Aug 2019 21:26:56 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 2A38728AF4; Thu, 8 Aug 2019 21:26:56 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-8.0 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,MAILING_LIST_MULTI,RCVD_IN_DNSWL_HI autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 79CB928AAC for ; Thu, 8 Aug 2019 21:26:55 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2404238AbfHHV0z (ORCPT ); Thu, 8 Aug 2019 17:26:55 -0400 Received: from mail-eopbgr680108.outbound.protection.outlook.com ([40.107.68.108]:12963 "EHLO NAM04-BN3-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S2404237AbfHHV0y (ORCPT ); Thu, 8 Aug 2019 17:26:54 -0400 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=RNdSDvXgFc1ENVTEqqPzw+qq3hmqc7k6a9UI8S/nhajPOiwGdvCaoJba+8z7wbGRs3UD9eQZU5yMGSdLJlSYqHJyVKeloXBt6Yhy7nCBCp7QW3194A1P+BJ59BREdzKuw2+BKQuu6Fr5+VXqMcfBB+4ARVRSoEBVoa+UpVwVgW32aMIBN3O98nG1OqtU+qMGSxfxbpb52kaAxb2Iliy804etnnT4g92p8GLGsNEmuMKQreRMtKm1QDbM0Adz18GHr6My5AjoJ07kHH/qhuY3+i9xb69yZY4djaOCYOR8aO2ZTKT/w3s4xlYliV9wa2PHubpVVlBKRMTZo4jQUbl44w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=4YXzqnmq1TgxBgTdHDGS9gtIZ5BuLJRbeCs967TQs6w=; b=IquZ++xFqztFftDATAcdG0pd5LPreoGLPmOo7HjjxPKW9v9UVUJ8z2uJ3pWZNpJ0hzM4Cb5haQnlYLJ0HYSzN/u0aP2DiVCmOLp9oV9+bOE+1ZqisQjnhf2dTIgRBYyYABZIft8v0HPqPtf2FyD9IpJDaCkJ5HjEj0bFZGdW9vlsEbIFLpMS85cNjoKo/h/qJRlLwqubTJWDlF4UMmJJ0ve9jOSRPlgm69iuPwU8kbbRt0cP5ieMDvpXj4vvn2TCTpE+Ww2aCVv1VJTTG/SixThkrIjwQ9Jo++JbbKJBF2nOK46yxeVuMkrJNK9xNfxCsLH/peKxNHDvYFdpYibifg== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=hammerspace.com; dmarc=pass action=none header.from=hammerspace.com; dkim=pass header.d=hammerspace.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=hammerspace.com; s=selector2; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=4YXzqnmq1TgxBgTdHDGS9gtIZ5BuLJRbeCs967TQs6w=; b=FuC2gdgn/lhC3VQBlwpQrxlVqDC9BaXKSC9RqEyVfWYWg+hDQwWHOpN3mUVHbOQSZT8b/UF21IZKISJ6wt19hNvzaV6qh3+bNNqMS2sO5StW3kzXAOq9JCd9MBLtYGkFSSNTyfBmePd/P+esb2jlviJArjpLjx+KJaBS4NMSLBU= Received: from DM5PR13MB1851.namprd13.prod.outlook.com (10.171.159.143) by DM5PR13MB1738.namprd13.prod.outlook.com (10.171.158.146) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2157.11; Thu, 8 Aug 2019 21:26:49 +0000 Received: from DM5PR13MB1851.namprd13.prod.outlook.com ([fe80::28ef:bf07:4680:dc93]) by DM5PR13MB1851.namprd13.prod.outlook.com ([fe80::28ef:bf07:4680:dc93%5]) with mapi id 15.20.2157.015; Thu, 8 Aug 2019 21:26:49 +0000 From: Trond Myklebust To: "torvalds@linux-foundation.org" CC: "linux-nfs@vger.kernel.org" , "linux-kernel@vger.kernel.org" Subject: [GIT PULL] Please pull NFS client bugfixes Thread-Topic: [GIT PULL] Please pull NFS client bugfixes Thread-Index: AQHVTi/9k4jpO49iQUK+ZoJ/U5JMtg== Date: Thu, 8 Aug 2019 21:26:49 +0000 Message-ID: Accept-Language: en-US, en-GB Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: authentication-results: spf=none (sender IP is ) smtp.mailfrom=trondmy@hammerspace.com; x-originating-ip: [68.40.189.247] x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: 23b9a87d-067c-4653-3bf9-08d71c471f92 x-microsoft-antispam: BCL:0;PCL:0;RULEID:(2390118)(7020095)(4652040)(8989299)(4534185)(4627221)(201703031133081)(201702281549075)(8990200)(5600148)(711020)(4605104)(1401327)(2017052603328)(7193020);SRVR:DM5PR13MB1738; x-ms-traffictypediagnostic: DM5PR13MB1738: x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:1824; x-forefront-prvs: 012349AD1C x-forefront-antispam-report: SFV:NSPM;SFS:(10019020)(376002)(346002)(39830400003)(136003)(396003)(366004)(189003)(199004)(6916009)(118296001)(71190400001)(2501003)(186003)(86362001)(71200400001)(2616005)(5660300002)(14444005)(36756003)(4326008)(26005)(486006)(256004)(8936002)(6506007)(102836004)(478600001)(54906003)(25786009)(476003)(5640700003)(53936002)(305945005)(7736002)(91956017)(66446008)(66556008)(66946007)(66476007)(64756008)(6436002)(2351001)(76116006)(3846002)(8676002)(2906002)(1730700003)(81166006)(316002)(81156014)(6512007)(99286004)(14454004)(6116002)(6486002)(66066001);DIR:OUT;SFP:1102;SCL:1;SRVR:DM5PR13MB1738;H:DM5PR13MB1851.namprd13.prod.outlook.com;FPR:;SPF:None;LANG:en;PTR:InfoNoRecords;MX:1;A:1; received-spf: None (protection.outlook.com: hammerspace.com does not designate permitted sender hosts) x-ms-exchange-senderadcheck: 1 x-microsoft-antispam-message-info: y50BOQXGdjYQwlp9bXNm8NUyOS19OXL3Wgt05+Vi0btdpz0mreACRhR3Nm8URy/OG++XFAa2AWZ4iHpfHZdU+/DMJi6BaieqSB1sK8MaivzXCIlWmxHpVv6VkZ/CUUZAjAmcwRZYuHmhgacgyy/o45JkJr92AU2VLfS7BVv3gOkjcK+3MGsYk/8wNwbA7799WeWhrxtapzXQrV/IVJ38dcRHUTLVenoFGjKqAfgtPiX9dB1arITk0MmU0uq0U2bqrtvJQ1lCxf+1Ei0hK1N/Z62F6dUQ4oSSJHheUt5MZTrbFzlfIDWJTQqpyEQJ8l5xDD40EnGMxgYO7hv5egwqSgBszHb1Y6HD29wUWTdM0dB4+mzeAy++aicmMC3q0jcywZNPpZ6g0gXFRUyVQdQS/0d6Qh/6l9ZuxgSDnPtITJU= x-ms-exchange-transport-forked: True Content-ID: MIME-Version: 1.0 X-OriginatorOrg: hammerspace.com X-MS-Exchange-CrossTenant-Network-Message-Id: 23b9a87d-067c-4653-3bf9-08d71c471f92 X-MS-Exchange-CrossTenant-originalarrivaltime: 08 Aug 2019 21:26:49.2818 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 0d4fed5c-3a70-46fe-9430-ece41741f59e X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-userprincipalname: P/vkexy3umqVdQDqTlQx1oISiwdEcYAMOgio+siGtezaMx1MHrYhBJVQKqKEOGPV9wSml6zL3+fZyf7a0Lw4Bg== X-MS-Exchange-Transport-CrossTenantHeadersStamped: DM5PR13MB1738 Sender: linux-nfs-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-nfs@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP Hi Linus, The following changes since commit e21a712a9685488f5ce80495b37b9fdbe96c230d: Linux 5.3-rc3 (2019-08-04 18:40:12 -0700) are available in the Git repository at: git://git.linux-nfs.org/projects/trondmy/linux-nfs.git tags/nfs-for-5.3-2 for you to fetch changes up to 67e7b52d44e3d539dfbfcd866c3d3d69da23a909: NFSv4: Ensure state recovery handles ETIMEDOUT correctly (2019-08-07 12:55:11 -0400) ---------------------------------------------------------------- NFS client bugfixes for Linux 5.3 Highlights include: Stable fixes: - NFSv4: Ensure we check the return value of update_open_stateid() so we correctly track active open state. - NFSv4: Fix for delegation state recovery to ensure we recover all open modes that are active. - NFSv4: Fix an Oops in nfs4_do_setattr Bugfixes: - NFS: Fix regression whereby fscache errors are appearing on 'nofsc' mounts - NFSv4: Fix a potential sleep while atomic in nfs4_do_reclaim() - NFSv4: Fix a credential refcount leak in nfs41_check_delegation_stateid - pNFS: Report errors from the call to nfs4_select_rw_stateid() - NFSv4: Various other delegation and open stateid recovery fixes - NFSv4: Fix state recovery behaviour when server connection times out ---------------------------------------------------------------- Trond Myklebust (12): NFSv4: Fix a credential refcount leak in nfs41_check_delegation_stateid NFSv4: Fix delegation state recovery NFSv4: Print an error in the syslog when state is marked as irrecoverable NFSv4: When recovering state fails with EAGAIN, retry the same recovery NFSv4: Report the error from nfs4_select_rw_stateid() NFSv4.1: Fix open stateid recovery NFSv4.1: Only reap expired delegations NFSv4: Check the return value of update_open_stateid() NFSv4: Fix a potential sleep while atomic in nfs4_do_reclaim() NFSv4: Fix an Oops in nfs4_do_setattr NFS: Fix regression whereby fscache errors are appearing on 'nofsc' mounts NFSv4: Ensure state recovery handles ETIMEDOUT correctly fs/nfs/delegation.c | 25 ++++++++---- fs/nfs/delegation.h | 2 +- fs/nfs/fscache.c | 7 +++- fs/nfs/fscache.h | 2 +- fs/nfs/nfs4_fs.h | 3 +- fs/nfs/nfs4client.c | 5 ++- fs/nfs/nfs4proc.c | 109 ++++++++++++++++++++++++++++++---------------------- fs/nfs/nfs4state.c | 49 ++++++++++++++++++----- fs/nfs/pnfs.c | 7 +--- fs/nfs/super.c | 1 + 10 files changed, 135 insertions(+), 75 deletions(-)