Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-6.1 required=3.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, MENTIONS_GIT_HOSTING,SPF_PASS,URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 8D5F6C43381 for ; Tue, 26 Feb 2019 20:40:27 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 46A5721852 for ; Tue, 26 Feb 2019 20:40:27 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (1024-bit key) header.d=hammerspace.com header.i=@hammerspace.com header.b="nTORKGgu" Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728766AbfBZUk0 (ORCPT ); Tue, 26 Feb 2019 15:40:26 -0500 Received: from mail-eopbgr820090.outbound.protection.outlook.com ([40.107.82.90]:65184 "EHLO NAM01-SN1-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1727981AbfBZUk0 (ORCPT ); Tue, 26 Feb 2019 15:40:26 -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=8lcs1UZ0YKYqd+7Izw2Q/oyf3L/beySPsbFwu9CqVYw=; b=nTORKGguEqfk01e+DaO5Icu/t/xWpBBlotzL7IyRAza8quV/0HOWut4JnWucBqLZ5tOtzI+vMirertGACRn5AdOiBH+vF1lx4pn+8OP0bFkn2tP/bVl3jjK5qnhcDW22y/Uo+2Ku6+zrCXdtMo8649xR3EMiKYl8ki0o40z71qY= Received: from SN6PR13MB2494.namprd13.prod.outlook.com (52.135.95.148) by SN6PR13MB2573.namprd13.prod.outlook.com (52.135.96.21) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.1665.6; Tue, 26 Feb 2019 20:40:21 +0000 Received: from SN6PR13MB2494.namprd13.prod.outlook.com ([fe80::c1d2:93da:11b5:c4d4]) by SN6PR13MB2494.namprd13.prod.outlook.com ([fe80::c1d2:93da:11b5:c4d4%4]) with mapi id 15.20.1665.012; Tue, 26 Feb 2019 20:40:20 +0000 From: Trond Myklebust To: "tony@atomide.com" CC: "jonathanh@nvidia.com" , "linux-kernel@vger.kernel.org" , "linux-nfs@vger.kernel.org" , "linux-tegra@vger.kernel.org" Subject: Re: Regression: SUNRPC: Use poll() to fix up the socket requeue races Thread-Topic: Regression: SUNRPC: Use poll() to fix up the socket requeue races Thread-Index: AQHUzUhAfjY8UpPesU2cJZ8XbzkbuKXxAJ4AgAAXXgCAAAQNAIABTPwAgAAjYYA= Date: Tue, 26 Feb 2019 20:40:20 +0000 Message-ID: References: <95702994-6762-e42b-06ee-ae945c2137bd@nvidia.com> <88677895-7f89-ae1d-3060-819f4b04f530@nvidia.com> <9b9a6c5e34edea13b3ace42d39d97c27fd21c0db.camel@hammerspace.com> <20190226183340.GD39872@atomide.com> In-Reply-To: <20190226183340.GD39872@atomide.com> 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: 2ccb5f8d-613b-4013-8368-08d69c2aa033 x-microsoft-antispam: BCL:0;PCL:0;RULEID:(2390118)(7020095)(4652040)(8989299)(4534185)(4627221)(201703031133081)(201702281549075)(8990200)(5600127)(711020)(4605104)(2017052603328)(7153060)(7193020);SRVR:SN6PR13MB2573; x-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dYSHQ2cU5vY0xISXgrZ0lPOWxFbHFwOVpD?= =?utf-8?B?aWhHdnVyaDdwSXFNZFpHVmVCSUtFSklyTVZpNkxyd2xsV1hCMnJreVVvaDFv?= =?utf-8?B?d0xiRFArTFgxUHVkN3JxY2RzNC9WWURoYVlUVm9pZndGQkN5cnZZOGFPd0Zl?= =?utf-8?Q?3KheNJzXOWEdSRxtJI6WcIvJh6egjTWd?= x-microsoft-antispam-prvs: x-forefront-prvs: 096029FF66 x-forefront-antispam-report: SFV:NSPM;SFS:(10019020)(346002)(366004)(396003)(136003)(39840400004)(376002)(51234002)(199004)(189003)(8936002)(81156014)(81166006)(86362001)(68736007)(53936002)(71200400001)(71190400001)(446003)(76176011)(486006)(6512007)(6306002)(45080400002)(6436002)(6506007)(53546011)(102836004)(5640700003)(476003)(2616005)(256004)(14454004)(229853002)(54906003)(1730700003)(478600001)(6916009)(966005)(11346002)(2906002)(93886005)(6486002)(97736004)(186003)(25786009)(3846002)(6246003)(66066001)(6116002)(316002)(26005)(118296001)(2501003)(2351001)(99286004)(105586002)(5660300002)(106356001)(8676002)(4326008)(7736002)(305945005)(36756003);DIR:OUT;SFP:1102;SCL:1;SRVR:SN6PR13MB2573;H:SN6PR13MB2494.namprd13.prod.outlook.com;FPR:;SPF:None;LANG:en;PTR:InfoNoRecords;A:1;MX: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: kCMPpFmudqJ6/YhCj85eWieXQorudZK0qnN5WJeiLPugHVwbQNu6PsmJ9Czhjqj/XKyHszhhIneikONopqRyJFpmcqjtUnEqi7gFQwAgbLCDbpDtV2fpIniesPEtIcO04M5m4/oRah7e+j5ehsUHva6aPRiQ5DIuc2FSlufN0+0ms9v+v9y964Sycv3pmg7NP31XlhCkRzpxVLkbsB8bdo8DMuXWTMO5V/R/3YBNNxeMnOnlnREbhB42KyZHM08iAwjtCk/ODNtM+6AHih+b2aob/tBa92AXT8Lqp/nQj0f0P70P8+e4YYF9kzORUwAVOoKlhwiQalgxiT5bWPFVovmGCNEDlL2yrvDnLyMuixJw5X8YJHHpXMQRlLGBAZ3Fi0JNFt4diTrhbVHMXS8zMQmktlV9SCJlxK3pAJB2T3k= Content-Type: text/plain; charset="utf-8" Content-ID: <3130DCFECA879F4686199B76AACCA618@namprd13.prod.outlook.com> Content-Transfer-Encoding: base64 MIME-Version: 1.0 X-OriginatorOrg: hammerspace.com X-MS-Exchange-CrossTenant-Network-Message-Id: 2ccb5f8d-613b-4013-8368-08d69c2aa033 X-MS-Exchange-CrossTenant-originalarrivaltime: 26 Feb 2019 20:40:20.6111 (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-Transport-CrossTenantHeadersStamped: SN6PR13MB2573 Sender: linux-nfs-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-nfs@vger.kernel.org T24gVHVlLCAyMDE5LTAyLTI2IGF0IDEwOjMzIC0wODAwLCBUb255IExpbmRncmVuIHdyb3RlOg0K PiBIaSwNCj4gDQo+ICogVHJvbmQgTXlrbGVidXN0IDx0cm9uZG15QGhhbW1lcnNwYWNlLmNvbT4g WzcwMDEwMSAwMDowMF06DQo+ID4gT24gTW9uLCAyMDE5LTAyLTI1IGF0IDIyOjI3ICswMDAwLCBK b24gSHVudGVyIHdyb3RlOg0KPiA+ID4gT24gMjUvMDIvMjAxOSAyMTowMywgVHJvbmQgTXlrbGVi dXN0IHdyb3RlOg0KPiA+ID4gVGhpcyBpcyBuZnNyb290LiBJIGRvbid0IHNwZWNpZnkgYW55IHBh cnRpY3VsYXIgTkZTIHZlcnNpb24gZnJvbSANCj4gPiA+IHRoZSBrZXJuZWwgY21kbGluZSwgYnV0 IHRoaXMgaXMgc2VlbiB3aXRoIEFSTSBrZXJuZWwgY29uZml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