From: Timothy Day Date: Sun, 25 Feb 2024 19:39:04 +0000 (+0000) Subject: LU-6142 misc: SPDX for lustre-iokit X-Git-Tag: 2.15.62~48 X-Git-Url: https://git.whamcloud.com/?a=commitdiff_plain;h=b702f98fc81d38b392790c934a41f73769de7422;p=fs%2Flustre-release.git LU-6142 misc: SPDX for lustre-iokit Convert from verbose license text to SPDX. Test-Parameters: trivial Signed-off-by: Timothy Day Change-Id: I70f0c1387bcfe2dbe862a292ccb0f549e4e80d31 Reviewed-on: https://review.whamcloud.com/c/fs/lustre-release/+/54180 Tested-by: jenkins Tested-by: Maloo Reviewed-by: Arshad Hussain Reviewed-by: James Simmons Reviewed-by: Oleg Drokin --- diff --git a/lustre-iokit/Makefile.am b/lustre-iokit/Makefile.am index 1803399..70c1674 100644 --- a/lustre-iokit/Makefile.am +++ b/lustre-iokit/Makefile.am @@ -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 diff --git a/lustre-iokit/ior-survey/Makefile.am b/lustre-iokit/ior-survey/Makefile.am index 8ab5117..469a20f 100644 --- a/lustre-iokit/ior-survey/Makefile.am +++ b/lustre-iokit/ior-survey/Makefile.am @@ -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 diff --git a/lustre-iokit/ior-survey/iokit-parse-ior b/lustre-iokit/ior-survey/iokit-parse-ior index f0753c4..de29ca7 100644 --- a/lustre-iokit/ior-survey/iokit-parse-ior +++ b/lustre-iokit/ior-survey/iokit-parse-ior @@ -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 \n" diff --git a/lustre-iokit/ior-survey/ior-survey b/lustre-iokit/ior-survey/ior-survey index c632d31..865b488 100644 --- a/lustre-iokit/ior-survey/ior-survey +++ b/lustre-iokit/ior-survey/ior-survey @@ -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 diff --git a/lustre-iokit/lst-survey/Makefile.am b/lustre-iokit/lst-survey/Makefile.am index 652e29e..e5f7eb4 100644 --- a/lustre-iokit/lst-survey/Makefile.am +++ b/lustre-iokit/lst-survey/Makefile.am @@ -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 diff --git a/lustre-iokit/lst-survey/lst-survey b/lustre-iokit/lst-survey/lst-survey index 7a1c1fb..5c24e65 100755 --- a/lustre-iokit/lst-survey/lst-survey +++ b/lustre-iokit/lst-survey/lst-survey @@ -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 < - +# # binaries lsmod="/sbin/lsmod" diff --git a/lustre-iokit/obdfilter-survey/iokit-plot-obdfilter b/lustre-iokit/obdfilter-survey/iokit-plot-obdfilter index b29761a..257dfca 100644 --- a/lustre-iokit/obdfilter-survey/iokit-plot-obdfilter +++ b/lustre-iokit/obdfilter-survey/iokit-plot-obdfilter @@ -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 +# # Report generation for iokit-plot-obdfilter # ==================================== diff --git a/lustre-iokit/obdfilter-survey/obdfilter-survey b/lustre-iokit/obdfilter-survey/obdfilter-survey index 14ad4de..3f8476e 100755 --- a/lustre-iokit/obdfilter-survey/obdfilter-survey +++ b/lustre-iokit/obdfilter-survey/obdfilter-survey @@ -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 diff --git a/lustre-iokit/ost-survey/Makefile.am b/lustre-iokit/ost-survey/Makefile.am index 8ea4880..a97a31f 100644 --- a/lustre-iokit/ost-survey/Makefile.am +++ b/lustre-iokit/ost-survey/Makefile.am @@ -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 diff --git a/lustre-iokit/ost-survey/iokit-plot-ost b/lustre-iokit/ost-survey/iokit-plot-ost index 5b81a0a..96e9642 100755 --- a/lustre-iokit/ost-survey/iokit-plot-ost +++ b/lustre-iokit/ost-survey/iokit-plot-ost @@ -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 \n"; print " $0 produces graphs from the output of ost-survey.pl\n"; diff --git a/lustre-iokit/ost-survey/ost-survey b/lustre-iokit/ost-survey/ost-survey index 02c345e..be1dcc6 100755 --- a/lustre-iokit/ost-survey/ost-survey +++ b/lustre-iokit/ost-survey/ost-survey @@ -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 diff --git a/lustre-iokit/sgpdd-survey/Makefile.am b/lustre-iokit/sgpdd-survey/Makefile.am index 0495fd0..6dbffae 100644 --- a/lustre-iokit/sgpdd-survey/Makefile.am +++ b/lustre-iokit/sgpdd-survey/Makefile.am @@ -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 diff --git a/lustre-iokit/sgpdd-survey/iokit-plot-sgpdd b/lustre-iokit/sgpdd-survey/iokit-plot-sgpdd index 3c88fbe..da7c93d 100755 --- a/lustre-iokit/sgpdd-survey/iokit-plot-sgpdd +++ b/lustre-iokit/sgpdd-survey/iokit-plot-sgpdd @@ -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() { diff --git a/lustre-iokit/sgpdd-survey/sgpdd-survey b/lustre-iokit/sgpdd-survey/sgpdd-survey index 8edd1e8..4904459 100755 --- a/lustre-iokit/sgpdd-survey/sgpdd-survey +++ b/lustre-iokit/sgpdd-survey/sgpdd-survey @@ -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 diff --git a/lustre-iokit/stats-collect/Makefile.am b/lustre-iokit/stats-collect/Makefile.am index be502f7..1c78633 100644 --- a/lustre-iokit/stats-collect/Makefile.am +++ b/lustre-iokit/stats-collect/Makefile.am @@ -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 diff --git a/lustre-iokit/stats-collect/iokit-config b/lustre-iokit/stats-collect/iokit-config index 86bd7ea..8a7bd94 100755 --- a/lustre-iokit/stats-collect/iokit-config +++ b/lustre-iokit/stats-collect/iokit-config @@ -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. diff --git a/lustre-iokit/stats-collect/iokit-gather-stats b/lustre-iokit/stats-collect/iokit-gather-stats index 9dc1399..dca37a6 100755 --- a/lustre-iokit/stats-collect/iokit-gather-stats +++ b/lustre-iokit/stats-collect/iokit-gather-stats @@ -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: $@" } diff --git a/lustre-iokit/stats-collect/iokit-lstats b/lustre-iokit/stats-collect/iokit-lstats index 9bb974f..0ac14b2 100755 --- a/lustre-iokit/stats-collect/iokit-lstats +++ b/lustre-iokit/stats-collect/iokit-lstats @@ -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: