Whamcloud - gitweb
fs/lustre-release.git
21 years agoFixed packing in obdcontrol
adilger [Mon, 3 Jan 2000 19:37:07 +0000 (19:37 +0000)]
Fixed packing in obdcontrol

21 years agoA few more changes.
braam [Fri, 31 Dec 1999 21:57:46 +0000 (21:57 +0000)]
A few more changes.

21 years agoPhase 1 of the obdo implementation. The class driver is now much
braam [Fri, 31 Dec 1999 20:02:56 +0000 (20:02 +0000)]
Phase 1 of the obdo implementation.  The class driver is now much
cleaner, the header file is mostly in roughly the right shape.

21 years agoUpdated types for struct obdo.
adilger [Fri, 31 Dec 1999 17:39:01 +0000 (17:39 +0000)]
Updated types for struct obdo.

21 years agoAdd flush.c with a rough flushing daemon and the figures subdirectory.
braam [Thu, 30 Dec 1999 06:12:59 +0000 (06:12 +0000)]
Add flush.c with a rough flushing daemon and the figures subdirectory.

More editing done in the OBDspec.

21 years agoType proposals, simplifications.
braam [Thu, 30 Dec 1999 00:39:25 +0000 (00:39 +0000)]
Type proposals, simplifications.

21 years agoobdsync/*: added to CVS
adilger [Wed, 29 Dec 1999 21:03:12 +0000 (21:03 +0000)]
obdsync/*: added to CVS
obdfs/super.c,rw.c: added start of page cache

21 years agoext2obd/ext2_obd.c, snap/snap.c: change parameters for create
adilger [Wed, 29 Dec 1999 17:30:08 +0000 (17:30 +0000)]
ext2obd/ext2_obd.c, snap/snap.c: change parameters for create
class/obdcontrol: update copy, migrate dst & src parameter order

21 years ago* demos/snaprest.sh: ensure client is disconnected after snaprestore
adilger [Thu, 23 Dec 1999 23:30:38 +0000 (23:30 +0000)]
* demos/snaprest.sh: ensure client is disconnected after snaprestore
* class/class_obd.c: debugging for connection counts, made error returns
  more consistent, check for connections when doing cleanup

21 years agodemos/snaprest.sh: ensure client is disconnected after snaprestore
adilger [Thu, 23 Dec 1999 21:42:40 +0000 (21:42 +0000)]
demos/snaprest.sh: ensure client is disconnected after snaprestore
class/class_obd.c: debugging for connection counts

21 years agofixed a refcount bug for types.
braam [Thu, 23 Dec 1999 18:07:05 +0000 (18:07 +0000)]
fixed a refcount bug for types.

21 years agoext2obd/ext2_obd.c: added iput() after reading a bad inode,
adilger [Thu, 23 Dec 1999 10:21:35 +0000 (10:21 +0000)]
ext2obd/ext2_obd.c: added iput() after reading a bad inode,
  remove EXT2_UNDEL_DIR_INO from list of iterated inodes.
class/obdcontrol: after snaprestore remove snapshot from table by key not index

21 years agoFixes to shell scripts to check for errors and other improvements
braam [Thu, 23 Dec 1999 02:31:35 +0000 (02:31 +0000)]
Fixes to shell scripts to check for errors and other improvements
Added  a fully featured snaprestore to obdcontrol
Fix refcount for class driver.

21 years agodemos/snaprest.sh: mount /dev/obd2 on /mnt/obd at end of restore
adilger [Wed, 22 Dec 1999 20:53:11 +0000 (20:53 +0000)]
demos/snaprest.sh: mount /dev/obd2 on /mnt/obd at end of restore

21 years agosnap/snap.c: added debug statement
adilger [Wed, 22 Dec 1999 20:10:56 +0000 (20:10 +0000)]
snap/snap.c: added debug statement
class/obdcontrol: fixed up comments

21 years agodemos/basesetup.sh: verify /dev/obd* devices are created
adilger [Wed, 22 Dec 1999 20:07:27 +0000 (20:07 +0000)]
demos/basesetup.sh: verify /dev/obd* devices are created
demos/baseclean.sh: don't remove temp file when exiting
demos/config.sh: added OBDMAJ major device number
demos/snaprest.sh: need to rework restore and snap indexes

21 years agodemos/obdtest.sh: added new script
adilger [Wed, 22 Dec 1999 15:49:29 +0000 (15:49 +0000)]
demos/obdtest.sh: added new script

21 years agoclass/obdcontrol: added "basedev" parameter to the attach command
adilger [Wed, 22 Dec 1999 01:28:07 +0000 (01:28 +0000)]
class/obdcontrol: added "basedev" parameter to the attach command
for ext2_obd.  This was required after the removal of Filesystem()
demos/*: moved test scripts here, renamed by function
class/obdcontrol: merge snapattach into attach, fix scsi_obd packing
snap/cleanup.sh: use ../class/cleanup.sh like snap/setup.sh does

21 years agoNumerous little changes:
braam [Tue, 21 Dec 1999 08:16:22 +0000 (08:16 +0000)]
Numerous little changes:
   - HOWTO renamed and edited
   - Makefile: no inofs  and other things taht don't work
   - Fixes to doc Makefile
   - obdcontrol a little clearer
   - switch to official MAJOR (186)

21 years agodoc/obd-howto.sgml: added issues/bugs section
adilger [Tue, 21 Dec 1999 00:41:19 +0000 (00:41 +0000)]
doc/obd-howto.sgml: added issues/bugs section
snap/*.sh: added brief comments to each script

21 years agodoc/obd-howto.sgml: updated for initial public release
adilger [Mon, 20 Dec 1999 23:14:18 +0000 (23:14 +0000)]
doc/obd-howto.sgml: updated for initial public release
obdfs/many: changed to have separate dir/file operations,
ext2obd/ext2_obd.c:  cosmetic changes to match ext2 code more closely (for diff)
include/linux/obd_class.h: change obdo_{cpy,cmp}_md() to allow
  include or exclude flags for copy/compare of metadata
snap/snaptable.c: comment iterator functions clearly

21 years agoinclude/linux/obd_sim.h: renamed to obd_ext2.h
adilger [Fri, 17 Dec 1999 20:51:32 +0000 (20:51 +0000)]
include/linux/obd_sim.h: renamed to obd_ext2.h
Configure: revert PCI, APIC checks (otherwise code won't compile after config)

21 years agodoc/obd-howto.sgml: completed OBD tutorial section
adilger [Fri, 17 Dec 1999 16:23:23 +0000 (16:23 +0000)]
doc/obd-howto.sgml: completed OBD tutorial section
snap/snap.c: in eliminate_obj() turn off S_IFDIR flag on object
  before passing to underlying obdext2 driver, so it doesn't
  decrement the dir count for the group
Configure: removed questions for PCMCIA specific features
class/obdcontrol: disconnect session when changing devices

21 years agoinclude/linux/obdfs.h: add symlink_inode_operations, prototypes
adilger [Wed, 15 Dec 1999 03:47:28 +0000 (03:47 +0000)]
include/linux/obdfs.h: add symlink_inode_operations, prototypes
obdfs/symlink.c, obdfs/namei.c: handle obdfs symlinks properly

21 years agosnap/snap.c, class/obdcontrol: added support for snapshot restores
adilger [Tue, 14 Dec 1999 01:14:17 +0000 (01:14 +0000)]
snap/snap.c, class/obdcontrol: added support for snapshot restores
on unmounted OBD filesystems
snap/setup3.sh, snap/cleanup3.sh: scripts to test 3 snapshots
include/linux/obd_snap_support.h: iterator struct/function prototypes

21 years agoall: significant overhaul by Peter to avoid problems with OBD metadata
adilger [Mon, 13 Dec 1999 20:54:41 +0000 (20:54 +0000)]
all: significant overhaul by Peter to avoid problems with OBD metadata
conflicting with ext2 block data in the inode.
class/obdcontrol: added proper commands for snapdelete/snaprestore
class/obdcontrol: device command now disconnects old session if any
ext2obd/*: updated for kernel 2.3.30
include/linux/obd_class.h: helper functions inode metadata cpy/cmp
include/linux/obd_snap.h: new magic less likely for block conflict
now that the redirector can have "i_blocks" set
obd/obdfs: updated for kernel 2.3.30
snap/snap.c: use new obd metadata copy helper routines
snap/snap.c: updated delete/restore snapshot iterator functions

21 years agosnap/snap.c: snap_do_cow() fixed case with existing indirect object
adilger [Thu, 9 Dec 1999 05:08:48 +0000 (05:08 +0000)]
snap/snap.c: snap_do_cow() fixed case with existing indirect object
snap/snap.c: snap_delsnap() removes (partly) a snapshot
ext2obd/ext2_obd.c: fixed ext2obd_iterate() to handle reserved inodes
ext2obd/ext2_obd.c: fixed direct_brw() to handle > 0 block offset
class/obdcontrol: added testsnapiterator command/ioctl
class/setup.sh: added creation of /tmp/fs, 4k block size
obdfs/namei.c: fixed new directory size after write

21 years agoFixed minor typo in gen_copy_data().
adilger [Tue, 7 Dec 1999 18:58:12 +0000 (18:58 +0000)]
Fixed minor typo in gen_copy_data().

21 years agosnap/snap.c: fixed check for snap_create() to test for correct
adilger [Tue, 7 Dec 1999 18:56:37 +0000 (18:56 +0000)]
snap/snap.c: fixed check for snap_create() to test for correct
   read-only copy

21 years agosnap/snap.c, snap/snaptable.c: Fixed up snapshot to work again with
adilger [Tue, 7 Dec 1999 00:55:01 +0000 (00:55 +0000)]
snap/snap.c, snap/snaptable.c: Fixed up snapshot to work again with
  snaptables, added snap_iterate() calldown, snap_cleanup() to free
  a snapshot table entry
ext2obd/ext2_obd.c: added iterator ext2obd_iterate() for all inodes
class/class_obd.c: blocked TCGETS IOCTL, added connection ID to calls
class/obdcontrol: added IOCTL for testing iterator, connection ID

21 years ago * Added a file handling snapshot tables
braam [Mon, 6 Dec 1999 16:35:50 +0000 (16:35 +0000)]
    * Added a file handling snapshot tables
        * Added an ioctl system that allows ioctls to be made without
          specific devices being attached (pass method down).
        * Numerous small routines for snapshot handling.

21 years agoMakefile: made "all" the default target
adilger [Sat, 4 Dec 1999 00:10:03 +0000 (00:10 +0000)]
Makefile: made "all" the default target
class/class_obd.c, class/genops.c, snap/snap.c: re-ordered migrate, copy
   argument order to be consistent (dst, src)
snap/snap.c: fixed unlink to work in all cases of (direct, indirect)
snap/setup.sh: check for mounted obdfs before starting
snap/cleanup.sh: remove loop device
ext2obd/ext2_obd.c: start of iterator function

21 years agoUndo accidental commit
braam [Thu, 2 Dec 1999 20:40:03 +0000 (20:40 +0000)]
Undo accidental commit

21 years agoAdded .cvsignore files to the repository
braam [Thu, 2 Dec 1999 20:36:42 +0000 (20:36 +0000)]
Added .cvsignore files to the repository

21 years agoUpdated snapshot indexes in superblock to not depend on index "0" as being
braam [Thu, 2 Dec 1999 00:11:46 +0000 (00:11 +0000)]
Updated snapshot indexes in superblock to not depend on index "0" as being
the current snapshot.  We still need to push the inode attributes to the
snap copy so that size/times are correct.

21 years agoUpdated parameters for obdfs_writepage() to use struct *dentry instead of
adilger [Wed, 1 Dec 1999 18:45:16 +0000 (18:45 +0000)]
Updated parameters for obdfs_writepage() to use struct *dentry instead of
struct *file, and call in odbfs_write_one_page() to use new parameters.
Updated gen_copy_data() to round up the number of pages copied in while loop.

21 years agofixes for 2.3.25 and higher
braam [Tue, 30 Nov 1999 19:06:01 +0000 (19:06 +0000)]
fixes for 2.3.25 and higher

21 years agoChanges to accomodate the snapshot features!
braam [Wed, 24 Nov 1999 21:15:51 +0000 (21:15 +0000)]
Changes to accomodate the snapshot features!

21 years agoChanges to accomodate the snapshot driver.
braam [Wed, 24 Nov 1999 19:46:12 +0000 (19:46 +0000)]
Changes to accomodate the snapshot driver.

For working snapshot code, see the snap directory and the snap/setup.sh
script.  The code is not complete, unlink hasn't been done yet.

21 years agoCleanup : no more "sim" now "ext2"
braam [Tue, 2 Nov 1999 19:12:28 +0000 (19:12 +0000)]
Cleanup : no more "sim" now "ext2"
          can mount multiple devices
  obdcontrol improved
  more work on snap (doesn't compile yet)

  check in just before we are again overhauling the interface.

21 years agoNew direcotory layout:
braam [Tue, 2 Nov 1999 19:12:27 +0000 (19:12 +0000)]
New direcotory layout:
  subdirs for different clients and file systems
  documentation, tests and lib subdirectories.

21 years agoOver of the changes:
braam [Mon, 1 Nov 1999 17:44:11 +0000 (17:44 +0000)]
Over of the changes:
    Many bugfixes
    INOFS added
    SNAP added

   See ChangeLog for details

21 years agoNew files:
braam [Thu, 21 Oct 1999 18:39:47 +0000 (18:39 +0000)]
New files:
for raid1
for snap shots
OLVM a technical description of the logical volume management
genops generic operations useful to many obd clients

Fixes:
numerous fixes to the file system
several fixes to OBD and obdcontrol

Current state:
does not compile

21 years agoNumerous fixes, including the attach code, better page locking etc.
braam [Wed, 13 Oct 1999 03:29:34 +0000 (03:29 +0000)]
Numerous fixes, including the attach code, better page locking etc.

21 years agoAdded code for obdfs to do writes to files and reads of directories and
braam [Sun, 26 Sep 1999 03:20:37 +0000 (03:20 +0000)]
Added code for obdfs to do writes to files and reads of directories and
files.

21 years agoWhoops, forgotten!
braam [Sat, 11 Sep 1999 06:26:28 +0000 (06:26 +0000)]
Whoops, forgotten!

21 years agoMuch cleaner separation of the class and simulated obd code.
braam [Sat, 11 Sep 1999 06:25:42 +0000 (06:25 +0000)]
Much cleaner separation of the class and simulated obd code.

21 years agofixes for deliverables.
braam [Fri, 3 Sep 1999 21:01:09 +0000 (21:01 +0000)]
fixes for deliverables.

21 years agoMinor change for Linux 2.3
braam [Tue, 31 Aug 1999 23:08:23 +0000 (23:08 +0000)]
Minor change for Linux 2.3

21 years agoFixes for Linux 2.3 as well as bug fixes after Ayman's testing.
braam [Tue, 31 Aug 1999 23:07:41 +0000 (23:07 +0000)]
Fixes for Linux 2.3 as well as bug fixes after Ayman's testing.

21 years agopatches for the kernel code.
braam [Tue, 31 Aug 1999 23:05:08 +0000 (23:05 +0000)]
patches for the kernel code.

21 years agofix the module unloading bug.
braam [Mon, 16 Aug 1999 22:41:25 +0000 (22:41 +0000)]
fix the module unloading bug.

21 years agoNumerous patches and fixes to Phil's initial attack.
braam [Tue, 10 Aug 1999 16:18:58 +0000 (16:18 +0000)]
Numerous patches and fixes to Phil's initial attack.

In particular we now have clean tracking of inode counts, so that
things attach detach cleanly.  Enough there for deliverable 1 & 2.

22 years agoFixed a spelling mistake: "symulated" --> "simulated" (sym_obd etc).
braam [Wed, 28 Jul 1999 16:11:56 +0000 (16:11 +0000)]
Fixed a spelling mistake: "symulated" --> "simulated" (sym_obd etc).

Improved configuration scripts

Removed compiler warnings from re-defining ext2_error

22 years agothe last two weeks' work
pschwan [Thu, 24 Jun 1999 22:16:27 +0000 (22:16 +0000)]
the last two weeks' work

22 years agomostly read, 2.2.1 -> 2.2.9 updates
pschwan [Thu, 10 Jun 1999 00:17:26 +0000 (00:17 +0000)]
mostly read, 2.2.1 -> 2.2.9 updates

22 years agoA couple days of changes--much improvement.
pschwan [Sat, 5 Jun 1999 19:02:00 +0000 (19:02 +0000)]
A couple days of changes--much improvement.

22 years agofoo
pschwan [Thu, 3 Jun 1999 01:34:05 +0000 (01:34 +0000)]
foo