Whamcloud - gitweb
Update copyright and license information.
authorgord-fig <gord-fig>
Thu, 27 Sep 2001 22:25:48 +0000 (22:25 +0000)
committergord-fig <gord-fig>
Thu, 27 Sep 2001 22:25:48 +0000 (22:25 +0000)
51 files changed:
lustre/demos/Makefile
lustre/demos/baseclean.sh
lustre/demos/basesetup.sh
lustre/demos/config.sh
lustre/demos/obdfsclean.sh
lustre/demos/obdfssetup.sh
lustre/demos/obdtest.sh
lustre/demos/snap3clean.sh
lustre/demos/snap3set.sh
lustre/demos/snapclean.sh
lustre/demos/snapdel.sh
lustre/demos/snaprest.sh
lustre/demos/snaprestclean.sh
lustre/demos/snapsetup.sh
lustre/demos/snaptest.sh
lustre/include/linux/Makefile
lustre/include/linux/inofs.h
lustre/include/linux/obd.h
lustre/include/linux/obd_class.h
lustre/include/linux/obd_ext2.h
lustre/include/linux/obd_raid1.h
lustre/include/linux/obd_rpc.h
lustre/include/linux/obd_snap.h
lustre/include/linux/obd_snap_support.h
lustre/include/linux/obd_support.h
lustre/include/linux/obd_trace.h
lustre/include/linux/obdfs.h
lustre/include/linux/obdo.h
lustre/obdclass/Makefile
lustre/obdclass/genops.c
lustre/obdclass/proc_lustre.c
lustre/obdclass/sysctl.c
lustre/obdfs/Makefile
lustre/obdfs/dir.c
lustre/obdfs/file.c
lustre/obdfs/flushd.c
lustre/obdfs/namei.c
lustre/obdfs/rw.c
lustre/obdfs/super.c
lustre/obdfs/symlink.c
lustre/obdfs/sysctl.c
lustre/scripts/license-status [new file with mode: 0755]
lustre/scripts/maketags.sh
lustre/scripts/mass_install
lustre/scripts/mkobddevs
lustre/scripts/obdtrace_demo.scr
lustre/scripts/patch-if-change
lustre/tests/fs.sh
lustre/tests/snaprun.sh
lustre/tests/test.c
lustre/tests/test2.c

index 85e6e5b..18c2cd9 100644 (file)
@@ -1,3 +1,7 @@
+# Copyright (C) 2001  Cluster File Systems, Inc.
+#
+# This code is issued under the GNU General Public License.
+# See the file COPYING in this distribution
 all: perms
 
 perms:
index 342599f..033c8d8 100755 (executable)
@@ -1,5 +1,10 @@
 #!/bin/sh
 # Script to remove the loopback device and temp file created in newtest.sh
+#
+# Copyright (C) 2001  Cluster File Systems, Inc.
+#
+# This code is issued under the GNU General Public License.
+# See the file COPYING in this distribution
 OBDDIR="`dirname $0`/.."
 . $OBDDIR/demos/config.sh
 
index 86bdd97..ba7db5b 100755 (executable)
@@ -1,5 +1,10 @@
 #! /bin/sh
 # Get the locations for the files from a single place to avoid confusion
+#
+# Copyright (C) 2001  Cluster File Systems, Inc.
+#
+# This code is issued under the GNU General Public License.
+# See the file COPYING in this distribution
 OBDDIR="`dirname $0`/.."
 
 # source config info
index 96d074d..2ff55e3 100644 (file)
@@ -2,6 +2,11 @@
 # File which holds configuation parameters in a single place to avoid any
 # mismatch between scripts (especially the cleanup scripts, which are
 # destructive).
+#
+# Copyright (C) 2001  Cluster File Systems, Inc.
+#
+# This code is issued under the GNU General Public License.
+# See the file COPYING in this distribution
 #set -vx
 
 # Major number for OBD devices
index a001c5e..42fd2b2 100755 (executable)
@@ -1,5 +1,11 @@
 #!/bin/sh
 # Utility script for cleaning up a simple OBDFS mounted filesystem
+#
+# Copyright (C) 2001  Cluster File Systems, Inc.
+#
+# This code is issued under the GNU General Public License.
+# See the file COPYING in this distribution
+
 OBDDIR="`dirname $0`/.."
 . $OBDDIR/demos/config.sh
 
