Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1757096AbbDPJMt (ORCPT ); Thu, 16 Apr 2015 05:12:49 -0400 Received: from lb2-smtp-cloud3.xs4all.net ([194.109.24.26]:47181 "EHLO lb2-smtp-cloud3.xs4all.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1757042AbbDPJMm (ORCPT ); Thu, 16 Apr 2015 05:12:42 -0400 Message-ID: <1429175559.16771.47.camel@x220> Subject: Re: [PATCH 3/5 v2] lightnvm: RRPC target From: Paul Bolle To: Matias =?ISO-8859-1?Q?Bj=F8rling?= Cc: hch@infradead.org, axboe@fb.com, linux-fsdevel@vger.kernel.org, linux-kernel@vger.kernel.org, linux-nvme@lists.infradead.org, javier@paletta.io, keith.busch@intel.com Date: Thu, 16 Apr 2015 11:12:39 +0200 In-Reply-To: <1429101284-19490-4-git-send-email-m@bjorling.me> References: <1429101284-19490-1-git-send-email-m@bjorling.me> <1429101284-19490-4-git-send-email-m@bjorling.me> Content-Type: text/plain; charset="UTF-8" X-Mailer: Evolution 3.10.4 (3.10.4-4.fc20) Mime-Version: 1.0 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 2466 Lines: 82 On Wed, 2015-04-15 at 14:34 +0200, Matias Bjørling wrote: > --- /dev/null > +++ b/drivers/lightnvm/Kconfig > +menuconfig NVM > + bool "Open-Channel SSD target support" > + depends on BLK_DEV_NVM > + help > + Say Y here to get to enable Open-channel SSDs. > + > + Open-Channel SSDs implement a set of extension to SSDs, that > + exposes direct access to the underlying non-volatile memory. > + > + If you say N, all options in this submenu will be skipped and disabled > + only do this if you know what you are doing. > + > +if NVM > + > +config NVM_RRPC > + tristate "Round-robin Hybrid Open-Channel SSD" > + depends on BLK_DEV_NVM NVM implies BLK_DEV_NVM so this dependency isn't really needed. > + ---help--- > + Allows an open-channel SSD to be exposed as a block device to the > + host. The target is implemented using a linear mapping table and > + cost-based garbage collection. It is optimized for 4K IO sizes. > + > + See Documentation/nvm-rrpc.txt for details. This file isn't part of this series, is it? > + > +endif # NVM > diff --git a/drivers/lightnvm/Makefile b/drivers/lightnvm/Makefile > new file mode 100644 > index 0000000..80d75a8 > --- /dev/null > +++ b/drivers/lightnvm/Makefile > @@ -0,0 +1,5 @@ > +# > +# Makefile for Open-Channel SSDs. > +# > + > +obj-$(CONFIG_NVM) += rrpc.o I suppose you meant to use obj-$(CONFIG_NVM_RRPC) += rrpc.o because otherwise setting NVM_RRPC has no effect. > --- /dev/null > +++ b/drivers/lightnvm/rrpc.c > + * This program is free software; you can redistribute it and/or > + * modify it under the terms of the GNU General Public License version > + * 2 as published by the Free Software Foundation. > + * > + * This program is distributed in the hope that it will be useful, but > + * WITHOUT ANY WARRANTY; without even the implied warranty of > + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU > + * General Public License for more details. This states the license is GPL v2. > +MODULE_LICENSE("GPL"); And (according to include/linux/module.h) the license ident "GPL" states the license is GPL v2 or later. So either the comment at the top of this file or the license ident needs to change. Thanks, Paul Bolle -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/