Whamcloud - gitweb
LU-6142 kgnilnd: SPDX for GNI LND 31/55931/2
authorTimothy Day <timday@amazon.com>
Mon, 5 Aug 2024 03:01:24 +0000 (23:01 -0400)
committerOleg Drokin <green@whamcloud.com>
Fri, 23 Aug 2024 21:56:18 +0000 (21:56 +0000)
Convert from verbose license text to SPDX.

Test-Parameters: trivial
Signed-off-by: Timothy Day <timday@amazon.com>
Change-Id: I429de7ecee8bd42d83401b4ede3a00947ba65210
Reviewed-on: https://review.whamcloud.com/c/fs/lustre-release/+/55931
Tested-by: jenkins <devops@whamcloud.com>
Tested-by: Maloo <maloo@whamcloud.com>
Reviewed-by: Shaun Tancheff <shaun.tancheff@hpe.com>
Reviewed-by: Chris Horn <chris.horn@hpe.com>
Reviewed-by: jsimmons <jsimmons@infradead.org>
Reviewed-by: Oleg Drokin <green@whamcloud.com>
16 files changed:
lnet/klnds/gnilnd/Makefile.in
lnet/klnds/gnilnd/autoMakefile.am
lnet/klnds/gnilnd/gni_pub.h
lnet/klnds/gnilnd/gnilnd.c
lnet/klnds/gnilnd/gnilnd.h
lnet/klnds/gnilnd/gnilnd_api_wrap.h
lnet/klnds/gnilnd/gnilnd_aries.h
lnet/klnds/gnilnd/gnilnd_cb.c
lnet/klnds/gnilnd/gnilnd_conn.c
lnet/klnds/gnilnd/gnilnd_debug.c
lnet/klnds/gnilnd/gnilnd_gemini.h
lnet/klnds/gnilnd/gnilnd_hss_ops.h
lnet/klnds/gnilnd/gnilnd_modparams.c
lnet/klnds/gnilnd/gnilnd_proc.c
lnet/klnds/gnilnd/gnilnd_stack.c
lnet/klnds/gnilnd/gnilnd_sysctl.c

index 14e8c30..aaf89d7 100644 (file)
@@ -1,3 +1,9 @@
+# SPDX-License-Identifier: GPL-2.0
+
+#
+# This file is part of Lustre, http://www.lustre.org/
+#
+
 MODULES := kgnilnd
 kgnilnd-objs := gnilnd.o gnilnd_cb.o gnilnd_modparams.o gnilnd_debug.o gnilnd_proc.o \
                gnilnd_sysctl.o gnilnd_stack.o gnilnd_conn.o
index 888b68e..e01b1df 100644 (file)
@@ -1,7 +1,12 @@
+# SPDX-License-Identifier: GPL-2.0
+
+#
 # Copyright (C) 2009  Cray, Inc.
 #
-# This code is issued under the GNU General Public License.
-# See the file COPYING in this distribution
+
+#
+# This file is part of Lustre, http://www.lustre.org/
+#
 
 if MODULES
 if BUILD_GNILND
index 84b977b..9f5cb09 100644 (file)
@@ -1,24 +1,11 @@
-/* -*- c-basic-offset: 8; indent-tabs-mode: nil -*- */
-/*
-       Contains the user interface to the GNI. Kernel and User level.
-
-       Copyright 2007 Cray Inc. All Rights Reserved.
-       Written by Igor Gorodetsky <igorodet@cray.com>
-
-       This program is free software; you can redistribute it and/or modify it
-       under the terms of the GNU General Public License as published by the
-       Free Software Foundation; either version 2 of the License,
-       or (at your option) any later version.
+/* SPDX-License-Identifier: GPL-2.0 */
 
-       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.
+/* Copyright 2007 Cray Inc. All Rights Reserved. */
 
-       You should have received a copy of the GNU General Public License
-       along with this program; if not, write to the Free Software Foundation, Inc.,
-       51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
-*/
+/* Contains the user interface to the GNI. Kernel and User level.
+ *
+ * Author: Igor Gorodetsky <igorodet@cray.com>
+ */
 
 #ifndef _GNI_PUB_H_
 #define _GNI_PUB_H_
index 675c885..3695176 100644 (file)
@@ -1,27 +1,16 @@
-/*
- * Copyright (C) 2012 Cray, Inc.
+// SPDX-License-Identifier: GPL-2.0
+
+/* Copyright (C) 2012 Cray, Inc.
  *
  * Copyright (c) 2013, 2017, Intel Corporation.
+ */
+
+/* This file is part of Lustre, http://www.lustre.org.
  *
- *   Author: Nic Henke <nic@cray.com>
- *   Author: James Shimek <jshimek@cray.com>
- *
- *   This file is part of Lustre, http://www.lustre.org.
- *
- *   Lustre is free software; you can redistribute it and/or
- *   modify it under the terms of version 2 of the GNU General Public
- *   License as published by the Free Software Foundation.
- *
- *   Lustre 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.
- *
- *   You should have received a copy of the GNU General Public License
- *   along with Lustre; if not, write to the Free Software
- *   Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
- *
+ * Author: Nic Henke <nic@cray.com>
+ * Author: James Shimek <jshimek@cray.com>
  */
+
 #include "gnilnd.h"
 
 static int
index ba15636..1bae528 100644 (file)
@@ -1,30 +1,19 @@
-/*
- * Copyright (C) 2004 Cluster File Systems, Inc.
+/* SPDX-License-Identifier: GPL-2.0 */
+
+/* Copyright (C) 2004 Cluster File Systems, Inc.
  *
  * Copyright (C) 2009-2012 Cray, Inc.
  *
  * Copyright (c) 2014, 2016, Intel Corporation.
+ */
+
+/* This file is part of Lustre, http://www.lustre.org.
  *
- *   Derived from work by: Eric Barton <eric@bartonsoftware.com>
- *   Author: Nic Henke <nic@cray.com>
- *   Author: James Shimek <jshimek@cray.com>
- *
- *   This file is part of Lustre, http://www.lustre.org.
- *
- *   Lustre is free software; you can redistribute it and/or
- *   modify it under the terms of version 2 of the GNU General Public
- *   License as published by the Free Software Foundation.
- *
- *   Lustre 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.
- *
- *   You should have received a copy of the GNU General Public License
- *   along with Lustre; if not, write to the Free Software
- *   Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
- *
+ * Derived from work by: Eric Barton <eric@bartonsoftware.com>
+ * Author: Nic Henke <nic@cray.com>
+ * Author: James Shimek <jshimek@cray.com>
  */
+
 #ifndef _GNILND_GNILND_H_
 #define _GNILND_GNILND_H_
 
index 91b822c..5c6fc5c 100644 (file)
@@ -1,24 +1,12 @@
-/*
- * Copyright (C) 2009-2012 Cray, Inc.
- *
- *   Author: Nic Henke <nic@cray.com>
- *
- *   This file is part of Lustre, http://www.lustre.org.
- *
- *   Lustre is free software; you can redistribute it and/or
- *   modify it under the terms of version 2 of the GNU General Public
- *   License as published by the Free Software Foundation.
- *
- *   Lustre 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.
- *
- *   You should have received a copy of the GNU General Public License
- *   along with Lustre; if not, write to the Free Software
- *   Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
+/* SPDX-License-Identifier: GPL-2.0 */
+
+/* Copyright (C) 2009-2012 Cray, Inc. */
+
+/* This file is part of Lustre, http://www.lustre.org.
  *
+ * Author: Nic Henke <nic@cray.com>
  */
+
 #ifndef _GNILND_API_WRAP_H
 #define _GNILND_API_WRAP_H
 
index 431442f..cee718a 100644 (file)
@@ -1,26 +1,15 @@
-/*
- * Copyright (C) 2009-2012 Cray, Inc.
+/* SPDX-License-Identifier: GPL-2.0 */
+
+/* Copyright (C) 2009-2012 Cray, Inc.
  *
  * Copyright (c) 2014, Intel Corporation.
+ */
+
+/* This file is part of Lustre, http://www.lustre.org.
  *
- *   Author: Nic Henke <nic@cray.com>, James Shimek <jshimek@cray.com>
- *
- *   This file is part of Lustre, http://www.lustre.org.
- *
- *   Lustre is free software; you can redistribute it and/or
- *   modify it under the terms of version 2 of the GNU General Public
- *   License as published by the Free Software Foundation.
- *
- *   Lustre 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.
- *
- *   You should have received a copy of the GNU General Public License
- *   along with Lustre; if not, write to the Free Software
- *   Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
- *
+ * Author: Nic Henke <nic@cray.com>, James Shimek <jshimek@cray.com>
  */
+
 #ifndef _GNILND_ARIES_H
 #define _GNILND_ARIES_H
 
index 1f429aa..a1d7255 100644 (file)
@@ -1,27 +1,15 @@
-/*
- * Copyright (C) 2004 Cluster File Systems, Inc.
+// SPDX-License-Identifier: GPL-2.0
+
+/* Copyright (C) 2004 Cluster File Systems, Inc.
  *
  * Copyright (C) 2009-2012 Cray, Inc.
+ */
+
+/* This file is part of Lustre, http://www.lustre.org.
  *
- *   Derived from work by Eric Barton <eric@bartonsoftware.com>
- *   Author: James Shimek <jshimek@cray.com>
- *   Author: Nic Henke <nic@cray.com>
- *
- *   This file is part of Lustre, http://www.lustre.org.
- *
- *   Lustre is free software; you can redistribute it and/or
- *   modify it under the terms of version 2 of the GNU General Public
- *   License as published by the Free Software Foundation.
- *
- *   Lustre 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.
- *
- *   You should have received a copy of the GNU General Public License
- *   along with Lustre; if not, write to the Free Software
- *   Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
- *
+ * Derived from work by Eric Barton <eric@bartonsoftware.com>
+ * Author: James Shimek <jshimek@cray.com>
+ * Author: Nic Henke <nic@cray.com>
  */
 
 #include <asm/page.h>
index f559308..f8c4c26 100644 (file)
@@ -1,26 +1,14 @@
-/*
- * Copyright (C) 2012 Cray, Inc.
+// SPDX-License-Identifier: GPL-2.0
+
+/* Copyright (C) 2012 Cray, Inc.
  *
  * Copyright (c) 2014, Intel Corporation.
+ */
+
+/* This file is part of Lustre, http://www.lustre.org.
  *
- *   Author: Nic Henke <nic@cray.com>
- *   Author: James Shimek <jshimek@cray.com>
- *
- *   This file is part of Lustre, http://www.lustre.org.
- *
- *   Lustre is free software; you can redistribute it and/or
- *   modify it under the terms of version 2 of the GNU General Public
- *   License as published by the Free Software Foundation.
- *
- *   Lustre 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.
- *
- *   You should have received a copy of the GNU General Public License
- *   along with Lustre; if not, write to the Free Software
- *   Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
- *
+ * Author: Nic Henke <nic@cray.com>
+ * Author: James Shimek <jshimek@cray.com>
  */
 
 #include "gnilnd.h"
index 00f3c0f..0b24e67 100644 (file)
@@ -1,24 +1,12 @@
-/*
- * Copyright (C) 2009-2012 Cray, Inc.
- *
- *   Author: Nic Henke <nic@cray.com>
- *
- *   This file is part of Lustre, http://www.lustre.org.
- *
- *   Lustre is free software; you can redistribute it and/or
- *   modify it under the terms of version 2 of the GNU General Public
- *   License as published by the Free Software Foundation.
- *
- *   Lustre 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.
- *
- *   You should have received a copy of the GNU General Public License
- *   along with Lustre; if not, write to the Free Software
- *   Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
+// SPDX-License-Identifier: GPL-2.0
+
+/* Copyright (C) 2009-2012 Cray, Inc. */
+
+/* This file is part of Lustre, http://www.lustre.org.
  *
+ * Author: Nic Henke <nic@cray.com>
  */
+
 #include "gnilnd.h"
 
 void
index 4cb36a9..e9d5f8e 100644 (file)
@@ -1,25 +1,13 @@
-/*
- * Copyright (C) 2009-2012 Cray, Inc.
- *
- *   Author: Nic Henke <nic@cray.com>
- *   Author: James Shimek <jshimek@cray.com>
- *
- *   This file is part of Lustre, http://www.lustre.org.
- *
- *   Lustre is free software; you can redistribute it and/or
- *   modify it under the terms of version 2 of the GNU General Public
- *   License as published by the Free Software Foundation.
- *
- *   Lustre 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.
- *
- *   You should have received a copy of the GNU General Public License
- *   along with Lustre; if not, write to the Free Software
- *   Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
+/* SPDX-License-Identifier: GPL-2.0 */
+
+/* Copyright (C) 2009-2012 Cray, Inc. */
+
+/* This file is part of Lustre, http://www.lustre.org.
  *
+ * Author: Nic Henke <nic@cray.com>
+ * Author: James Shimek <jshimek@cray.com>
  */
+
 #ifndef _GNILND_GEMINI_H
 #define _GNILND_GEMINI_H
 
index 8e5a902..d77615b 100644 (file)
@@ -1,25 +1,13 @@
-/*
- * Copyright (C) 2009-2012 Cray, Inc.
- *
- *   Author: Nic Henke <nic@cray.com>
- *   Author: James Shimek <jshimek@cray.com>
- *
- *   This file is part of Lustre, http://www.lustre.org.
- *
- *   Lustre is free software; you can redistribute it and/or
- *   modify it under the terms of version 2 of the GNU General Public
- *   License as published by the Free Software Foundation.
- *
- *   Lustre 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.
- *
- *   You should have received a copy of the GNU General Public License
- *   along with Lustre; if not, write to the Free Software
- *   Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
+/* SPDX-License-Identifier: GPL-2.0 */
+
+/* Copyright (C) 2009-2012 Cray, Inc. */
+
+/* This file is part of Lustre, http://www.lustre.org.
  *
+ * Author: Nic Henke <nic@cray.com>
+ * Author: James Shimek <jshimek@cray.com>
  */