index 46dcc2b..c88e92e 100755 (executable)
@@ -1,5 +1,11 @@
 #! /bin/bash
 # Utility script for configuring a simple OBDFS mount
+#
+# Copyright (C) 2001  Cluster File Systems, Inc.
+#
+# This code is issued under the GNU General Public License.
+# See the file COPYING in this distribution
+
 OBDDIR="`dirname $0`/.."
 .  $OBDDIR/demos/config.sh
 
index c30a0fe..e1235f2 100755 (executable)
@@ -2,6 +2,12 @@
 # Utility script to create an OBD snapshot.  If an existing filesystem is
 # not already mounted on /mnt/obd, we call the basic OBD setup script to
 # create and mount a filesystem for us.
+#
+# Copyright (C) 2001  Cluster File Systems, Inc.
+#
+# This code is issued under the GNU General Public License.
+# See the file COPYING in this distribution
+
 OBDDIR="`dirname $0`/.."
 . $OBDDIR/demos/config.sh
 
index 63a04a2..0897ea9 100755 (executable)
@@ -1,5 +1,11 @@
 #!/bin/sh
 # Utility script for cleaning up a third snapshot created by setup3.sh
+#
+# Copyright (C) 2001  Cluster File Systems, Inc.
+#
+# This code is issued under the GNU General Public License.
+# See the file COPYING in this distribution
+
 OBDDIR="`dirname $0`/.."
 . $OBDDIR/demos/config.sh
 
index c314f30..197c5da 100755 (executable)
@@ -1,5 +1,11 @@
 #!/bin/sh
 # Utility script for creating a third snapshot.
+#
+# Copyright (C) 2001  Cluster File Systems, Inc.
+#
+# This code is issued under the GNU General Public License.
+# See the file COPYING in this distribution
+
 OBDDIR="`dirname $0`/.."
 . $OBDDIR/demos/config.sh
 
index 04df14f..4d2d456 100755 (executable)
@@ -1,5 +1,11 @@
 #! /bin/bash
 # Utility script for cleaning up snapshots and removing modules.
+#
+# Copyright (C) 2001  Cluster File Systems, Inc.
+#
+# This code is issued under the GNU General Public License.
+# See the file COPYING in this distribution
+
 OBDDIR="`dirname $0`/.."
 . $OBDDIR/demos/config.sh
 
index 7fc872d..87607f5 100755 (executable)
@@ -1,6 +1,12 @@
 #!/bin/sh
 # Utility script to test deleting a snapshot that has been previously
 # created as the setup.sh script does.
+#
+# Copyright (C) 2001  Cluster File Systems, Inc.
+#
+# This code is issued under the GNU General Public License.
+# See the file COPYING in this distribution
+
 OBDDIR="`dirname $0`/.."
 . $OBDDIR/demos/config.sh
 
index bc778e3..9a5dd07 100755 (executable)
@@ -1,6 +1,12 @@
 #!/bin/sh
 # Utility script to test restoring a previous snapshot.  This will destroy
 # the "current" snapshot and restore the old one in its place.
+#
+# Copyright (C) 2001  Cluster File Systems, Inc.
+#
+# This code is issued under the GNU General Public License.
+# See the file COPYING in this distribution
+
 OBDDIR="`dirname $0`/.."
 . $OBDDIR/demos/config.sh
 
index 52c6cee..a3c4319 100755 (executable)
@@ -1,5 +1,11 @@
 #! /bin/bash
 # Utility script for cleaning up a simple OBDFS mounted filesystem
+#
+# Copyright (C) 2001  Cluster File Systems, Inc.
+#
+# This code is issued under the GNU General Public License.
+# See the file COPYING in this distribution
+
 OBDDIR="`dirname $0`/.."
 . $OBDDIR/demos/config.sh
 
index b8b5eaa..ff95718 100755 (executable)
@@ -2,6 +2,12 @@
 # Utility script to create an OBD snapshot.  If an existing filesystem is
 # not already mounted on /mnt/obd, we call the basic OBD setup script to
 # create and mount a filesystem for us.
+#
+# Copyright (C) 2001  Cluster File Systems, Inc.
+#
+# This code is issued under the GNU General Public License.
+# See the file COPYING in this distribution
+
 OBDDIR="`dirname $0`/.."
 . $OBDDIR/demos/config.sh
 
