From owner-freebsd-fs@freebsd.org Tue Jun 4 02:03:08 2019 Return-Path: Delivered-To: freebsd-fs@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id CC7C515C4842 for ; Tue, 4 Jun 2019 02:03:08 +0000 (UTC) (envelope-from rmacklem@uoguelph.ca) Received: from CAN01-TO1-obe.outbound.protection.outlook.com (mail-eopbgr670064.outbound.protection.outlook.com [40.107.67.64]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mail.protection.outlook.com", Issuer "GlobalSign Organization Validation CA - SHA256 - G3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 9833081570; Tue, 4 Jun 2019 02:03:07 +0000 (UTC) (envelope-from rmacklem@uoguelph.ca) Received: from YQXPR01MB3128.CANPRD01.PROD.OUTLOOK.COM (52.132.93.160) by YQXPR01MB0279.CANPRD01.PROD.OUTLOOK.COM (10.165.131.139) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.1943.21; Tue, 4 Jun 2019 02:03:06 +0000 Received: from YQXPR01MB3128.CANPRD01.PROD.OUTLOOK.COM ([fe80::f9fe:559f:fdc:9e5a]) by YQXPR01MB3128.CANPRD01.PROD.OUTLOOK.COM ([fe80::f9fe:559f:fdc:9e5a%3]) with mapi id 15.20.1943.018; Tue, 4 Jun 2019 02:03:05 +0000 From: Rick Macklem To: Alan Somers CC: Peter Eriksson , "freebsd-fs@freebsd.org" Subject: Re: RFC: should an incremental reload of exports for mountd be optional? Thread-Topic: RFC: should an incremental reload of exports for mountd be optional? Thread-Index: AQHVF/n5fA6XHqwN4UmNwJInW+ldyaaKg72AgAADv4CAAAwEh4AAAiAAgAAOB/yAAAmQAIAAExYI Date: Tue, 4 Jun 2019 02:03:05 +0000 Message-ID: References: , In-Reply-To: Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: 1999d52e-8cf0-4cb9-d13e-08d6e890c8b1 x-microsoft-antispam: BCL:0; PCL:0; RULEID:(2390118)(7020095)(4652040)(8989299)(4534185)(4627221)(201703031133081)(201702281549075)(8990200)(5600148)(711020)(4605104)(1401327)(2017052603328)(7193020); SRVR:YQXPR01MB0279; x-ms-traffictypediagnostic: YQXPR01MB0279: x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:9508; x-forefront-prvs: 0058ABBBC7 x-forefront-antispam-report: SFV:NSPM; SFS:(10009020)(396003)(376002)(136003)(346002)(366004)(39860400002)(189003)(199004)(71200400001)(68736007)(296002)(81156014)(4744005)(486006)(8676002)(316002)(54906003)(81166006)(8936002)(71190400001)(786003)(14444005)(102836004)(6506007)(55016002)(256004)(76176011)(46003)(11346002)(476003)(186003)(74482002)(5660300002)(6916009)(6246003)(73956011)(7696005)(446003)(76116006)(305945005)(14454004)(52536014)(6436002)(66556008)(64756008)(66446008)(66946007)(66476007)(229853002)(74316002)(25786009)(4326008)(99286004)(9686003)(478600001)(2906002)(86362001)(33656002)(53936002); DIR:OUT; SFP:1101; SCL:1; SRVR:YQXPR01MB0279; H:YQXPR01MB3128.CANPRD01.PROD.OUTLOOK.COM; FPR:; SPF:None; LANG:en; PTR:InfoNoRecords; MX:1; A:1; received-spf: None (protection.outlook.com: uoguelph.ca does not designate permitted sender hosts) x-ms-exchange-senderadcheck: 1 x-microsoft-antispam-message-info: 2aiypY8IuN/YWX7tN52wqR4JBosMnAi5mB7rjjMQ18Xa+P5it+O6xSEKE+tSKIWYHZ+sswvipASgq3/CBAq0uxeCyLMv7id+QDLZHIgoGvpfIUhRg/yT975RrJgMCOj9zddx/2m8FdKuzBx0AsDYlLKBXrBPmDS0ACPdTXCquvcpJ99/9IcKc2/6FVW85jlcofFwTAZRhg1Ea3IRSOxi1pRY4vPsCcd9eoUT7a5BfVJHbyqUbKV7FwiIO53jJ59iQ2A2/DO3yBDudktXxeH/LWiLXseQhfst1rAk6ej6i3m/AjfvyxYbu8Mo3iHLp9p/LfywVhYyaG8UCrpqEnFFbK69xRAIGeyTDWslV354fVXmDM4p6v0X1OI0LLZo8+l6Ybpmdsp9705NCEGSnyb4CIiNbFchPJlXqzOI/s5r2Ko= 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-Network-Message-Id: 1999d52e-8cf0-4cb9-d13e-08d6e890c8b1 X-MS-Exchange-CrossTenant-originalarrivaltime: 04 Jun 2019 02:03:05.8155 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: be62a12b-2cad-49a1-a5fa-85f4f3156a7d X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-userprincipalname: rmacklem@uoguelph.ca X-MS-Exchange-Transport-CrossTenantHeadersStamped: YQXPR01MB0279 X-Rspamd-Queue-Id: 9833081570 X-Spamd-Bar: / Authentication-Results: mx1.freebsd.org; spf=pass (mx1.freebsd.org: domain of rmacklem@uoguelph.ca designates 40.107.67.64 as permitted sender) smtp.mailfrom=rmacklem@uoguelph.ca X-Spamd-Result: default: False [-0.37 / 15.00]; ARC_NA(0.00)[]; TO_DN_EQ_ADDR_SOME(0.00)[]; NEURAL_HAM_MEDIUM(-0.84)[-0.844,0]; RCPT_COUNT_THREE(0.00)[3]; TO_DN_SOME(0.00)[]; R_SPF_ALLOW(-0.20)[+ip4:40.107.0.0/16]; FROM_HAS_DN(0.00)[]; MIME_GOOD(-0.10)[text/plain]; SUBJECT_ENDS_QUESTION(1.00)[]; DMARC_NA(0.00)[uoguelph.ca]; NEURAL_SPAM_SHORT(0.46)[0.464,0]; NEURAL_HAM_LONG(-0.68)[-0.677,0]; RCVD_COUNT_THREE(0.00)[3]; TO_MATCH_ENVRCPT_SOME(0.00)[]; MX_GOOD(-0.01)[cached: mx2.hc184-76.ca.iphmx.com]; RCVD_IN_DNSWL_NONE(0.00)[64.67.107.40.list.dnswl.org : 127.0.3.0]; FROM_EQ_ENVFROM(0.00)[]; R_DKIM_NA(0.00)[]; MIME_TRACE(0.00)[0:+]; RCVD_TLS_LAST(0.00)[] X-BeenThere: freebsd-fs@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Filesystems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 04 Jun 2019 02:03:09 -0000 Alan Somers wrote: >On Mon, Jun 3, 2019 at 6:30 PM Rick Macklem wrote: >> >> Alan Somers wrote: >> >Will a restart of the daemon cause clients to get HUPped if they try >> >to access an exported filesystem while mountd is restarting? >> >-Alan >> I'm not sure what you mean by HUPped, but during a restart of mountd, ex= tant >> mounts should continue to work. > >Perhaps it wasn't SIGHUP, but I recall that a few years ago there was >a problem where all NFS I/O would fail while mountd was reloading. I >think it's the problem that you fixed in r241568. So long as the "-S" option is being specified, there shouldn't be a problem= . With "-S" both the initial load when started/restarted and a reload due to = SIGHUP will suspend the nfsd threads while deleting/loading exports in the kernel. The patch just committed was mainly to make the duration of suspension duri= ng a reload much shorter. rick [stuff snipped]