+
 #ifndef _GNILND_HSS_OPS_H
 #define _GNILND_HSS_OPS_H
 
index c1814a6..4a1bc74 100644 (file)
@@ -1,26 +1,14 @@
-/*
- * Copyright (C) 2004 Cluster File Systems, Inc.
+// SPDX-License-Identifier: GPL-2.0
+
+/* Copyright (C) 2004 Cluster File Systems, Inc.
  *
  * Copyright (C) 2009-2012 Cray, Inc.
+ */
+
+/* This file is part of Lustre, http://www.lustre.org.
  *
- *   Derived from work by: Eric Barton <eric@bartonsoftware.com>
- *   Author: Nic Henke <nic@cray.com>
- *
- *   This file is part of Lustre, http://www.lustre.org.
- *
- *   Lustre is free software; you can redistribute it and/or
- *   modify it under the terms of version 2 of the GNU General Public
- *   License as published by the Free Software Foundation.
- *
- *   Lustre 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.
- *
- *   You should have received a copy of the GNU General Public License
- *   along with Lustre; if not, write to the Free Software
- *   Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
- *
+ * Derived from work by: Eric Barton <eric@bartonsoftware.com>
+ * Author: Nic Henke <nic@cray.com>
  */
 
 #include "gnilnd.h"
index 983d06e..d84dc0b 100644 (file)
@@ -1,25 +1,14 @@
-/*
- * Copyright (C) 2009-2012, 2016 Cray, Inc.
+// SPDX-License-Identifier: GPL-2.0
+
+/* Copyright (C) 2009-2012, 2016 Cray, Inc.
  *
  * Copyright (c) 2013, 2015, Intel Corporation.
+ */
+
+/* This file is part of Lustre, http://www.lustre.org.
  *
- *   Author: Nic Henke <nic@cray.com>
- *   Author: James Shimek <jshimek@cray.com>
- *
- *   This file is part of Lustre, http://www.lustre.org.
- *
- *   Lustre is free software; you can redistribute it and/or
- *   modify it under the terms of version 2 of the GNU General Public
- *   License as published by the Free Software Foundation.
- *
- *   Lustre 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.
- *
- *   You should have received a copy of the GNU General Public License
- *   along with Lustre; if not, write to the Free Software
- *   Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
+ * Author: Nic Henke <nic@cray.com>
+ * Author: James Shimek <jshimek@cray.com>
  */
 
 /* this code liberated and modified from lnet/lnet/router_proc.c */
index e3237f1..824d873 100644 (file)
@@ -1,26 +1,15 @@
-/*
- * Copyright (C) 2012 Cray, Inc.
+// SPDX-License-Identifier: GPL-2.0
+
+/* Copyright (C) 2012 Cray, Inc.
  *
  * Copyright (c) 2014, Intel Corporation.
+ */
+
+/* This file is part of Lustre, http://www.lustre.org.
  *
- *   Author: Nic Henke <nic@cray.com>
- *
- *   This file is part of Lustre, http://www.lustre.org.
- *
- *   Lustre is free software; you can redistribute it and/or
- *   modify it under the terms of version 2 of the GNU General Public
- *   License as published by the Free Software Foundation.
- *
- *   Lustre 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.
- *
- *   You should have received a copy of the GNU General Public License
- *   along with Lustre; if not, write to the Free Software
- *   Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
- *
+ * Author: Nic Henke <nic@cray.com>
  */
+
 #include "gnilnd.h"
 #if defined(GNILND_USE_RCA)
 #include <rsms/rs_sm_states.h>
index c95f8d6..260f62c 100644 (file)
@@ -1,25 +1,14 @@
-/*
- * Copyright (C) 2012 Cray, Inc.
+// SPDX-License-Identifier: GPL-2.0
+
+/* Copyright (C) 2012 Cray, Inc.
  *
  * Copyright (c) 2014, Intel Corporation.
+ */
+
+/* This file is part of Lustre, http://www.lustre.org.
  *
- *   Author: Nic Henke <nic@cray.com>
- *   Author: James Shimek <jshimek@cray.com>
- *
- *   This file is part of Lustre, http://www.lustre.org.
- *
- *   Lustre is free software; you can redistribute it and/or
- *   modify it under the terms of version 2 of the GNU General Public
- *   License as published by the Free Software Foundation.
- *
- *   Lustre 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.
- *
- *   You should have received a copy of the GNU General Public License
- *   along with Lustre; if not, write to the Free Software
- *   Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
+ * Author: Nic Henke <nic@cray.com>
+ * Author: James Shimek <jshimek@cray.com>
  */
 
 /* this code liberated and modified from Lustre */