index bd0a4ea..675a529 100755 (executable)
@@ -1,6 +1,12 @@
 #!/bin/sh
 # Utility script to perform minor modifications to the read-write mounted
 # snapshot in order to demonstrate the changes w.r.t. the read-only snapshot
+#
+# Copyright (C) 2001  Cluster File Systems, Inc.
+#
+# This code is issued under the GNU General Public License.
+# See the file COPYING in this distribution
+
 OBDDIR="`dirname $0`/.."
 . $OBDDIR/demos/config.sh
 
index 1f77ee4..c263b40 100644 (file)
@@ -1,3 +1,7 @@
+# Copyright (C) 2001  Cluster File Systems, Inc.
+#
+# This code is issued under the GNU General Public License.
+# See the file COPYING in this distribution
 
 all .DEFAULT: 
        $(MAKE) -C ../..  $@
index a5a205d..1ed3220 100644 (file)
@@ -1,7 +1,7 @@
 /* object based disk file system
  * 
- * This software is licensed under the GPL.  See the file COPYING in the
- * top directory of this distribution for details.
+ * This code is issued under the GNU General Public License.
+ * See the file COPYING in this distribution
  * 
  * Copyright (C), 1999, Stelias Computing Inc
  *
index a73c64f..674a19a 100644 (file)
@@ -1,6 +1,11 @@
 #ifndef __OBD_H
 #define __OBD_H
-
+/*
+ * Copyright (C) 2001  Cluster File Systems, Inc.
+ *
+ * This code is issued under the GNU General Public License.
+ * See the file COPYING in this distribution
+ */
 
 struct obd_conn_info {
         unsigned int conn_id;     /* handle */
index 50e9d82..c29b278 100644 (file)
@@ -1,5 +1,11 @@
 #ifndef __LINUX_CLASS_OBD_H
 #define __LINUX_CLASS_OBD_H
+/*
+ * Copyright (C) 2001  Cluster File Systems, Inc.
+ *
+ * This code is issued under the GNU General Public License.
+ * See the file COPYING in this distribution
+ */
 
 #include <linux/fs.h>
 #include <linux/time.h>
index 571958c..6ab1b48 100644 (file)
@@ -1,5 +1,11 @@
 #ifndef _OBD_EXT2
 #define _OBD_EXT2
+/*
+ * Copyright (C) 2001  Cluster File Systems, Inc.
+ *
+ * This code is issued under the GNU General Public License.
+ * See the file COPYING in this distribution
+ */
 
 #define OBD_EXT2_RUNIT           _IOWR('f', 61, long)
 
index e28a708..b99161e 100644 (file)
@@ -1,5 +1,11 @@
 #ifndef _OBD_RAID1
 #define _OBD_RAID1
+/*
+ * Copyright (C) 2001  Cluster File Systems, Inc.
+ *
+ * This code is issued under the GNU General Public License.
+ * See the file COPYING in this distribution
+ */
 
 #include <linux/obd_class.h>
 
index 64372c1..af0f878 100644 (file)
@@ -1,5 +1,11 @@
 #ifndef __OBD_RPC_H
 #define __OBD_RPC_H
+/*
+ * Copyright (C) 2001  Cluster File Systems, Inc.
+ *
+ * This code is issued under the GNU General Public License.
+ * See the file COPYING in this distribution
+ */
 
 #include <linux/sunrpc/svc.h>
 #define OBD_TGT_VERSION  001
index 74890c5..4b40801 100644 (file)
@@ -1,5 +1,11 @@
 #ifndef _OBD_SNAP
 #define _OBD_SNAP
+/*
+ * Copyright (C) 2001  Cluster File Systems, Inc.
+ *
+ * This code is issued under the GNU General Public License.
+ * See the file COPYING in this distribution
+ */
 
 #define OBD_SNAP_MAGIC 0xfffffff3   /* an unlikely block number */
 
index ff8fc9a..e7dd012 100644 (file)
@@ -1,5 +1,11 @@
 #ifndef __OBD_SNAP_SUPP_H
 #define __OBD_SNAP_SUPP_H
+/*
+ * Copyright (C) 2001  Cluster File Systems, Inc.
+ *
+ * This code is issued under the GNU General Public License.
+ * See the file COPYING in this distribution
+ */
 
 /* What we use to point to IDs in the obdmd data for snapshots.  If we use
  * obd_id (8 bytes) instead of ino_t (4 bytes), we halve the number of
index 841f4be..b8202c3 100644 (file)
@@ -1,5 +1,12 @@
 #ifndef _OBD_SUPPORT
 #define _OBD_SUPPORT
+/*
+ * Copyright (C) 2001  Cluster File Systems, Inc.
+ *
+ * This code is issued under the GNU General Public License.
+ * See the file COPYING in this distribution
+ */
+
 #include <linux/autoconf.h>
 #include <linux/slab.h>
 #include <linux/vmalloc.h>
index 27b05c5..00e16bb 100644 (file)
@@ -1,4 +1,7 @@
 /*
+ * This code is issued under the GNU General Public License.
+ * See the file COPYING in this distribution
+ *
  * obdtrace (header file) - is useful for tracing and performance
  * debug of the Lustre obd protocol stack. obdtrace is a transparent
  * logical obd driver that prints commands their in- and outbound
index 5a0951e..ed8198c 100644 (file)
@@ -1,7 +1,7 @@
 /* object based disk file system
  * 
- * This software is licensed under the GPL.  See the file COPYING in the
- * top directory of this distribution for details.
+ * This code is issued under the GNU General Public License.
+ * See the file COPYING in this distribution
  * 
  * Copyright (C), 1999, Stelias Computing Inc
  *
index 41df013..6e257e9 100644 (file)
@@ -1,5 +1,11 @@
 #ifndef OBD_H
 #define OBD_H
+/*
+ * Copyright (C) 2001  Cluster File Systems, Inc.
+ *
+ * This code is issued under the GNU General Public License.
+ * See the file COPYING in this distribution
+ */
 
 struct obdfs_inode_info {
         int              oi_flags;
index 6f211bb..896bce2 100644 (file)
@@ -1,3 +1,7 @@
+# Copyright (C) 2001  Cluster File Systems, Inc.
+#
+# This code is issued under the GNU General Public License.
+# See the file COPYING in this distribution
 
 MODULE = obdclass.o
 bin_PROGRAMS = obdcontrol
index b1c88e6..a261dd8 100644 (file)
@@ -1,5 +1,9 @@
 /*
  *  linux/fs/ext2_obd/sim_obd.c
+ * Copyright (C) 2001  Cluster File Systems, Inc.
+ *
+ * This code is issued under the GNU General Public License.
+ * See the file COPYING in this distribution
  *
  * These are the only exported functions; they provide the simulated object-
  * oriented disk.
index fcd7158..f83e7a6 100644 (file)
@@ -1,5 +1,10 @@
 /* proc_lustre.c manages /proc/lustre/obd. 
  *
+ * Copyright (c) 2001 Rumi Zahir <rumi.zahir@intel.com>
+ *
+ * This code is issued under the GNU General Public License.
+ * See the file COPYING in this distribution
+ *
  * OBD devices materialize in /proc as a directory:
  *              /proc/lustre/obd/<number>
  * when /dev/obd<number> is opened. When the device is closed, the 
@@ -29,8 +34,6 @@
  *     proc_lustre_remove_obd_entry() removes a
  *     /proc/lustre/obd/<obdid>/ entry by name. This is the only
  *     function that is exported to other modules. 
- *
- * Copyright (c) 2001 Rumi Zahir <rumi.zahir@intel.com>
  */
 
 #include <linux/config.h>
index 3944b03..e080dad 100644 (file)
@@ -1,3 +1,10 @@
+/*
+ * Copyright (C) 2001  Cluster File Systems, Inc.
+ *
+ * This code is issued under the GNU General Public License.
+ * See the file COPYING in this distribution
+ */
+
 #include <linux/module.h>
 #include <linux/autoconf.h>
 #include <linux/sysctl.h>
index d07e8d7..ac24ec7 100644 (file)
@@ -1,3 +1,7 @@
+# Copyright (C) 2001  Cluster File Systems, Inc.
+#
+# This code is issued under the GNU General Public License.
+# See the file COPYING in this distribution
 MODULE = obdfs.o
 CFILES=  flushd.c rw.c file.c dir.c sysctl.c super.c namei.c symlink.c
 
index 59e6fb0..1462f30 100644 (file)
@@ -1,6 +1,9 @@
 /*
  *  linux/fs/ext2/dir.c
  *
+ * This code is issued under the GNU General Public License.
+ * See the file COPYING in this distribution
+ *
  * Copyright (C) 1992, 1993, 1994, 1995
  * Remy Card (card@masi.ibp.fr)
  * Laboratoire MASI - Institut Blaise Pascal
index 7968f10..ff07ce3 100644 (file)
@@ -1,6 +1,9 @@
 /*
  *  linux/fs/ext2/file.c
  *
+ * This code is issued under the GNU General Public License.
+ * See the file COPYING in this distribution
+ *
  * Copyright (C) 1992, 1993, 1994, 1995
  * Remy Card (card@masi.ibp.fr)
  * Laboratoire MASI - Institut Blaise Pascal
index a1d0cb0..439eff3 100644 (file)
@@ -2,6 +2,9 @@
  * OBDFS Super operations - also used for Lustre file system
  *
  *
+ * This code is issued under the GNU General Public License.
+ * See the file COPYING in this distribution
+ *
  *  Copyright (C) 1991, 1992  Linus Torvalds
  * Copryright (C) 1999 Stelias Computing Inc. <braam@stelias.com>
  * Copryright (C) 1999 Seagate Technology Inc.
index 66bba9e..e899303 100644 (file)
@@ -1,6 +1,9 @@
 /*
  *  linux/fs/obdfs/namei.c
  *
+ * This code is issued under the GNU General Public License.
+ * See the file COPYING in this distribution
+ *
  * Copyright (C) 1992, 1993, 1994, 1995
  * Remy Card (card@masi.ibp.fr)
  * Laboratoire MASI - Institut Blaise Pascal
index 90894b3..316be95 100644 (file)
@@ -1,6 +1,9 @@
 /*
  * OBDFS Super operations
  *
+ * This code is issued under the GNU General Public License.
+ * See the file COPYING in this distribution
+ *
  * Copyright (C) 1996, 1997, Olaf Kirch <okir@monad.swb.de>
  * Copryright (C) 1999 Stelias Computing Inc, 
  *                (author Peter J. Braam <braam@stelias.com>)
index 3545827..1fb0444 100644 (file)
@@ -1,6 +1,9 @@
 /*
  * OBDFS Super operations
  *
+ * This code is issued under the GNU General Public License.
+ * See the file COPYING in this distribution
+ *
  * Copryright (C) 1996 Peter J. Braam <braam@stelias.com>
  * Copryright (C) 1999 Stelias Computing Inc. <braam@stelias.com>
  * Copryright (C) 1999 Seagate Technology Inc.
index 396176c..a42c0ab 100644 (file)
@@ -1,6 +1,9 @@
 /*
  *  linux/fs/ext2/symlink.c
  *
+ * This code is issued under the GNU General Public License.
+ * See the file COPYING in this distribution
+ *
  * Copyright (C) 1992, 1993, 1994, 1995
  * Remy Card (card@masi.ibp.fr)
  * Laboratoire MASI - Institut Blaise Pascal
index be63d57..c03b028 100644 (file)
@@ -1,3 +1,9 @@
+/*
+ * Copyright (C) 2001  Cluster File Systems, Inc.
+ *
+ * This code is issued under the GNU General Public License.
+ * See the file COPYING in this distribution
+ */
 #include <linux/sched.h>
 #include <linux/mm.h>
 #include <linux/sysctl.h>
diff --git a/lustre/scripts/license-status b/lustre/scripts/license-status
new file mode 100755 (executable)
index 0000000..5407b91
--- /dev/null
@@ -0,0 +1,26 @@
+#! /bin/sh
+# license-status - Display the status of files in the current directory
+# Copyright (C) 2001  Cluster File Systems, Inc.
+#
+# This code is issued under the GNU General Public License.
+# See the file COPYING in this distribution
+#
+# Gordon Matzigkeit <gord@fig.org>, 2001-09-27
+
+for f in `find . -type f | sort`; do
+ case "$f" in
+ *~ | *.orig | *.gz | */config.* | *.o | \
+ */CVS/* | */.cvsignore | */.depfiles/* | \
+ */COPYING | */ChangeLog)
+  continue
+  ;;
+ esac
+
+ if head -20 "$f" | egrep -e 'GNU' > /dev/null; then
+  echo "gpled $f"
+ elif head -20 "$f" | egrep -e '\([Cc]\)' > /dev/null; then
+  echo "copyrighted $f"
+ else
+  echo "bare $f"
+ fi
+done | sort
index 7f3a793..9bd9f87 100755 (executable)
@@ -1,4 +1,8 @@
 #!/bin/sh
+# Copyright (C) 2001  Cluster File Systems, Inc.
+#
+# This code is issued under the GNU General Public License.
+# See the file COPYING in this distribution
 set -vx
 rm -f TAGS ; find . -name '*.h' -or -name '*.c' | xargs etags
 rm -f ctags; find . -name '*.h' -or -name '*.c' | xargs ctags
index d5275f1..79921f0 100755 (executable)
@@ -1,6 +1,10 @@
 #! /bin/sh
 # mass_install - Install zero or more files in a directory
 # Gordon Matzigkeit <gord@fig.org>, 2001-09-26
+# Copyright (C) 2001  Cluster File Systems, Inc.
+#
+# This code is issued under the GNU General Public License.
+# See the file COPYING in this distribution
 
 # Usage: mass_install DIR [FILES...] [OPTS...]
 FILES=
index 6dd8750..a35631d 100755 (executable)
@@ -1,4 +1,9 @@
 #!/bin/sh -x
+# Copyright (C) 2001  Cluster File Systems, Inc.
+#
+# This code is issued under the GNU General Public License.
+# See the file COPYING in this distribution
+
 mknod -m 0600 /dev/obd0 c 186 0
 mknod -m 0600 /dev/obd1 c 186 1
 mknod -m 0600 /dev/obd2 c 186 2
index 2bfc6d5..0601235 100644 (file)
@@ -1,3 +1,7 @@
+# Copyright (C) 2001  Cluster File Systems, Inc.
+#
+# This code is issued under the GNU General Public License.
+# See the file COPYING in this distribution
 # Print OS version
 shell uname -r
 # Insert Lustre kernel modules
index 4dd4079..9af32d4 100755 (executable)
@@ -2,6 +2,10 @@
 # patch-if-change - Copy FILES to the current directory, apply PATCH,
 # and restore timestamps on files that weren't changed.
 # Gordon Matzigkeit <gord@fig.org>, 2001-09-25
+# Copyright (C) 2001  Cluster File Systems, Inc.
+#
+# This code is issued under the GNU General Public License.
+# See the file COPYING in this distribution
 
 # Usage: patch-if-change [PATCHFLAGS]... PATCH FILES...
 PATCHFLAGS=
index e94c949..23a4a67 100644 (file)
@@ -1,4 +1,8 @@
 #! /bin/bash
+# Copyright (C) 2001  Cluster File Systems, Inc.
+#
+# This code is issued under the GNU General Public License.
+# See the file COPYING in this distribution
 
 insmod loop
 dd if=/dev/zero of=/tmp/fs bs=1024 count=10000
index 4eb09c6..ea77cfb 100755 (executable)
@@ -1,6 +1,12 @@
 #!/bin/sh
 # Utility script to test several features of a snapshot filesystem
 # Assumes that snapshot has already been configured
+#
+# Copyright (C) 2001  Cluster File Systems, Inc.
+#
+# This code is issued under the GNU General Public License.
+# See the file COPYING in this distribution
+
 OBDDIR="`dirname $0`/.."
 . $OBDDIR/demos/config.sh
 
index c79a640..b941d78 100755 (executable)
@@ -1,3 +1,10 @@
+/*
+ * Copyright (C) 2001  Cluster File Systems, Inc.
+ *
+ * This code is issued under the GNU General Public License.
+ * See the file COPYING in this distribution
+ */
+
 #include <stdio.h>
 #include <stdlib.h>
 #include <fcntl.h>
index 4d486af..fbbe6bb 100755 (executable)
@@ -1,3 +1,10 @@
+/*
+ * Copyright (C) 2001  Cluster File Systems, Inc.
+ *
+ * This code is issued under the GNU General Public License.
+ * See the file COPYING in this distribution
+ */
+
 #include <stdio.h>
 #include <stdlib.h>
 #include <fcntl.h>