From nobody Mon Nov 1 15:55:52 2021 X-Original-To: freebsd-stable@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 1EBFA1835B75; Mon, 1 Nov 2021 15:56:01 +0000 (UTC) (envelope-from rmacklem@uoguelph.ca) Received: from CAN01-QB1-obe.outbound.protection.outlook.com (mail-qb1can01on061b.outbound.protection.outlook.com [IPv6:2a01:111:f400:fe5c::61b]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mail.protection.outlook.com", Issuer "DigiCert Cloud Services CA-1" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4Hjd1D5n0Yz3HSC; Mon, 1 Nov 2021 15:56:00 +0000 (UTC) (envelope-from rmacklem@uoguelph.ca) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=QNNymklK2UPeA0LcRPC6yicTyje6NOmVD1zLlXoxbk6KAtmaFhZQgfW44Abnwx1owuAgkuidtosnyMExQ1tLllFLpjoCnebUBQUXMIJX2TUP5T2MUtGSL8jsX+o3VoXEMRZeoDymRIzdb5X6eOOUVyQYQb714vWW/3naoDK3HYcGzXWxK2ucJY3KtM/MDKAO2CTQcpp2YxoLnLr6Z0QNrmjrYOgwCiFa8COked+o9Wtvas7x2HBltkdmYK+g4mXJ4Y/R65zXRVt9qRYvcuWiKA1BVypEUZ5bDSwCUXs+qZDriQoVG9eNwNW0oh5zXh8oZQTlhIkje2V/hMyPnUJPpA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=0DatJwa1dJXQhWUZT2O5GwFTWiW9Y36UJZR+k/LhSs4=; b=mnR5reS4rQO8i6AO6L7F9E/oBBZ9GiJO14t+LuCSwoRHNejAwfwnxknur0vJUQ8OfEfnkpKe85NoUhVx0ysFDpblrXmpF8jxyUrYBv50YjYCdIfXz63hOJThoPfgcyZXTv96M7vimG3aWQNOZ5PvPTO7pkcBY026FReJQXOrGm2gNG7lp16HBBMpHXsiFDLh5eBqMuZ+gk6gtQ0SUCg5E/dZ/zwK3OVs/BNcgaPX59pM+DYzk16Go9PRcztx9Bmeq9R57lNTb27ZUIbtkkjcwenBOARRs0hq2857aleOkmg8SCnCeVDYuC24VgZHfqkLM+E6HSkQmDOaZkWPjgGuPg== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=uoguelph.ca; dmarc=pass action=none header.from=uoguelph.ca; dkim=pass header.d=uoguelph.ca; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=uoguelph.ca; s=selector2; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=0DatJwa1dJXQhWUZT2O5GwFTWiW9Y36UJZR+k/LhSs4=; b=kZodUrPcwXUgcnlBrobEPum4TnYtb3E+LqkuMCBIzLprdmA/JK92winzS3ditdmfFW42Q1iQ6U/SsCAT9Yd+9aBHxi5UZJNDvWT9Wat+EdSKeG7FU7hSIpn9kOp4M6ITR46wQBZ0HV2dMj8L/Tt3eYxNRrWpv7uCfvQxdgw8fL5lyWuUyv5XElS9SGuZFoeGKxbCY1gNGm1cwy6lovnYfpLfgIpozjWaMttSrWzd2Ax1R+uoIQhV3Pej4inQzA8ZXJey/R2qVPRZUIEgdBgLqp5kenQqFToPviJSBQl8jt2cbSzgAi71Isj+uzOJVXYdHa+6YkFL5P7CR4aeqcXLCA== Received: from YQXPR0101MB0968.CANPRD01.PROD.OUTLOOK.COM (2603:10b6:c00:19::29) by QB1PR01MB3476.CANPRD01.PROD.OUTLOOK.COM (2603:10b6:c00:3c::31) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4649.14; Mon, 1 Nov 2021 15:55:52 +0000 Received: from YQXPR0101MB0968.CANPRD01.PROD.OUTLOOK.COM ([fe80::7091:13ac:171f:1c12]) by YQXPR0101MB0968.CANPRD01.PROD.OUTLOOK.COM ([fe80::7091:13ac:171f:1c12%5]) with mapi id 15.20.4649.019; Mon, 1 Nov 2021 15:55:52 +0000 From: Rick Macklem To: Miroslav Lachman <000.fbsd@quip.cz>, Yuri , "freebsd-current@freebsd.org" , freebsd-stable Subject: Re: Deprecating smbfs(5) and removing it before FreeBSD 14 Thread-Topic: Deprecating smbfs(5) and removing it before FreeBSD 14 Thread-Index: AQHXzvvFA1WWxQSLW0uUJGavCusr2KvuZUQAgABpl4U= Date: Mon, 1 Nov 2021 15:55:52 +0000 Message-ID: References: <6f99f9bc-8831-aefe-4f73-72f50f8f347b@aetern.org> <79402464-f9e6-5f56-645e-cfd49640032e@quip.cz> In-Reply-To: <79402464-f9e6-5f56-645e-cfd49640032e@quip.cz> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: suggested_attachment_session_id: 2f489da7-c08d-7d47-366e-c9495048a1f0 x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: 46a1a91d-e685-40e6-8a72-08d99d501538 x-ms-traffictypediagnostic: QB1PR01MB3476: x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:8882; x-ms-exchange-senderadcheck: 1 x-ms-exchange-antispam-relay: 0 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: NbqSr2SZex/oDoXBf4PhJLfGs/adu8G77LJ+M34J5b2jjMF5v1L/QOASuQ1jO1tCzPe3F5QjgqXOZIFrnqOBnhWjxDIW3jNK5Rd5FQlX1Ypm1p6TYYMgPom0cMIzBHds/S4tK2vXzcDJbVMAHRqJ4bfmp7nKKSJ2bvvd2Nt3O0o7Y6JMukPFgKMJ3fMx/l+GXqWPh3c8rEhUfgPdEaKTuH6L2hkuotl83WlQefnhl07cg0pOM79FKXI4P+Px85W4zVE0m3fLhqFEA7HBjd922umVomY92J6TyuKKEDqxAK/amqqiBFgWGu5ORwaCCAjU3wrUb+04QBY4VKPktiXB2ud+4wg4EgGYgSQ8yzAyFg4XrlofBWpARSperMGd8LRd67zmfx9rSOsrf0cXbNiUJQ1bXFXpqAGI0I67MO/j+zFHsq+bn2+T5nbQWtHSDc+tc3Qc6c8o8nS9aVcj5twd1IdnvbslqzeEwVSZkJgOA21MFnbWxAjwD248yb9aMYhYLV7+1hM7aGC8CaNnYZRVdGs7vfVAPPIxO9FAKKMhMa/Z+1GRoloow84Lvq/OM4AE2h7nZXeJPFiPxp1D7+dFDPKO0VGuNA67PsH16tzJooTy/Xp/CbOdDJWttbwdx8E+VYmmrX6pHZPV3uFlqnehYzTVQWIuXfzrw8NgGNhBcNDUZu5NWXC+fuVcF6OZ8LnFCqd0dWPkUZfyLxc64NMtoFRO6naypmI5TKE1RnR1ImS7rU0SL//B7UWL+8ViO6HQ1irGSLOfD7WNGbak87yxm+wMQGRAWPPEmDlhtUxh1ho= x-forefront-antispam-report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:YQXPR0101MB0968.CANPRD01.PROD.OUTLOOK.COM;PTR:;CAT:NONE;SFS:(366004)(2906002)(508600001)(66476007)(38100700002)(66556008)(64756008)(71200400001)(66946007)(66446008)(966005)(122000001)(33656002)(6506007)(83380400001)(76116006)(110136005)(5660300002)(86362001)(7696005)(186003)(8936002)(38070700005)(316002)(8676002)(786003)(52536014)(55016002)(9686003);DIR:OUT;SFP:1101; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?iso-8859-1?Q?og+LHAe0kNaxF0O0Ix6xsA2z4cAIm4IMtjjGcQ1lG8u/xvBSPiCxv4T+08?= =?iso-8859-1?Q?a9VzNATS7hbLX6KGKWscC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?iso-8859-1?Q?aoTEWd8uGYfvDghQdIIWOXIXVV1zlsgaRco+j7bc0kzLyheSzNm6kPZfxe?= =?iso-8859-1?Q?gdpV9YIZEDsiAGRgysESYZolm4AG+E58OITNuPVPETq63/xfVYREthmaVY?= =?iso-8859-1?Q?HiPKzcQbX9lYWAG+xFOytpDlR6SnTIOg8TpJkpSx3wjomE/k+aP+ze2HGo?= =?iso-8859-1?Q?9tv8gcLn+N98J0XZvwk0UzoSwWcK8ekE5fs30daQ5F8tVXKhbXqmGMBiTG?= =?iso-8859-1?Q?BjhGSot9nCNTW1x1XCqtquXaLGBErTJ08K/B/ANVeXg50vJH8IGQufppug?= =?iso-8859-1?Q?OrtmXGZdxTdJUvRMrdOoxXbbVm6CGPVHiRhCqhuUjehzfECDJfkIJjShfp?= =?iso-8859-1?Q?NrkdbyOT9VKBqoiO3FQZZp1hvZbMA87gjGP89coUOKCd4tJQPRxyq+YWmI?= =?iso-8859-1?Q?N5YsNAN1mMoe1S/HkyDuGRXSDhcX9me/5PDmWZ0olECa6Mff4zFayIGPn0?= =?iso-8859-1?Q?DguPoPqBv/pELveb7fVMaKVhfs3XpgBdst7A6zt8NfMTYI9jTqvWV83DSK?= =?iso-8859-1?Q?uLxqodMXDV9mqAPlYWdacKvD1HaA6Em0AUuntuJ4urRPViSZkkLNX976We?= =?iso-8859-1?Q?lKQ/j8GAlNb/pYRhFmRVJ9tGIIzCCo+O8HZSpqCmUBz3wmYUDKjz5akKwS?= =?iso-8859-1?Q?wEVsmblIVqBf94Q9ldBoQs0C3uj2fm6Y4Cvtb4mgaxmTWr0/Y/1yEeX+Ju?= =?iso-8859-1?Q?08Wfq7cknoRhY/uYASxkMBhAGz9pBZg+ffbL5iYeyTFMl7JzkwZp5WKo1x?= =?iso-8859-1?Q?CRXA=3D=3D?= Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable List-Id: Production branch of FreeBSD source code List-Archive: https://lists.freebsd.org/archives/freebsd-stable List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-stable@freebsd.org X-BeenThere: freebsd-stable@freebsd.org MIME-Version: 1.0 X-OriginatorOrg: uoguelph.ca X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-AuthSource: YQXPR0101MB0968.CANPRD01.PROD.OUTLOOK.COM X-MS-Exchange-CrossTenant-Network-Message-Id: 46a1a91d-e685-40e6-8a72-08d99d501538 X-MS-Exchange-CrossTenant-originalarrivaltime: 01 Nov 2021 15:55:52.7957 (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: R1Nosu5IyWHxBKhmk2ppsVDmugQxPyrya2f2Cf383o16ih+1N+zS8dG9RHl4LXh5oVgqmaMkUKFL7J5xgU0vLQ== X-MS-Exchange-Transport-CrossTenantHeadersStamped: QB1PR01MB3476 X-Rspamd-Queue-Id: 4Hjd1D5n0Yz3HSC X-Spamd-Bar: ---- Authentication-Results: mx1.freebsd.org; none X-Spamd-Result: default: False [-4.00 / 15.00]; REPLY(-4.00)[] X-ThisMailContainsUnwantedMimeParts: N Miroslav Lachman wrote:=0A= [good stuff snipped]=0A= > Apple sources can be found there=0A= > https://opensource.apple.com/source/smb/ with all the history from SMBv1= =0A= > to SMBv3. The files have original copyright header from 2001 Boris Popov= =0A= > (same as FreeBSD) but otherwise it is very different code due to=0A= > different kernel interfaces and so on.=0A= > With Apple and Illumos sources it is possible to have smbfs in FreeBSD=0A= > upgraded to v2 or v3 but very skilled programmer is needed for this=0A= > work. And for the past years there is none interested in this work.=0A= =0A= Although I agree that it would be a non-trivial exercise, a lot of the Appl= e=0A= differences are in the "smoke and mirrors" category.=0A= Around OSX 10.4, they changed their VFS/VOP to typedefs and accessor=0A= functions. For example:=0A= "struct vnode *vp" became "vnode_t vp"=0A= and "vp->v_type" became "vnode_type(vp)"=0A= =0A= Ten years ago, the actual semantics were very close to what FreeBSD used.= =0A= If you look at sys/fs/nfs/nfskpiport.h in older sources (around FreeBSD 10)= ,=0A= you'll see a bunch of macros I used to allow the Apple port to also build/r= un=0A= on FreeBSD (a couple, such as vnode_t are still left because I've never got= ten=0A= around to doing the edit to replace them).=0A= =0A= The hard part will be dealing with the actual VFS/VOP semantics changes tha= t=0A= have occurred in the last 10 years.=0A= =0A= Did they stick APSLs on the files? (If so, I think it could still be ok, si= nce the APSL=0A= is a lot like the CDDL. However, I'm not sure if the APSL has ever been ble= ssed=0A= by FreeBSD as of yet?)=0A= =0A= Don't assume anything will happen, but I *might* take a look in the winter,= =0A= since outstanding NFS changes should be done by the end of 2021.=0A= =0A= It does sound like there is some interest in this and that fuse doesn't sol= ve=0A= the problem (at least for everyone).=0A= =0A= rick=0A= =0A= Miroslav Lachman=0A= =0A=