From owner-freebsd-fs@freebsd.org Sun Dec 11 08:58:05 2016 Return-Path: Delivered-To: freebsd-fs@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id D088CC7212F for ; Sun, 11 Dec 2016 08:58:05 +0000 (UTC) (envelope-from rmacklem@uoguelph.ca) Received: from na01-by2-obe.outbound.protection.outlook.com (mail-by2on0059.outbound.protection.outlook.com [207.46.100.59]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-SHA384 (256/256 bits)) (Client CN "mail.protection.outlook.com", Issuer "Microsoft IT SSL SHA2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 8C35086C for ; Sun, 11 Dec 2016 08:58:04 +0000 (UTC) (envelope-from rmacklem@uoguelph.ca) Received: from YTXPR01MB0189.CANPRD01.PROD.OUTLOOK.COM (10.165.218.133) by YTXPR01MB0191.CANPRD01.PROD.OUTLOOK.COM (10.165.218.135) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P384) id 15.1.761.9; Sat, 10 Dec 2016 21:23:27 +0000 Received: from YTXPR01MB0189.CANPRD01.PROD.OUTLOOK.COM ([10.165.218.133]) by YTXPR01MB0189.CANPRD01.PROD.OUTLOOK.COM ([10.165.218.133]) with mapi id 15.01.0761.020; Sat, 10 Dec 2016 21:23:27 +0000 From: Rick Macklem To: "freebsd-fs@freebsd.org" Subject: patch that fixes server reboot recovery problems for the NFSV4.1 client for review Thread-Topic: patch that fixes server reboot recovery problems for the NFSV4.1 client for review Thread-Index: AQHSUytZi+M4mCebf0iF2f6xxpfr1w== Date: Sat, 10 Dec 2016 21:23:27 +0000 Message-ID: Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: authentication-results: spf=none (sender IP is ) smtp.mailfrom=rmacklem@uoguelph.ca; x-ms-office365-filtering-correlation-id: e379ded0-e4c6-4d04-5698-08d42142c813 x-microsoft-antispam: UriScan:;BCL:0;PCL:0;RULEID:(22001);SRVR:YTXPR01MB0191; x-microsoft-exchange-diagnostics: 1; YTXPR01MB0191; 7:dSa2ptv8/FU1HIK+QU0ih/Q8ZT3D6YW0I5XYL5orXl1F6ur9wxTrTnDVY+kbZ0zCiYf9aOO6AWEIy5ej8XXxzOc47ws0aD3WTINsXrcry5uEyoHG/I+yAh7+5rPL9YBk6AxDc25KNrIpaeFd36Ui3K0WlGPt1O/AJX5qnDw35owLokPrZRpyTqjIlJoc8CzKgkKlgfSihgTZuThHz0G5zRuBqaLAQGRpUhPvkCKaxtaRYJh0Hy9wEMF+lisg63cOmpHJGxgjpq/q5ggbI1Cx4zI8pvUWGXAxiKx1yjqpHPgYku3fBxrH8xRd51Sj7Zo4rTMWB0+VeZwhDXrhqjAsg+fahSM8w6Y9nB37wLZ3h3UOqVpjdOMWuv57J/XHtd65ReqMtHgn5hK6ot+6gqmg3KNZ5qCzWymQ5OderR9otitAvQWwBF/Lydxu8GGxFglfvR02vLPeEfuSIZUHWSCMcg== x-microsoft-antispam-prvs: x-exchange-antispam-report-test: UriScan:(158342451672863); x-exchange-antispam-report-cfa-test: BCL:0; PCL:0; RULEID:(6040375)(2401047)(5005006)(8121501046)(3002001)(10201501046)(6041248)(20161123555025)(20161123564025)(20161123562025)(20161123560025)(6072148); SRVR:YTXPR01MB0191; BCL:0; PCL:0; RULEID:; SRVR:YTXPR01MB0191; x-forefront-prvs: 0152EBA40F x-forefront-antispam-report: SFV:NSPM; SFS:(10009020)(6009001)(7916002)(39450400003)(189002)(199003)(8936002)(33656002)(122556002)(5660300001)(101416001)(9686002)(6916009)(50986999)(54356999)(450100001)(3280700002)(97736004)(7696004)(92566002)(110136003)(107886002)(2906002)(8676002)(189998001)(74482002)(305945005)(2351001)(102836003)(106356001)(106116001)(105586002)(74316002)(81156014)(77096006)(3660700001)(38730400001)(86362001)(81166006)(68736007)(5640700002)(6436002)(2501003)(6506006)(2900100001); DIR:OUT; SFP:1101; SCL:1; SRVR:YTXPR01MB0191; H:YTXPR01MB0189.CANPRD01.PROD.OUTLOOK.COM; FPR:; SPF:None; PTR:InfoNoRecords; MX:1; A:1; LANG:en; received-spf: None (protection.outlook.com: uoguelph.ca does not designate permitted sender hosts) spamdiagnosticoutput: 1:99 spamdiagnosticmetadata: NSPM Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-OriginatorOrg: uoguelph.ca X-MS-Exchange-CrossTenant-originalarrivaltime: 10 Dec 2016 21:23:27.2099 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: be62a12b-2cad-49a1-a5fa-85f4f3156a7d X-MS-Exchange-Transport-CrossTenantHeadersStamped: YTXPR01MB0191 X-BeenThere: freebsd-fs@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Filesystems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 11 Dec 2016 08:58:05 -0000 There is now a patch at: https://reviews.freebsd.org/D8745 that fixes assorted problems w.r.t. the NFSv4.1 client doing recovery after= a server reboot (reply of NFS4ERR_BAD_SESSION to an RPC). Please test/review/comment on it. It is fairly large, but I do not believe it will affect the NFS client in o= ther ways than the NFSv4.1 recovery. This recovery seldom happens for most servers, but it appears that AmazonEFS is an exception. Thanks, rick