From patchwork Thu Dec 6 21:55:54 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Trond Myklebust X-Patchwork-Id: 10716813 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 D7C5D17DB for ; Thu, 6 Dec 2018 21:56:40 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id C60A02EE54 for ; Thu, 6 Dec 2018 21:56:40 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id B7C092EE5A; Thu, 6 Dec 2018 21:56:40 +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=-7.7 required=2.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,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 35F1A2EE54 for ; Thu, 6 Dec 2018 21:56:40 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1725945AbeLFV4j (ORCPT ); Thu, 6 Dec 2018 16:56:39 -0500 Received: from mail-eopbgr700138.outbound.protection.outlook.com ([40.107.70.138]:43323 "EHLO NAM04-SN1-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1725936AbeLFV4j (ORCPT ); Thu, 6 Dec 2018 16:56:39 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=hammerspace.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=/4qn6TFUKarmi00sCjxrKagSX+4qfSkoUAvUdkB/i+k=; b=eQabtk/ZeQz5YVcJtosdldT3UsCeSy4q8rjqW4uozmKmazkWm+1Nrv/bXHZGFvVvz+NyyqqtMTPqDLLGAFnyFGdTCc1OyyV76Dxc9QT90T9aYiRT5XRzaqDVmLeIrwi2ZwzxK5BkcEQG/plz+PboaUo/4lAPATeTeUqxA869SyU= Received: from SN6PR13MB2494.namprd13.prod.outlook.com (52.135.95.148) by SN6PR13MB2447.namprd13.prod.outlook.com (52.135.95.27) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.1425.8; Thu, 6 Dec 2018 21:55:55 +0000 Received: from SN6PR13MB2494.namprd13.prod.outlook.com ([fe80::25d2:c29b:5dfa:e85f]) by SN6PR13MB2494.namprd13.prod.outlook.com ([fe80::25d2:c29b:5dfa:e85f%4]) with mapi id 15.20.1404.020; Thu, 6 Dec 2018 21:55:55 +0000 From: Trond Myklebust To: "torvalds@linux-foundation.org" CC: "linux-kernel@vger.kernel.org" , "linux-nfs@vger.kernel.org" Subject: [GIT PULL] Please pull NFS client changes Thread-Topic: [GIT PULL] Please pull NFS client changes Thread-Index: AQHUja522yXVhS/4XU2bS6iU9ZFqgQ== Date: Thu, 6 Dec 2018 21:55:54 +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.195.73] x-ms-publictraffictype: Email x-microsoft-exchange-diagnostics: 1;SN6PR13MB2447;6:4U+2I4g8vkb6p6LH+9YplefEmVP0PS3DJx7bTTJ4aORGZhzVZ9L0rwuDDhRW0IZxS4gacv9g+2pbnRfMC3s4mC10sx1ITp7NlA0gmFNdQBeYOtcEM6poAZPs6dHSR+Dh6BqWb6XmUO2I/VieYUTfwe6l28YU1nb12J7xpusvCZDa516U6UQxL05sPEpRb3jeQj3EiNQgxsdgr6Pr+fgxqmWi6UzshUb3VOEkmnt5AzEVHM7sWinEApaTzlE1GAMHMxkW/RMvSCsY17L5OChBz/jignN69sa/p19AlkRDGyJaF4nIVmN59unT0IjkKMXuP8oo5H5qiAGwJANb98l0j/BFAEscX+wH5vQ/i/5fnCajWUw8w6ATvR16YiKwbeGlbUgdO7FPW8LFepvneB+uGjgMbG8erBQoCi7Rvn0HL6jS7pFkNhj08LaJv16k6zubxFhfdb+nC3g2cUFcYZZ0QQ==;5:/IC0TplLh0XEcmlAu4pvfUOe9IHy2MplfTVKQRolitZ5J7wtEFDxOTrrPuq9IDlGEezSVWB5oMuiVnms9Ffon1VHH3oxPA6wrWacD7l981PuFtQObFrVfplt7MCoOrTBZzIRDiTU9GQHt57QD34gO1tRodETExdWx1UAo2jg0AE=;7:rIqJQampwcppK1QmLKZWeRCfa/SLmwWwdNPc6isffKx0UkvXrpD5Boe1Pz8mPxqmR92yr/ncORxQCKyy1M1X6Gw9jkWQ9ZV+GuMKYpNXuxy+pHm8ZyFizJ3h4WDwxQYEFYm3iAdtAotvdoBX6X6q8A== x-ms-exchange-antispam-srfa-diagnostics: SOS; x-ms-office365-filtering-correlation-id: a7b99c39-6a01-4372-ea6a-08d65bc59909 x-microsoft-antispam: BCL:0;PCL:0;RULEID:(2390098)(7020095)(4652040)(8989299)(4534185)(4627221)(201703031133081)(201702281549075)(8990200)(5600074)(711020)(2017052603328)(7153060)(7193020);SRVR:SN6PR13MB2447; x-ms-traffictypediagnostic: SN6PR13MB2447: x-microsoft-antispam-prvs: x-ms-exchange-senderadcheck: 1 x-exchange-antispam-report-cfa-test: BCL:0;PCL:0;RULEID:(6040522)(2401047)(5005006)(8121501046)(10201501046)(3002001)(93006095)(93001095)(3231455)(999002)(944501520)(52105112)(148016)(149066)(150057)(6041310)(201703131423095)(201702281528075)(20161123555045)(201703061421075)(201703061406153)(20161123558120)(20161123562045)(20161123560045)(20161123564045)(201708071742011)(7699051)(76991095);SRVR:SN6PR13MB2447;BCL:0;PCL:0;RULEID:;SRVR:SN6PR13MB2447; x-forefront-prvs: 087894CD3C x-forefront-antispam-report: SFV:NSPM;SFS:(10019020)(366004)(396003)(346002)(376002)(39830400003)(136003)(189003)(199004)(14454004)(5660300001)(102836004)(6512007)(6916009)(81156014)(186003)(26005)(36756003)(81166006)(476003)(14444005)(256004)(2616005)(99286004)(486006)(6506007)(2351001)(4326008)(53936002)(68736007)(118296001)(66066001)(1730700003)(54906003)(105586002)(2906002)(6486002)(2501003)(7736002)(305945005)(316002)(3846002)(6116002)(575784001)(86362001)(106356001)(97736004)(5640700003)(8936002)(6436002)(8676002)(71200400001)(25786009)(71190400001)(478600001);DIR:OUT;SFP:1102;SCL:1;SRVR:SN6PR13MB2447;H:SN6PR13MB2494.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-microsoft-antispam-message-info: vsrIW/6pXpQ9U5T98nRgirByfpBp45sn7KXNn+FOfJeC3lPMu9jaX5/zR9+5hALZzOj2aoYBnHpubMi75j044Uili0aUFIXlO+kUeFXTh1qFHoXih54vMcPh7/8ybF/t0+WAp+o3tGpzcRTUOJvEgqHPQWbR4SgwZpGZd3RhbnLaAjn2y1hJruCq2io1BVrfs6wM5Fl32q3UVT7zorIivWT/cUE1yl2SZT3HdGiU5sn9/W0DbLgUexWaHGohkmUaeeD8GGqBFEJCfIX1ZSsiY4D7twWXT/BeiOMWq8K/pkjy9YCWp2JB4iaKKm3b+u9WmqZaRyxtbX99kqJi4DdkG3354Zjp40lcMZ1602ADWB0= spamdiagnosticoutput: 1:99 spamdiagnosticmetadata: NSPM Content-ID: MIME-Version: 1.0 X-OriginatorOrg: hammerspace.com X-MS-Exchange-CrossTenant-Network-Message-Id: a7b99c39-6a01-4372-ea6a-08d65bc59909 X-MS-Exchange-CrossTenant-originalarrivaltime: 06 Dec 2018 21:55:55.1641 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 0d4fed5c-3a70-46fe-9430-ece41741f59e X-MS-Exchange-Transport-CrossTenantHeadersStamped: SN6PR13MB2447 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, Apologies for the relatively high volume this late in -rc. This is mainly fallout from the updates to the SUNRPC code that is being triggered from less common combinations of NFS mount options. Cheers Trond The following changes since commit 4b78317679c4f3782a3cff0ddb269c1fcfde7621: Merge branch 'x86-pti-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip (2018-12-01 12:35:48 -0800) are available in the Git repository at: git://git.linux-nfs.org/projects/trondmy/linux-nfs.git tags/nfs-for-4.20-5 for you to fetch changes up to 79462857eb547e5d17fc8445b9768615e02dc1cf: SUNRPC: Don't force a redundant disconnection in xs_read_stream() (2018-12-05 07:11:12 -0500) ---------------------------------------------------------------- NFS client bugfixes for Linux 4.20 Highlights include: Stable fixes: - Fix a page leak when using RPCSEC_GSS/krb5p to encrypt data. Bugfixes: - Fix a regression that causes the RPC receive code to hang - Fix call_connect_status() so that it handles tasks that got transmitted while queued waiting for the socket lock. - Fix a memory leak in call_encode() - Fix several other connect races. - Fix receive code error handling. - Use the discard iterator rather than MSG_TRUNC for compatibility with AF_UNIX/AF_LOCAL sockets. - nfs: don't dirty kernel pages read by direct-io - pnfs/Flexfiles fix to enforce per-mirror stateid only for NFSv4 data servers ---------------------------------------------------------------- Chuck Lever (1): SUNRPC: Fix leak of krb5p encode pages Dave Kleikamp (1): nfs: don't dirty kernel pages read by direct-io Tigran Mkrtchyan (1): flexfiles: enforce per-mirror stateid only for v4 DSes Trond Myklebust (9): SUNRPC: call_connect_status() must handle tasks that got transmitted SUNRPC: Fix a memory leak in call_encode() SUNRPC: Fix a potential race in xprt_connect() SUNRPC: Fix RPC receive hangs SUNRPC: Fix up handling of the XDRBUF_SPARSE_PAGES flag SUNRPC: Treat EFAULT as a truncated message in xs_read_stream_request() SUNRPC: Use the discard iterator rather than MSG_TRUNC SUNRPC: Fix up socket polling SUNRPC: Don't force a redundant disconnection in xs_read_stream() fs/nfs/direct.c | 9 +++- fs/nfs/flexfilelayout/flexfilelayout.c | 6 ++- include/linux/sunrpc/xdr.h | 1 - net/sunrpc/auth_gss/auth_gss.c | 4 ++ net/sunrpc/clnt.c | 8 ++++ net/sunrpc/xprt.c | 13 +++++- net/sunrpc/xprtsock.c | 81 ++++++++++++++++------------------ 7 files changed, 73 insertions(+), 49 deletions(-)