Whamcloud - gitweb
LU-6142 misc: SPDX for lustre-iokit 80/54180/2
authorTimothy Day <timday@amazon.com>
Sun, 25 Feb 2024 19:39:04 +0000 (19:39 +0000)
committerOleg Drokin <green@whamcloud.com>
Tue, 2 Apr 2024 20:58:43 +0000 (20:58 +0000)
Convert from verbose license text to SPDX.

Test-Parameters: trivial
Signed-off-by: Timothy Day <timday@amazon.com>
Change-Id: I70f0c1387bcfe2dbe862a292ccb0f549e4e80d31
Reviewed-on: https://review.whamcloud.com/c/fs/lustre-release/+/54180
Tested-by: jenkins <devops@whamcloud.com>
Tested-by: Maloo <maloo@whamcloud.com>
Reviewed-by: Arshad Hussain <arshad.hussain@aeoncomputing.com>
Reviewed-by: James Simmons <jsimmons@infradead.org>
Reviewed-by: Oleg Drokin <green@whamcloud.com>
23 files changed:
lustre-iokit/Makefile.am
lustre-iokit/ior-survey/Makefile.am
lustre-iokit/ior-survey/iokit-parse-ior
lustre-iokit/ior-survey/ior-survey
lustre-iokit/lst-survey/Makefile.am
lustre-iokit/lst-survey/lst-survey
lustre-iokit/lst-survey/lst.sh
lustre-iokit/mds-survey/Makefile.am
lustre-iokit/mds-survey/mds-survey
lustre-iokit/obdfilter-survey/Makefile.am
lustre-iokit/obdfilter-survey/iokit-libecho
lustre-iokit/obdfilter-survey/iokit-plot-obdfilter
lustre-iokit/obdfilter-survey/obdfilter-survey
lustre-iokit/ost-survey/Makefile.am
lustre-iokit/ost-survey/iokit-plot-ost
lustre-iokit/ost-survey/ost-survey
lustre-iokit/sgpdd-survey/Makefile.am
lustre-iokit/sgpdd-survey/iokit-plot-sgpdd
lustre-iokit/sgpdd-survey/sgpdd-survey
lustre-iokit/stats-collect/Makefile.am
lustre-iokit/stats-collect/iokit-config
lustre-iokit/stats-collect/iokit-gather-stats
lustre-iokit/stats-collect/iokit-lstats

index 1803399..70c1674 100644 (file)
@@ -1,2 +1,8 @@
+# SPDX-License-Identifier: GPL-2.0
+
+#
+# This file is part of Lustre, http://www.lustre.org/
+#
+
 SUBDIRS = obdfilter-survey sgpdd-survey ost-survey ior-survey
 SUBDIRS += mds-survey stats-collect lst-survey
index 8ab5117..469a20f 100644 (file)
@@ -1,3 +1,9 @@
+# SPDX-License-Identifier: GPL-2.0
+
+#
+# This file is part of Lustre, http://www.lustre.org/
+#
+
 bin_SCRIPTS = ior-survey iokit-parse-ior
 CLEANFILE = $(bin_SCRIPTS)
 EXTRA_DIST = README.ior-survey ior-survey iokit-parse-ior
index f0753c4..de29ca7 100644 (file)
@@ -1,6 +1,9 @@
 #!/usr/bin/perl -w
+# SPDX-License-Identifier: GPL-2.0
 
-# arg 0 is filename
+#
+# This file is part of Lustre, http://www.lustre.org/
+#
 
 sub usages_msg(){
        print "Usage: $0 <results_filename>\n"
index c632d31..865b488 100644 (file)
@@ -1,4 +1,9 @@
 #!/bin/bash
+# SPDX-License-Identifier: GPL-2.0
+
+#
+# This file is part of Lustre, http://www.lustre.org/
+#
 
 # the value of these can be set in the environment.
 # This test assumes a typical pdsh naming scheme, where
index 652e29e..e5f7eb4 100644 (file)
@@ -1,3 +1,9 @@
+# SPDX-License-Identifier: GPL-2.0
+
+#
+# This file is part of Lustre, http://www.lustre.org/
+#
+
 bin_SCRIPTS = lst.sh lst-survey
 CLEANFILE = $(bin_SCRIPTS)
 EXTRA_DIST = lst.sh lst-survey README.lst-survey
index 7a1c1fb..5c24e65 100755 (executable)
@@ -1,4 +1,9 @@
 #!/bin/bash
+# SPDX-License-Identifier: GPL-2.0
+
+#
+# This file is part of Lustre, http://www.lustre.org/
+#
 
 print_help() {
        cat <<EOF
index ef4ada8..f9d8dc1 100755 (executable)
@@ -1,4 +1,9 @@
 #!/bin/bash
+# SPDX-License-Identifier: GPL-2.0
+
+#
+# This file is part of Lustre, http://www.lustre.org/
+#
 
 print_help() {
        cat <<EOF
index cf7e949..63bc790 100644 (file)
@@ -1,3 +1,9 @@
+# SPDX-License-Identifier: GPL-2.0
+
+#
+# This file is part of Lustre, http://www.lustre.org/
+#
+
 bin_SCRIPTS = mds-survey
 CLEANFILE = $(bin_SCRIPTS)
 EXTRA_DIST = mds-survey README.mds-survey
index 6111e1a..b75d3e9 100755 (executable)
@@ -1,4 +1,9 @@
 #!/bin/bash
+# SPDX-License-Identifier: GPL-2.0
+
+#
+# This file is part of Lustre, http://www.lustre.org/
+#
 
 ######################################################################
 # customize per survey
index 1f0778a..57cfc3d 100644 (file)
@@ -1,3 +1,9 @@
+# SPDX-License-Identifier: GPL-2.0
+
+#
+# This file is part of Lustre, http://www.lustre.org/
+#
+
 bin_SCRIPTS = obdfilter-survey iokit-libecho iokit-plot-obdfilter
 CLEANFILE = $(bin_SCRIPTS)
 EXTRA_DIST = README.obdfilter-survey obdfilter-survey iokit-libecho
index 62ec22a..4fadcdc 100644 (file)
@@ -1,36 +1,18 @@
 #!/bin/bash
-# -*- mode: Bash; tab-width: 4; indent-tabs-mode: t; -*-
-# vim:shiftwidth=4:softtabstop=4:tabstop=4:
-#
-# GPL HEADER START
-#
-# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
-#
-# This program is free software; you can redistribute it and/or modify
-# it under the terms of the GNU General Public License version 2 only,
-# 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 version 2 for more details (a copy is included
-# in the LICENSE file that accompanied this code).
-#
-# You should have received a copy of the GNU General Public License
-# version 2 along with this program; If not, see
-# http://www.gnu.org/licenses/gpl-2.0.html
-#
-# GPL HEADER END
+# SPDX-License-Identifier: GPL-2.0
+
 #
 # Copyright  2008 Sun Microsystems, Inc. All rights reserved
 # Use is subject to license terms.
 #
 # Copyright (c) 2012, 2017, Intel Corporation.
 #
+
+#
 # This file is part of Lustre, http://www.lustre.org/
 #
 # Author: Jitendra Pawar <jitendra@clusterfs.com>
-
+#
 
 # binaries
 lsmod="/sbin/lsmod"
index b29761a..257dfca 100644 (file)
@@ -1,32 +1,18 @@
 #!/usr/bin/perl -w
-# GPL HEADER START
-#
-# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
-#
-# This program is free software; you can redistribute it and/or modify
-# it under the terms of the GNU General Public License version 2 only,
-# 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 version 2 for more details (a copy is included
-# in the LICENSE file that accompanied this code).
-#
-# You should have received a copy of the GNU General Public License
-# version 2 along with this program; If not, see
-# http://www.gnu.org/licenses/gpl-2.0.html
-#
-# GPL HEADER END
+# SPDX-License-Identifier: GPL-2.0
+
 #
 # Copyright  2008 Sun Microsystems, Inc. All rights reserved
 # Use is subject to license terms.
 #
 # Copyright (c) 2013, 2014, Intel Corporation.
 #
+
+#
 # This file is part of Lustre, http://www.lustre.org/
 #
 # Author: Jitendra Pawar <jitendra@clusterfs.com>
+#
 
 # Report generation for iokit-plot-obdfilter
 # ====================================
index 14ad4de..3f8476e 100755 (executable)
@@ -1,4 +1,10 @@
 #!/bin/bash
+# SPDX-License-Identifier: GPL-2.0
+
+#
+# This file is part of Lustre, http://www.lustre.org/
+#
+
 ######################################################################
 # customize per survey
 
index 8ea4880..a97a31f 100644 (file)
@@ -1,3 +1,9 @@
+# SPDX-License-Identifier: GPL-2.0
+
+#
+# This file is part of Lustre, http://www.lustre.org/
+#
+
 bin_SCRIPTS = ost-survey iokit-plot-ost
 CLEANFILE = $(bin_SCRIPTS)
 EXTRA_DIST = README.ost-survey ost-survey iokit-plot-ost
index 5b81a0a..96e9642 100755 (executable)
@@ -1,4 +1,9 @@
 #!/usr/bin/perl -w
+# SPDX-License-Identifier: GPL-2.0
+
+#
+# This file is part of Lustre, http://www.lustre.org/
+#
 # Report generation for ost-survey.pl
 # ===================================
 # The iokit-plot-ost script is used to generate csv file and
@@ -13,8 +18,8 @@
 # Note:  1. This script may need modifications whenever there will be
 #          modifications in output format of ost-survey.pl script.
 #       2. Gnuplot version 4.0 or above is required.
+#
 
-# arg 0 is filename
 sub usages_msg(){
        print "Usage: $0 <log_filename> \n";
        print "       $0 produces graphs from the output of ost-survey.pl\n";
index 02c345e..be1dcc6 100755 (executable)
@@ -1,4 +1,9 @@
 #!/usr/bin/perl
+# SPDX-License-Identifier: GPL-2.0
+
+#
+# This file is part of Lustre, http://www.lustre.org/
+#
 # This script is to be run on a client machine and will test all the
 # OSTs to determine which is the fastest and slowest
 # The current test method is as follows:
@@ -9,6 +14,7 @@
 #   -Compute the average, and Standard deviation 
 #   -Find the slowest OST for read and write
 #   -Find the Fastest OST for read and write
+#
 
 # GLOBALS
 $pname = $0;                    # to hold program name
index 0495fd0..6dbffae 100644 (file)
@@ -1,3 +1,9 @@
+# SPDX-License-Identifier: GPL-2.0
+
+#
+# This file is part of Lustre, http://www.lustre.org/
+#
+
 bin_SCRIPTS = iokit-plot-sgpdd sgpdd-survey
 CLEANFILE = $(bin_SCRIPTS)
 EXTRA_DIST = README.sgpdd-survey iokit-plot-sgpdd sgpdd-survey
index 3c88fbe..da7c93d 100755 (executable)
@@ -1,4 +1,9 @@
 #!/usr/bin/perl -w
+# SPDX-License-Identifier: GPL-2.0
+
+#
+# This file is part of Lustre, http://www.lustre.org/
+#
 # Report generation for iokit-plot-sgpdd
 # ======================================
 # The iokit-plot-sgpdd script is used to generate csv file and
@@ -14,6 +19,7 @@
 # [Note: 1. This script may need modifications whenever there will be
 #           modifications in output format of sgpdd-survey script.
 #        2. Gnuplot version 4.0 or above is required.]
+#
 
 sub usage()
 {
index 8edd1e8..4904459 100755 (executable)
@@ -1,4 +1,9 @@
 #!/bin/bash
+# SPDX-License-Identifier: GPL-2.0
+
+#
+# This file is part of Lustre, http://www.lustre.org/
+#
 
 ######################################################################
 # customize per survey
index be502f7..1c78633 100644 (file)
@@ -1,3 +1,9 @@
+# SPDX-License-Identifier: GPL-2.0
+
+#
+# This file is part of Lustre, http://www.lustre.org/
+#
+
 bin_SCRIPTS = iokit-config iokit-gather-stats iokit-lstats
 CLEANFILE = $(bin_SCRIPTS)
 EXTRA_DIST = README.iokit-lstats iokit-config iokit-gather-stats iokit-lstats
index 86bd7ea..8a7bd94 100755 (executable)
@@ -1,3 +1,9 @@
+# SPDX-License-Identifier: GPL-2.0
+
+#
+# This file is part of Lustre, http://www.lustre.org/
+#
+
 #
 # system configuration.  Set these variables to point to the locations
 # of various system utilities.
index 9dc1399..dca37a6 100755 (executable)
@@ -1,8 +1,6 @@
 #!/bin/bash
+# SPDX-License-Identifier: GPL-2.0
 
-# iokit-gather-stats:
-# script on a selection of nodes and collect all the results into a single
-# tar ball
 #
 # Copyright 2008 Sun Microsystems, Inc. All rights reserved
 # Use is subject to license terms.
@@ -10,6 +8,14 @@
 # Copyright (c) 2014, Intel Corporation.
 #
 
+#
+# This file is part of Lustre, http://www.lustre.org/
+#
+# iokit-gather-stats:
+# script on a selection of nodes and collect all the results into a single
+# tar ball
+#
+
 error() {
        echo "ERROR: $0: $@"
 }
index 9bb974f..0ac14b2 100755 (executable)
@@ -1,6 +1,9 @@
 #!/bin/bash
+# SPDX-License-Identifier: GPL-2.0
 
 #
+# This file is part of Lustre, http://www.lustre.org/
+#
 # very short example:
 #
 # to start collection: