From patchwork Tue Aug 27 19:26:51 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Trond Myklebust X-Patchwork-Id: 11117431 Return-Path: Received: from mail.kernel.org (pdx-korg-mail-1.web.codeaurora.org [172.30.200.123]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 52C0614D5 for ; Tue, 27 Aug 2019 19:26:57 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id DCD6C2189D for ; Tue, 27 Aug 2019 19:26:56 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (1024-bit key) header.d=hammerspace.com header.i=@hammerspace.com header.b="FedWWLBJ" Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1730423AbfH0T04 (ORCPT ); Tue, 27 Aug 2019 15:26:56 -0400 Received: from mail-eopbgr690138.outbound.protection.outlook.com ([40.107.69.138]:4474 "EHLO NAM04-CO1-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1730237AbfH0T0z (ORCPT ); Tue, 27 Aug 2019 15:26:55 -0400 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=KZB6FV+GRl+e/2Gg7CqTgQ15FnQRRSAv9RLAZC26BZNQQ0X0R2Kp/+YSrQLbXUWb/rOAjvy54KDQ/1ZQfxYZz9Uy5ZuwUHIrTIpz5k4oC7Q+rSKfsxI/llRRYUrFBVO7yiM903k24LOn/lD9nsNsdOLl6Fsg/r2anqkuPgIrOyq7wvMeHHQROgtfQMFwQ8vW1Yugnw9LSmUXlbIiXu2Xfa+2yF7Mey2ICwXOfmzko7gIE2ULUTNOX13RPNH0p3c/dXmMJ5BKYxHNur+7dYgd9GuZbnuc5Rfj6SnMjkzNT/2H+rhbAAir3DRkUoblbB6ttequJzOpQc1pMdZRRJLOzw== 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=yDUdbnJDOoJo4CM1/2r34H3XQ43an1qdlhZ1lG8P4Uk=; b=DRQ26lr0m4qE74ds3kiJtRnPnOs8uwMIlDMdyd/Q1vRoXzbljy8whKr798UFVa9Fee84p1uIjcUoA2/3ZuXuDFeCRCnZJDqnIJOI6pPcl1dIXS43Z5g/3JR6JDqKw62vbaUyjHyEBHPRK7eywI9ALGJoOiV+MGR1T2VCwOpqy66jq7zup6xVqEgkdEUFKWtd1D6u/Ja5LdGxjT0sVcD2RzDHniiK/iY58AYKUUovfCnpZj5Ax/MtSBLl0UUmKPJFBEDvQLBpdq4B5wtpnmao+GqAXXoyHLVXhmDKaa/OK6AGa/MSA6WxyS1Smfp0OubqIs9OTbK5ek7i42kkO8sTbw== 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=yDUdbnJDOoJo4CM1/2r34H3XQ43an1qdlhZ1lG8P4Uk=; b=FedWWLBJ1O6Yp1SawqpN4CbCA9WnJ2jcNdMcgMRzBjWyhxHgwJ8PvwPzMhKMH24jolnslf9MNKCP8UVxWmOAQ00gzMwbb8J3BQWGSgK0cAMnGVsMqGOc1ih4VaJHWmFHyQrSzwgJnVubui8MOQUNIbP7nj+RDfyCqliwcuKz6BE= Received: from DM5PR13MB1851.namprd13.prod.outlook.com (10.171.159.143) by DM5PR13MB1452.namprd13.prod.outlook.com (10.175.108.11) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2220.11; Tue, 27 Aug 2019 19:26:51 +0000 Received: from DM5PR13MB1851.namprd13.prod.outlook.com ([fe80::5d60:e645:84a2:be75]) by DM5PR13MB1851.namprd13.prod.outlook.com ([fe80::5d60:e645:84a2:be75%7]) with mapi id 15.20.2220.013; Tue, 27 Aug 2019 19:26:51 +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: AQHVXQ1gF2e8n4lPEEyD9HczfB0lxQ== Date: Tue, 27 Aug 2019 19:26:51 +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: 78d66e38-c1dc-4bf8-5ddf-08d72b248361 x-microsoft-antispam: BCL:0;PCL:0;RULEID:(2390118)(7020095)(4652040)(8989299)(4534185)(4627221)(201703031133081)(201702281549075)(8990200)(5600166)(711020)(4605104)(1401327)(2017052603328)(7193020);SRVR:DM5PR13MB1452; x-ms-traffictypediagnostic: DM5PR13MB1452: x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:1227; x-forefront-prvs: 0142F22657 x-forefront-antispam-report: SFV:NSPM;SFS:(10019020)(366004)(136003)(396003)(376002)(346002)(39840400004)(189003)(199004)(71190400001)(66476007)(2501003)(256004)(102836004)(53936002)(14444005)(76116006)(99286004)(5660300002)(7736002)(36756003)(26005)(66556008)(64756008)(66446008)(186003)(91956017)(6486002)(6512007)(3846002)(6506007)(71200400001)(2616005)(486006)(2906002)(5640700003)(66946007)(476003)(6116002)(66066001)(6916009)(305945005)(2351001)(8936002)(4326008)(81166006)(81156014)(1730700003)(8676002)(118296001)(316002)(14454004)(25786009)(6436002)(86362001)(54906003)(478600001);DIR:OUT;SFP:1102;SCL:1;SRVR:DM5PR13MB1452;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: sYAMkyieKaXNiS9m0MfH7Tb+JnMuYXhxUA74vB5tfW2ahjgIVsqWMRdpLO8PlAT1GiccHS7gbrz/Awxi6SjTzMkunwXnlkxLkPwx0F6T1f7/bScfN/GyLi5uYn1PUXI3snsM8ysVHW5x/Y+lA6281M1b2Ptf8C3NHWukIfrkzRvEUeFpqhm23K4WcChZEbrod8MW9bhjtZe3y7xAAUvKGdJHVt4HChzJmc+1521HudC+9K2VoXkKKtncjyFywpgT31Z71nQ/aBWKT394R5b+OBx9fiib/wXjKpnrX35vleqE33LViBu2T6AVQWirpehelkT7XSUhTzlgUZ0J5/vC98+TCpXAkcsW6BaGPK3M/Z/iuqaqNkG7yYxW2nxDMwsCS5TtnaD4owmIfV7F9bMSyAzgvezQNZHZF7Pig6kV0a4= x-ms-exchange-transport-forked: True Content-ID: <6943D2E51CB41E46A410EB764B20A05E@namprd13.prod.outlook.com> MIME-Version: 1.0 X-OriginatorOrg: hammerspace.com X-MS-Exchange-CrossTenant-Network-Message-Id: 78d66e38-c1dc-4bf8-5ddf-08d72b248361 X-MS-Exchange-CrossTenant-originalarrivaltime: 27 Aug 2019 19:26:51.7868 (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: 5i7U6YpMJo8HaFsSRM8W0khn5BoOm9lWojrqP2z80TDyG7KVhzTCA3+y9+ALeNjGKlcSUwWa7iMlZ/dYXKF7sw== X-MS-Exchange-Transport-CrossTenantHeadersStamped: DM5PR13MB1452 Sender: linux-nfs-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-nfs@vger.kernel.org Hi Linus, The following changes since commit d1abaeb3be7b5fa6d7a1fbbd2e14e3310005c4c1: Linux 5.3-rc5 (2019-08-18 14:31:08 -0700) are available in the Git repository at: git://git.linux-nfs.org/projects/trondmy/linux-nfs.git tags/nfs-for-5.3-3 for you to fetch changes up to 99300a85260c2b7febd57082a617d1062532067e: NFS: remove set but not used variable 'mapping' (2019-08-27 10:24:56 -0400) ---------------------------------------------------------------- NFS client bugfixes for Linux 5.3 Highlights include: Stable fixes: - Fix a page lock leak in nfs_pageio_resend() - Ensure O_DIRECT reports an error if the bytes read/written is 0 - Don't handle errors if the bind/connect succeeded - Revert "NFSv4/flexfiles: Abort I/O early if the layout segment was invalidat ed" Bugfixes: - Don't refresh attributes with mounted-on-file information - Fix return values for nfs4_file_open() and nfs_finish_open() - Fix pnfs layoutstats reporting of I/O errors - Don't use soft RPC calls for pNFS/flexfiles I/O, and don't abort for soft I/O errors when the user specifies a hard mount. - Various fixes to the error handling in sunrpc - Don't report writepage()/writepages() errors twice. ---------------------------------------------------------------- Trond Myklebust (17): NFS: Don't refresh attributes with mounted-on-file information NFSv4: Fix return values for nfs4_file_open() NFSv4: Fix return value in nfs_finish_open() NFSv4/pnfs: Fix a page lock leak in nfs_pageio_resend() NFS: Ensure O_DIRECT reports an error if the bytes read/written is 0 NFS: Fix initialisation of I/O result struct in nfs_pgio_rpcsetup NFS: On fatal writeback errors, we need to call nfs_inode_remove_request() SUNRPC: Don't handle errors if the bind/connect succeeded pNFS/flexfiles: Turn off soft RPC calls SUNRPC: Handle EADDRINUSE and ENOBUFS correctly Revert "NFSv4/flexfiles: Abort I/O early if the layout segment was invalidated" SUNRPC: Handle connection breakages correctly in call_status() pNFS/flexfiles: Don't time out requests on hard mounts NFS: Fix spurious EIO read errors NFS: Fix writepage(s) error handling to not report errors twice NFSv2: Fix eof handling NFSv2: Fix write regression YueHaibing (1): NFS: remove set but not used variable 'mapping' fs/nfs/dir.c | 2 +- fs/nfs/direct.c | 27 ++++++++++++------- fs/nfs/flexfilelayout/flexfilelayout.c | 28 +++++++------------- fs/nfs/inode.c | 33 ++++++++++++++---------- fs/nfs/internal.h | 10 ++++++++ fs/nfs/nfs4file.c | 12 ++++----- fs/nfs/pagelist.c | 19 ++++++++------ fs/nfs/pnfs_nfs.c | 15 +++++++---- fs/nfs/proc.c | 7 +++-- fs/nfs/read.c | 35 ++++++++++++++++++------- fs/nfs/write.c | 38 ++++++++++++--------------- include/linux/sunrpc/sched.h | 1 - net/sunrpc/clnt.c | 47 +++++++++++++++++++++++----------- net/sunrpc/xprt.c | 7 ----- 14 files changed, 163 insertions(+), 118 deletions(-)