Received: by 2002:ac0:e350:0:0:0:0:0 with SMTP id g16csp2702164imn; Tue, 2 Aug 2022 12:44:32 -0700 (PDT) X-Google-Smtp-Source: AGRyM1tcpPqz4bhdk36eWdlljmvCx3bdlPJ7Jt8bWIM03lWUvGBvwkPBNg4VS+xIKeR8UZNOZkHo X-Received: by 2002:a17:907:7f8e:b0:72f:11ec:f5f8 with SMTP id qk14-20020a1709077f8e00b0072f11ecf5f8mr17601969ejc.343.1659469472243; Tue, 02 Aug 2022 12:44:32 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1659469472; cv=none; d=google.com; s=arc-20160816; b=C70nyPLXxRilnN6vEZ9jgMMXwbjZNShKrqWjYal5IeQrRYVGUeXHNFwIalaMR8TXah SsLrjXKVNzqt1UBV2aI0mV/gkw1coXuuR4t7h8q3l/VRweaW8yFdc9dRW6ZKM3v/XEmI AJHUvSxtpG5mG3MzJETWMdaymDpjySCqXarcH5Tpydqef8OhYeA+PLs82otDxfElmkH7 Gphg8ervj5dPcFTjagYgRmacp/W8sVJ6l6+/zK6kfNadDXPRpWkHtdWAK/iifZvGrfQX L6+LsXgv1/nTYLzikBgaFwfksc89/37j0BUhdDTEdJ6DInYoRVjJxImI0Ro4PTz6brU/ PBsQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-transfer-encoding :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:dkim-signature:dkim-signature; bh=wKwulhIx515tBs9KarM3vkMSrD1Pc01HY8nx9DrB6Ko=; b=DzXffHDY0MwzqD6fwctr73xZRmS7jpbrEYo6lfudSsBDqlceRI1xuIv0btPcfuxykF qwdmJTmfhtG/9Mgz7+yb1JbL6WSODLd0eI1Qv9+AlZrXDbs9yJ7caekkDcePsXgvZRxw Ql+hx36DKMHbbHncKUNTd4lfPwWzaW+/F1iclRetCBBZxIAZUxd0s+EnK8i3zeKsVDSU bSqUisyHZmg8Y1ha+zVWOdOI2npoIj+HBQr7lkoUa/lC6LwRRUz0uPLu9+iD+DFUwAqI GqjqmHY4xDVTlZeN/Yjt+6MzPK8MmC38NnpE9u3NTkyamz2jo2fHozERRviZoW/7JciN s+wg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@suse.de header.s=susede2_rsa header.b=lIxgGmgi; dkim=neutral (no key) header.i=@suse.de header.s=susede2_ed25519; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=suse.de Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id sb19-20020a1709076d9300b0070f153ebd89si15524394ejc.7.2022.08.02.12.44.07; Tue, 02 Aug 2022 12:44:32 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@suse.de header.s=susede2_rsa header.b=lIxgGmgi; dkim=neutral (no key) header.i=@suse.de header.s=susede2_ed25519; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=suse.de Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232816AbiHBTg2 (ORCPT + 99 others); Tue, 2 Aug 2022 15:36:28 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:58016 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232210AbiHBTg0 (ORCPT ); Tue, 2 Aug 2022 15:36:26 -0400 Received: from smtp-out1.suse.de (smtp-out1.suse.de [IPv6:2001:67c:2178:6::1c]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 20C2E1903B; Tue, 2 Aug 2022 12:36:25 -0700 (PDT) Received: from imap2.suse-dmz.suse.de (imap2.suse-dmz.suse.de [192.168.254.74]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-521) server-digest SHA512) (No client certificate requested) by smtp-out1.suse.de (Postfix) with ESMTPS id D192A3874B; Tue, 2 Aug 2022 19:36:23 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=suse.de; s=susede2_rsa; t=1659468983; h=from:from:reply-to:date:date:message-id:message-id:to:to:cc:cc: mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=wKwulhIx515tBs9KarM3vkMSrD1Pc01HY8nx9DrB6Ko=; b=lIxgGmgiJjHkY4CpdyLYOyrlEZr6WXWjSxUXwr7T3l6G3upE9bl6mkc06qVICbyJV25D5j NN6IMBnVJ2ikFzF6e3VxiEeAurK54PYq8864I4xh6dLh4NxwezB7QvuJh7TqP2aaMbzwUo 7jVXeZ1t2Lcu0SuoH5FUysm4N4xDEv4= DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=suse.de; s=susede2_ed25519; t=1659468983; h=from:from:reply-to:date:date:message-id:message-id:to:to:cc:cc: mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=wKwulhIx515tBs9KarM3vkMSrD1Pc01HY8nx9DrB6Ko=; b=NQfgJ+ZFnqEBYm9kVtWA/ahzEUqSBoH97VXJ/OSSWF6JgIYf9eKq87vwjCYHFcq5dZwe0B VtNvgOR948PO1lAw== Received: from imap2.suse-dmz.suse.de (imap2.suse-dmz.suse.de [192.168.254.74]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-521) server-digest SHA512) (No client certificate requested) by imap2.suse-dmz.suse.de (Postfix) with ESMTPS id 4438713A8E; Tue, 2 Aug 2022 19:36:23 +0000 (UTC) Received: from dovecot-director2.suse.de ([192.168.254.65]) by imap2.suse-dmz.suse.de with ESMTPSA id qliOAbd86WItbAAAMHmgww (envelope-from ); Tue, 02 Aug 2022 19:36:23 +0000 Date: Tue, 2 Aug 2022 16:36:20 -0300 From: Enzo Matsumiya To: Jeff Layton Cc: linux-cifs@vger.kernel.org, smfrench@gmail.com, pc@cjr.nz, ronniesahlberg@gmail.com, nspmangalore@gmail.com, linux-kernel@vger.kernel.org, linux-fsdevel@vger.kernel.org, tom@talpey.com, samba-technical@lists.samba.org, pshilovsky@samba.org Subject: Re: [RFC PATCH 0/3] Rename "cifs" module to "smbfs" Message-ID: <20220802193620.dyvt5qiszm2pobsr@cyberdelia> References: <20220801190933.27197-1-ematsumiya@suse.de> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1; format=flowed Content-Disposition: inline Content-Transfer-Encoding: quoted-printable In-Reply-To: X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,SPF_HELO_NONE,SPF_PASS autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 08/02, Jeff Layton wrote: >On Mon, 2022-08-01 at 16:09 -0300, Enzo Matsumiya wrote: >> Hi, >> >> As part of the ongoing effort to remove the "cifs" nomenclature from the >> Linux SMB client, I'm proposing the rename of the module to "smbfs". >> >> As it's widely known, CIFS is associated to SMB1.0, which, in turn, is >> associated with the security issues it presented in the past. Using >> "SMBFS" makes clear what's the protocol in use for outsiders, but also >> unties it from any particular protocol version. It also fits in the >> already existing "fs/smbfs_common" and "fs/ksmbd" naming scheme. >> >> This short patch series only changes directory names and includes/ifdefs= in >> headers and source code, and updates docs to reflect the rename. Other >> than that, no source code/functionality is modified (WIP though). >> >> Patch 1/3: effectively changes the module name to "smbfs" and create a >> "cifs" module alias to maintain compatibility (a warning >> should be added to indicate the complete removal/isolation of >> CIFS/SMB1.0 code). >> Patch 2/3: rename the source-code directory to align with the new module >> name >> Patch 3/3: update documentation references to "fs/cifs" or "cifs.ko" or >> "cifs module" to use the new name >> >> Enzo Matsumiya (3): >> cifs: change module name to "smbfs.ko" >> smbfs: rename directory "fs/cifs" -> "fs/smbfs" >> smbfs: update doc references >> ... > >Why do this? My inclination is to say NAK here. > >This seems like a lot of change for not a lot of benefit. Renaming the >directory like this pretty much guarantees that backporting patches >after this change to kernels that existed before it will be very >difficult. Hi Jeff, yes that's a big concern that I've discussed internally with my team as well, since we'll also suffer from those future backports. But, as stated in the commit message, and from what I gathered from Steve, it has been an ongoing wish to have the "cifs" name no longer associated with a module handling SMB2.0 and SMB3.0, as the name brings back old bad memories for several users. There really is no functional benefit for this change, and I have no argument against that. >Also, bear in mind that there used to be an smbfs in the kernel that >predated cifs.ko. That was removed ~2010 though, which is long enough >ago that it shouldn't produce conflicts in currently shipping releases.=A0 Yes, I was aware of this before sending v1, and it got raised again in https://lore.kernel.org/all/20220802135201.4vm36drd5mp57nvv@cyberdelia/ I have no experience on what kind of issues/problems could arise of that, aside from the git commit history being weird. If you ever seen any problems with that happening, please do share. >Jeff Layton I sent a v2 with a new "fs/smb" directory name, but kept "smbfs" as the module name. Sorry I didn't reply to you before that, I got confused as the thread replies all went to different folders in my mailbox. Cheers, Enzo