From owner-freebsd-fs@freebsd.org Fri May 31 21:50:13 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 B3A0F15C6BB6 for ; Fri, 31 May 2019 21:50:13 +0000 (UTC) (envelope-from rmacklem@uoguelph.ca) Received: from CAN01-TO1-obe.outbound.protection.outlook.com (mail-eopbgr670062.outbound.protection.outlook.com [40.107.67.62]) (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 85B4F85DDA for ; Fri, 31 May 2019 21:50:12 +0000 (UTC) (envelope-from rmacklem@uoguelph.ca) Received: from QB1PR01MB2643.CANPRD01.PROD.OUTLOOK.COM (52.132.86.223) by QB1PR01MB3154.CANPRD01.PROD.OUTLOOK.COM (52.132.86.220) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.1943.17; Fri, 31 May 2019 21:50:10 +0000 Received: from QB1PR01MB2643.CANPRD01.PROD.OUTLOOK.COM ([fe80::a890:15d:5609:414d]) by QB1PR01MB2643.CANPRD01.PROD.OUTLOOK.COM ([fe80::a890:15d:5609:414d%3]) with mapi id 15.20.1922.021; Fri, 31 May 2019 21:50:10 +0000 From: Rick Macklem To: "freebsd-fs@freebsd.org" Subject: 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+ldyQ== Date: Fri, 31 May 2019 21:50:10 +0000 Message-ID: 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: 4edbaaa7-24a7-460f-82a2-08d6e611f477 x-microsoft-antispam: BCL:0; PCL:0; RULEID:(2390118)(7020095)(4652040)(8989299)(4534185)(4627221)(201703031133081)(201702281549075)(8990200)(5600148)(711020)(4605104)(1401327)(2017052603328)(7193020); SRVR:QB1PR01MB3154; x-ms-traffictypediagnostic: QB1PR01MB3154: x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:4502; x-forefront-prvs: 00540983E2 x-forefront-antispam-report: SFV:NSPM; SFS:(10009020)(39860400002)(396003)(366004)(136003)(346002)(376002)(189003)(199004)(2501003)(786003)(316002)(53936002)(71190400001)(71200400001)(7696005)(74316002)(9686003)(99286004)(55016002)(305945005)(256004)(6436002)(14444005)(102836004)(6916009)(2906002)(81156014)(478600001)(25786009)(52536014)(2351001)(86362001)(5660300002)(6506007)(66446008)(486006)(33656002)(74482002)(46003)(4744005)(68736007)(186003)(8676002)(73956011)(66946007)(76116006)(66556008)(66476007)(64756008)(14454004)(81166006)(8936002)(476003); DIR:OUT; SFP:1101; SCL:1; SRVR:QB1PR01MB3154; H:QB1PR01MB2643.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: 6j8FpY7HpvoeAoqmGLEsUkVX2FYtp3o9XK+LYubY86OXQBdJaoznu6+cYzzZhRw4rZeJ1po5HwNJZLRCJby6/yiE+99Cn4olbicVxqQI/0nxsl1FN1jjqfMxP/UwxNazQ0prXqXjPkcLCOEeJROOYAHtLUavSwmJdIjhQyS/jp+dRqvoAMm9uOGCu6ccm4d0aN+KwpnudY2GK0tp86dIbAAxODmlGmN+IaUEWNl+tqFRc81abfkgk4VbYuWwYWfp/4sdAeix+lwITQ0XIYC0+eU2CAlDE9fOdwwCM6b0TDZaR78aGzVsKjxZbJNVqGdkZn4WgC3SWWLYxuuSVHVjlMpZsIo2foWr32vnrTJg6QpXQUwQZSgPw2DVI0azPoDMXqjMY5/0vTzDR5e5gTrK6LRpjA8b2BwjuYBDmfhcbPU= 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: 4edbaaa7-24a7-460f-82a2-08d6e611f477 X-MS-Exchange-CrossTenant-originalarrivaltime: 31 May 2019 21:50:10.9179 (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: QB1PR01MB3154 X-Rspamd-Queue-Id: 85B4F85DDA X-Spamd-Bar: --- Authentication-Results: mx1.freebsd.org; spf=pass (mx1.freebsd.org: domain of rmacklem@uoguelph.ca designates 40.107.67.62 as permitted sender) smtp.mailfrom=rmacklem@uoguelph.ca X-Spamd-Result: default: False [-3.21 / 15.00]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000,0]; FROM_HAS_DN(0.00)[]; R_SPF_ALLOW(-0.20)[+ip4:40.107.0.0/16]; TO_MATCH_ENVRCPT_ALL(0.00)[]; MIME_GOOD(-0.10)[text/plain]; SUBJECT_ENDS_QUESTION(1.00)[]; DMARC_NA(0.00)[uoguelph.ca]; RCPT_COUNT_ONE(0.00)[1]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; RCVD_COUNT_THREE(0.00)[3]; IP_SCORE(-1.02)[ipnet: 40.64.0.0/10(-2.84), asn: 8075(-2.18), country: US(-0.06)]; MX_GOOD(-0.01)[cached: mx2.hc184-76.ca.iphmx.com]; NEURAL_HAM_SHORT(-0.88)[-0.882,0]; RCVD_IN_DNSWL_NONE(0.00)[62.67.107.40.list.dnswl.org : 127.0.3.0]; TO_DN_EQ_ADDR_ALL(0.00)[]; FROM_EQ_ENVFROM(0.00)[]; R_DKIM_NA(0.00)[]; MIME_TRACE(0.00)[0:+]; ASN(0.00)[asn:8075, ipnet:40.64.0.0/10, country:US]; 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: Fri, 31 May 2019 21:50:13 -0000 Hi, I have created a patch for PR#237860 that improves the time it takes to rel= oad the exports file(s) for an NFS file server from seconds->milliseconds by on= ly doing system calls for the changes to the exports file(s). (Assumes each reload i= ncludes changes to only a small fraction of the entries.) I made it a non-default option of "-I", but asomers@ asked why it needed to= be optional. Basically, I made it optional because I felt the patch might still be buggy= and not handle some case of an exports file change that I missed. However, I can see the argument of making it non-optional (or optional but = enabled by default) so that sysadmins don't need to add "-I" to avoid long periods = where the nfsd threads are suspended. If it is broken, the deamon would need to be restarted to do a full reload,= but that would also be the case if a sysadmin specified the "-I" option. So, the question is... "do you think this should be an option or just alway= s enabled?". Thanks , rick