Received: by 2002:ac0:a5b6:0:0:0:0:0 with SMTP id m51-v6csp3792511imm; Tue, 29 May 2018 13:53:09 -0700 (PDT) X-Google-Smtp-Source: ADUXVKJA2jawMRYmfemfJkPoG7bG9t3UMtG4IFaPJIz3+XzRRhqFIydgjly6+w53m/z6ExQLPWXh X-Received: by 2002:aa7:8009:: with SMTP id j9-v6mr12269pfi.52.1527627189205; Tue, 29 May 2018 13:53:09 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1527627189; cv=none; d=google.com; s=arc-20160816; b=UU6CpapiAJL7ehCLMcKYGQIsv3fGCQpEtc13UoDu02OAkgT4eZhj8KUa2unWW/yE/B vRk0zhj8+J7UMq/lZeVcBkeCMHBxqTAO2qF/yxluNlRHqtTA50Hg24e7M2YKjZPu3hTt roQaVo28wx65A1qWb8dv7vRcwix9GuIiwI9Szx5bz4g7YLGn1ZrcV4PN/oynmSI8xNY/ LY6c3JzkDN8bBuqp7HhjFU/YfVPKhLwN6uz1tsNGPrRVzweXuV9igLL6jfQ+O4xF8bCP w/BnI6JJikY9MsYqhqWZz8Te2zUqUBQOMsnaxJE4SzrHW04F6gxYOvr8Dafa2pDLJTUv KQ1A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:mail-followup-to :message-id:subject:cc:to:from:date:dkim-signature :arc-authentication-results; bh=gCneLmUQ0RZgZi+DPVuYNchAZT/MXg8XnxRf/FX1T3w=; b=EtUuE/ayrXIRoAFNwIkmdu/3cfmW95lp64+RI/2bQbBHg101K9dFsaVvxsJiHUt6If qDfqRLHBNmyX6BRuL3Y4wl/cGYU3V7Eke4/4YYFjrGGqESiYv6Xe8mb3rILqSLi2vPzk /3GIiE2Ta3+5sBnuEHLpjUW+ukWIu4JYLR7dfp4pAXG4V8nqJPgtRQ0SMPwf9SasuFPC Ty4spYjg0wR0zorSjt6y5tq6jyhfsUqgD1Mg/9dCrntV3+xk4vtQ7Y9otxZyDjpCuEvB iBtdB/1+z+i1vCMwP1Xg+xUV03tVILL9D5id3kp7MvOzHzET3etd+K7PaATncOvMaCHe GUOg== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@thunk.org header.s=ef5046eb header.b=lkfFX/im; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id t17-v6si31527207plo.266.2018.05.29.13.52.54; Tue, 29 May 2018 13:53:09 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=fail header.i=@thunk.org header.s=ef5046eb header.b=lkfFX/im; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S966929AbeE2UwE (ORCPT + 99 others); Tue, 29 May 2018 16:52:04 -0400 Received: from imap.thunk.org ([74.207.234.97]:42068 "EHLO imap.thunk.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S966652AbeE2UwB (ORCPT ); Tue, 29 May 2018 16:52:01 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=thunk.org; s=ef5046eb; h=In-Reply-To:Content-Type:MIME-Version:References:Message-ID: Subject:Cc:To:From:Date:Sender:Reply-To:Content-Transfer-Encoding:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:List-Id:List-Help:List-Unsubscribe:List-Subscribe: List-Post:List-Owner:List-Archive; bh=gCneLmUQ0RZgZi+DPVuYNchAZT/MXg8XnxRf/FX1T3w=; b=lkfFX/im9YL5nU4LvVIkmUg3V3 gCpR5T0V6r4lwtjBDqOMmDB0QfnyuHbSA2RyLvRt3rHz9rTtQD8w34c0ST0xZskmk8qFExpXuimne BCgYXBcu11c5w3ikiIsFYxpJlOWZhVpXpR7MbSo5bEzRZgUPcJAM5jVTVioAklg3ULqU=; Received: from root (helo=callcc.thunk.org) by imap.thunk.org with local-esmtp (Exim 4.89) (envelope-from ) id 1fNlaq-0004wP-SO; Tue, 29 May 2018 20:51:44 +0000 Received: by callcc.thunk.org (Postfix, from userid 15806) id 1D7457A60AF; Tue, 29 May 2018 16:51:44 -0400 (EDT) Date: Tue, 29 May 2018 16:51:44 -0400 From: "Theodore Y. Ts'o" To: Kent Overstreet Cc: "Luis R. Rodriguez" , Coly Li , Ciaran Farrell , One Thousand Gnomes , linux-bcache@vger.kernel.org, "linux-kernel@vger.kernel.org" , Greg Kroah-Hartman , Linus Torvalds , Thomas Gleixner , Philippe Ombredanne , Kate Stewart , Jonas Oberg Subject: Re: PostgreSQL licensed code on Linux Message-ID: <20180529205143.GB7381@thunk.org> Mail-Followup-To: "Theodore Y. Ts'o" , Kent Overstreet , "Luis R. Rodriguez" , Coly Li , Ciaran Farrell , One Thousand Gnomes , linux-bcache@vger.kernel.org, "linux-kernel@vger.kernel.org" , Greg Kroah-Hartman , Linus Torvalds , Thomas Gleixner , Philippe Ombredanne , Kate Stewart , Jonas Oberg References: <20180529192643.GA3487@kmo-pixel> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20180529192643.GA3487@kmo-pixel> User-Agent: Mutt/1.10.0 (2018-05-17) X-SA-Exim-Connect-IP: X-SA-Exim-Mail-From: tytso@thunk.org X-SA-Exim-Scanned: No (on imap.thunk.org); SAEximRunCond expanded to false Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, May 29, 2018 at 03:26:43PM -0400, Kent Overstreet wrote: > > That seems to indicate that we've had already PostgreSQL licensed code on > > Linux since Kent's addition of bcache to Linux in 2013. The portion of code > > is rather small though, to me it seems to cover only crc_table[], > > bch_crc64_update(), and bch_crc64(). > > > As silly as it may be we should split out the PostgreSQL licensed code from > > drivers/md/bcache/util.c into its own file and while at it clarify the > > license. While we're at it maybe we should move the crc-64 code to lib and/or crypto, alongside our support for crc-8, crc-16, and crc-32 algorithms? That way if there are other potential users for crc-64, they will be less likely to re-invent the wheel.... - Ted