Whamcloud - gitweb
fs/lustre-release.git
19 years agoAdd missing files, cleanup .cvsignore's
braam [Wed, 23 Jan 2002 18:20:23 +0000 (18:20 +0000)]
Add missing files, cleanup .cvsignore's

19 years agoIt's been a good day: chmod/chown and friends now work for Lustre Light.
braam [Wed, 23 Jan 2002 04:59:12 +0000 (04:59 +0000)]
It's been a good day: chmod/chown and friends now work for Lustre Light.
 - most of the changes are in the packing.  It will take a little
   bit more time before this completely settles I think, but we have
   a pretty efficient system now.
 - added initial infrastructure for MDS update records.
 - the MDS server has a new routine to change the attributes: the associated
   RPC call is MDS_REINT.
 - Lustre Light is simpler than OBDFS since it doesn't have to
   change inodes when it creates them: that's part of the MDS transactions we
   send over -- removed many "change inode" and "setattr" variants.

19 years ago assorted bug fixes and a working directory readpage routine
braam [Mon, 21 Jan 2002 23:58:26 +0000 (23:58 +0000)]
 assorted bug fixes and a working directory readpage routine
 for Lustre Light.

19 years agoNasty cflag confusion in configure.ac.
braam [Mon, 21 Jan 2002 05:52:56 +0000 (05:52 +0000)]
Nasty cflag confusion in configure.ac.

19 years agodefaults back to format
braam [Mon, 21 Jan 2002 02:33:30 +0000 (02:33 +0000)]
defaults back to format

19 years agosmall fix.
braam [Mon, 21 Jan 2002 02:31:40 +0000 (02:31 +0000)]
small fix.

19 years agofix the obdfssetup script to use obdext2 (not filter) for now
braam [Mon, 21 Jan 2002 01:39:01 +0000 (01:39 +0000)]
fix the obdfssetup script to use obdext2 (not filter) for now
patch - revision one: pagecache_lock was missing. What else is missing?

19 years agocleanups coming from the new functions/macros
braam [Mon, 21 Jan 2002 01:36:04 +0000 (01:36 +0000)]
cleanups coming from the new functions/macros

19 years agoFix a broken macro.
braam [Mon, 21 Jan 2002 01:17:17 +0000 (01:17 +0000)]
Fix a broken macro.

19 years agothis minimal patch might actually work.
braam [Mon, 21 Jan 2002 00:48:30 +0000 (00:48 +0000)]
this minimal patch might actually work.
filter obd won't work: we don't need it now.

19 years agoSmall fixes to get lustre_light mount working over the request handling
braam [Sun, 20 Jan 2002 05:03:56 +0000 (05:03 +0000)]
Small fixes to get lustre_light mount working over the request handling
infrastructure.

19 years agoA few missing files...
braam [Sun, 20 Jan 2002 00:49:49 +0000 (00:49 +0000)]
A few missing files...

19 years agoSmall fixes to the request processing.
braam [Sun, 20 Jan 2002 00:45:19 +0000 (00:45 +0000)]
Small fixes to the request processing.
Split off the metadata client into a separate module, probably easier
to test  things that way.

19 years agoFix small typos in ost/osc
braam [Fri, 18 Jan 2002 06:01:30 +0000 (06:01 +0000)]
Fix small typos in ost/osc

19 years agoomitted test script
braam [Thu, 3 Jan 2002 18:39:07 +0000 (18:39 +0000)]
omitted test script

19 years agoforgotten two files
braam [Thu, 3 Jan 2002 18:37:25 +0000 (18:37 +0000)]
forgotten two files

19 years agoSmall bug fixes. OSC/OST almost working.
braam [Thu, 3 Jan 2002 17:10:42 +0000 (17:10 +0000)]
Small bug fixes.  OSC/OST almost working.

19 years agoit _compiles_ finally on 7.1 and 7.2, but the solution is not great.
braam [Sun, 30 Dec 2001 18:18:33 +0000 (18:18 +0000)]
it _compiles_ finally on 7.1 and 7.2, but the solution is not great.

19 years agoLustre light client request module
braam [Sun, 30 Dec 2001 06:43:06 +0000 (06:43 +0000)]
Lustre light client request module

19 years agoMost of the code for the OST target.
braam [Sun, 30 Dec 2001 06:17:15 +0000 (06:17 +0000)]
Most of the code for the OST target.

 lib/obd_pack.c - routines for packing/unpacking of OST requests
 lib/mds_pack.c - fixes (should be 64bit safe now)
 autogen.sh - no more Makefile.in in CVS
 tests/testreq.c tests/umreq.sh tests of the RPC infrastructure

19 years ago- fixes to the MDS: it now answers requests from the request test
braam [Sat, 29 Dec 2001 00:20:44 +0000 (00:20 +0000)]
- fixes to the MDS: it now answers requests from the request test
  program.
- beginning of OST client/server code - needs work.

19 years agoA solid part of the MDS request processing infrastructure.
braam [Fri, 28 Dec 2001 04:41:15 +0000 (04:41 +0000)]
A solid part of the MDS request processing infrastructure.
  - packing/unpacking and definition of requests
  - a server daemon
  - getattr call coded

Lustre idl file created:
  - move all interface definitions here
  - that's ioctl's, mds requests/replies & obd requests/replies

Makefiles:
  - configure.in can handle user mode linux now

utils:
  - fixed the obdctl library to support old version of readline.

19 years agosmall changes and fixes to get the filter OBD working fully.
braam [Mon, 17 Dec 2001 15:00:39 +0000 (15:00 +0000)]
small changes and fixes to get the filter OBD working fully.
It seems to work well under ext2, XFS and Reiser at the moment.

19 years ago- obd filter works over ext2, but bonnie++ is buggie
braam [Thu, 13 Dec 2001 22:21:05 +0000 (22:21 +0000)]
- obd filter works over ext2, but bonnie++ is buggie
- obd filter doesn't work over reiser
- obdctl now works and is taking over from obdcontrol

20 years agoNumerous changes:
braam [Tue, 11 Dec 2001 21:08:42 +0000 (21:08 +0000)]
Numerous changes:
  - new control utility  - no Perl
  - filter obd halfway coded ; requires new patches to kernel
  - big cleanup in the class driver with better packed ioctls
  - macros to pack other things, like network packets

20 years agoTwo small changes to support large files.
braam [Thu, 8 Nov 2001 19:54:43 +0000 (19:54 +0000)]
Two small changes to support large files.
 - internally open files with O_LARGEFILE
 - s_maxbytesize set to 64G (should do info for that).

20 years agolarge file printk cleanups
braam [Thu, 8 Nov 2001 19:11:49 +0000 (19:11 +0000)]
large file printk cleanups

20 years agofix minor kmap/kunmap mismatch.
braam [Thu, 8 Nov 2001 18:56:34 +0000 (18:56 +0000)]
fix minor kmap/kunmap mismatch.

20 years agoMinor compilation fixes for RedHat 2.4.9
braam [Tue, 6 Nov 2001 19:05:51 +0000 (19:05 +0000)]
Minor compilation fixes for RedHat 2.4.9
Fix reference decreasing bug in namei.c

20 years agominor fix to the patch
braam [Tue, 6 Nov 2001 18:42:41 +0000 (18:42 +0000)]
minor fix to the patch

20 years agocreated
braam [Tue, 6 Nov 2001 04:20:34 +0000 (04:20 +0000)]
created

20 years agoIf you free a string ... it can cost a lot of time.
braam [Mon, 5 Nov 2001 22:20:52 +0000 (22:20 +0000)]
If you free a string ... it can cost a lot of time.

20 years agomany changes: seems ok on 2.4.9
braam [Mon, 5 Nov 2001 07:35:40 +0000 (07:35 +0000)]
many changes: seems ok on 2.4.9

20 years agoBack out size/blocks changes.
gord-fig [Thu, 25 Oct 2001 16:50:17 +0000 (16:50 +0000)]
Back out size/blocks changes.

20 years agoSegregate block and size counting between obdfs and obdext2.
gord-fig [Wed, 24 Oct 2001 20:51:25 +0000 (20:51 +0000)]
Segregate block and size counting between obdfs and obdext2.

20 years agoRemove debugging clutter.
gord-fig [Wed, 24 Oct 2001 19:38:29 +0000 (19:38 +0000)]
Remove debugging clutter.

20 years agoAnother very major cleanup:
braam [Sun, 21 Oct 2001 02:52:05 +0000 (02:52 +0000)]
Another very major cleanup:
 - new lookup/new_inode code based on iget4 (saves RPC's)
 - reorganized the layout of ext2_obd.c
 - the bonnie++ bug can be fixed by patching the 2.4.3 kernel.

20 years agoAgain, only use loop device for testing.
gord-fig [Fri, 19 Oct 2001 22:54:38 +0000 (22:54 +0000)]
Again, only use loop device for testing.

20 years agoThis fixes a race between killing inodes in obdfs and in ext2obd.
braam [Fri, 19 Oct 2001 18:54:07 +0000 (18:54 +0000)]
This fixes a race between killing inodes in obdfs and in ext2obd.

When files are kept open in obdfs it is important not to propagate
the 0 link count to ext2obd since that would delete the inode prematurely.

This one seems to run dbench 50 ok.

20 years agofairly massive change to remove write_inode methods and switch
braam [Fri, 19 Oct 2001 16:06:28 +0000 (16:06 +0000)]
fairly massive change to remove write_inode methods and switch
to setattr everywhere -- dbench 50 completes, so does bonnie++.

20 years agofix statfs bug and a truncation issue.
braam [Fri, 19 Oct 2001 05:17:34 +0000 (05:17 +0000)]
fix statfs bug and a truncation issue.

20 years agofix setattr bug; check in symlink changes
braam [Fri, 19 Oct 2001 04:13:53 +0000 (04:13 +0000)]
fix setattr bug; check in symlink changes

20 years agoDon't use printk unconditionally.
gord-fig [Thu, 18 Oct 2001 23:38:29 +0000 (23:38 +0000)]
Don't use printk unconditionally.

20 years agoAdd code to help debug the rmmod hang.
gord-fig [Thu, 18 Oct 2001 22:11:07 +0000 (22:11 +0000)]
Add code to help debug the rmmod hang.

20 years agoConsolidate variables into a structure.
gord-fig [Wed, 17 Oct 2001 22:36:28 +0000 (22:36 +0000)]
Consolidate variables into a structure.

20 years agoConvert signals in pupdated into wait queues.
gord-fig [Wed, 17 Oct 2001 17:11:15 +0000 (17:11 +0000)]
Convert signals in pupdated into wait queues.

20 years agoRemove the obdo->o_rdev member, and store rdev numbers in the inline data.
gord-fig [Wed, 17 Oct 2001 00:28:29 +0000 (00:28 +0000)]
Remove the obdo->o_rdev member, and store rdev numbers in the inline data.

20 years agoMark potentially obsolete functions.
gord-fig [Wed, 17 Oct 2001 00:02:40 +0000 (00:02 +0000)]
Mark potentially obsolete functions.

20 years agofix for the symlink problem.
braam [Tue, 16 Oct 2001 05:27:35 +0000 (05:27 +0000)]
fix for the symlink problem.

20 years agodebugging fixes and small memory leak fix.
braam [Tue, 16 Oct 2001 03:51:52 +0000 (03:51 +0000)]
debugging fixes and small memory leak fix.

20 years agoone more high memory kmap missing.
braam [Mon, 15 Oct 2001 07:31:34 +0000 (07:31 +0000)]
one more high memory kmap missing.

20 years agomore page cache changes
braam [Mon, 15 Oct 2001 05:51:19 +0000 (05:51 +0000)]
more page cache changes

20 years agoext2 page cache updates
braam [Mon, 15 Oct 2001 05:33:22 +0000 (05:33 +0000)]
ext2 page cache updates

20 years agohighmemory changes
braam [Sun, 14 Oct 2001 23:50:11 +0000 (23:50 +0000)]
highmemory changes

20 years agohigh memory fixes
braam [Sun, 14 Oct 2001 23:49:06 +0000 (23:49 +0000)]
high memory fixes

20 years agoattempted bug fixes for 2.4.9.
braam [Fri, 12 Oct 2001 20:27:16 +0000 (20:27 +0000)]
attempted bug fixes for 2.4.9.

20 years agoUpdate RPM building.
gord-fig [Fri, 12 Oct 2001 19:44:57 +0000 (19:44 +0000)]
Update RPM building.

20 years ago - ext2_obd.c --- fix the bugs in read/write for Linux 2.4.3
braam [Wed, 10 Oct 2001 18:02:22 +0000 (18:02 +0000)]
 - ext2_obd.c --- fix the bugs in read/write for Linux 2.4.3

20 years agoConvert to Automake.
gord-fig [Mon, 8 Oct 2001 16:53:53 +0000 (16:53 +0000)]
Convert to Automake.

20 years agoCreate lustre-tools and lustre-modules packages.
gord-fig [Mon, 1 Oct 2001 17:06:58 +0000 (17:06 +0000)]
Create lustre-tools and lustre-modules packages.

20 years agoFixes to get things running on 2.4.3.
braam [Sat, 29 Sep 2001 19:59:42 +0000 (19:59 +0000)]
Fixes to get things running on 2.4.3.
 - iozone runs very well
 - copying large trees fails when debugging is enabled

20 years agoadd this to prevent locally modified config.sh files to be
braam [Sat, 29 Sep 2001 18:20:12 +0000 (18:20 +0000)]
add this to prevent locally modified config.sh files to be
checked in. [This avoids accidental reformatting of partitions etc.]

20 years agoMinor build and RPM cleanups.
gord-fig [Thu, 27 Sep 2001 23:00:13 +0000 (23:00 +0000)]
Minor build and RPM cleanups.

20 years agoUpdate copyright and license information.
gord-fig [Thu, 27 Sep 2001 22:25:48 +0000 (22:25 +0000)]
Update copyright and  license information.

20 years agoEnsure that obdcontrol is installed.
gord-fig [Wed, 26 Sep 2001 21:13:21 +0000 (21:13 +0000)]
Ensure that obdcontrol is installed.

20 years agoAdd an initial RPM spec file.
gord-fig [Wed, 26 Sep 2001 20:54:15 +0000 (20:54 +0000)]
Add an initial RPM spec file.

20 years agoAdd scripts/mass_install to simplify installation rules.
gord-fig [Wed, 26 Sep 2001 20:52:14 +0000 (20:52 +0000)]
Add scripts/mass_install to simplify installation rules.

20 years agoPreserve timestamps if a patch made no changes.
gord-fig [Tue, 25 Sep 2001 22:21:14 +0000 (22:21 +0000)]
Preserve timestamps if a patch made no changes.

20 years agoUpdates for Debian, devfs, and the device command.
gord-fig [Tue, 25 Sep 2001 22:19:48 +0000 (22:19 +0000)]
Updates for Debian, devfs, and the device command.

20 years agoadd export of do_kern_mount for 2.4.9
braam [Tue, 25 Sep 2001 06:28:22 +0000 (06:28 +0000)]
add export of do_kern_mount for 2.4.9

20 years agofix setup method for ext2 obd devices
braam [Tue, 25 Sep 2001 06:21:18 +0000 (06:21 +0000)]
fix setup method for ext2 obd devices
remove stuff from Makefile that didn't work

20 years agoRemove spurious trailing \0 bytes.
gord-fig [Mon, 24 Sep 2001 17:40:19 +0000 (17:40 +0000)]
Remove spurious trailing \0 bytes.

20 years agoMinor interface cleanups.
gord-fig [Mon, 24 Sep 2001 17:39:22 +0000 (17:39 +0000)]
Minor interface cleanups.

20 years agoUpdate <linux/malloc.h> to <linux/slab.h>.
gord-fig [Mon, 24 Sep 2001 17:34:29 +0000 (17:34 +0000)]
Update <linux/malloc.h> to <linux/slab.h>.

20 years ago * obdfs/flushd.c: conditionalized number of C_DEBUG messages.
rzahir [Tue, 3 Jul 2001 01:01:24 +0000 (01:01 +0000)]
    * obdfs/flushd.c: conditionalized number of C_DEBUG messages.
        * include/linux/obd_class.h: added obd_devicename member to
          struct obd_device (name is either ptr to dentry or uuid).
        * ext2obd/ext2_obd.c: setup() converts dentry into rdev number.
          class/class_obd.c: setup() converts name into obd_device dentry
          class/obdcontrol: setup() passes /dev/obd name into ioctl
          (used to be rdev number and if invalid rdev number was passed
           old ext2_obd.c would crash kernel when trying to read superblock).
        * class/obdcontrol: added "status, procsys, script, insmod, rmmod,
          lsmod, shell and close" commands for obdcontrol. This allows
          easier scripting from within obdcontrol. Introduced ability to
          maintain multiple open obd devices from a single obdcontrol
          session.  Device command toggles device context. Obdcontrol
          maintains multiple open file handles. "script <file>" command is
          useful for "sourcing" scripts without leaving obdcontrol.
          shell <command> allows any shell command to be executed from
          within obdcontrol.
        * class/proc_lustre.c: added support for /proc/lustre/obd/<n>/status.
          These are read-only /proc entries that track /dev/obd<n>
          internal state.
        * obdtrace/* & include/linux/obd_class.h: obd_trace a logical obd
          module useful for tracing and performance debug of the Lustre
          obd protocol stack. obdtrace module creates
          /proc/lustre/obd/<n>/stats file. Reading this /proc file shows
          per OBD performance statistics.  Any write to this /proc file
          resets the counters for this OBD.
        * scripts/obdtrace_demo.scr: Example of obdtrace that
          takes advantage of new obdcontrol functionality.
        * doc/obdtrace_demo.txt: shows obdtrace capabilities.

20 years agocouple of missing files added
braam [Tue, 26 Jun 2001 05:33:52 +0000 (05:33 +0000)]
couple of missing files added

20 years agoChange in the make system - also minor edits and fixes for compilation.
braam [Tue, 26 Jun 2001 05:27:40 +0000 (05:27 +0000)]
Change in the make system - also minor edits and fixes for compilation.

20 years agoNow it really works again on 2.4.2! Yippeah. (No loop devices though.)
braam [Fri, 16 Mar 2001 03:16:07 +0000 (03:16 +0000)]
Now it really works again on 2.4.2! Yippeah. (No loop devices though.)

20 years agorelease another lock and now it even unmounts.
braam [Sun, 11 Mar 2001 01:20:22 +0000 (01:20 +0000)]
release another lock and now it even unmounts.

20 years agoa working file system!
braam [Sun, 11 Mar 2001 00:53:49 +0000 (00:53 +0000)]
a working file system!

20 years agothings are starting to work for Linux 2.4.2!!
braam [Thu, 8 Mar 2001 23:51:32 +0000 (23:51 +0000)]
things are starting to work for Linux 2.4.2!!
ext2obd works (except _write and _read which aren't that important).

21 years agodoc/OBD-HOWTO.sgml: updated references to attach types from *_obd to obd*
adilger [Thu, 9 Mar 2000 10:48:45 +0000 (10:48 +0000)]
doc/OBD-HOWTO.sgml: updated references to attach types from *_obd to obd*
    and also mentioned autoloading of class modules.
doc/obdspec.sgml: added paragraph on usage of o_valid when passing between
    class drivers, to ensure consistency of metadata in each driver.
    Updated punch definition.
ext2obd/ext2_obd.c: ensure that this driver only returns o_valid flags for
    fields which it has set
obdfs/flushd.c: ensure all pages are flushed at unmount time
obdfs/super.c: fix fast symlinks (from 2.3.42)
snap/snap.c: ensure we keep o_valid safe across method calls if required.
    Removed hacks which are resolved by proper o_valid handling in ext2obd.

21 years agodemos/test.c: removed duplicate files (also exist in test/test.c)
adilger [Thu, 9 Mar 2000 01:04:23 +0000 (01:04 +0000)]
demos/test.c: removed duplicate files (also exist in test/test.c)

21 years agoinclude/linux/obdfs.h: handle block special devices,
adilger [Thu, 9 Mar 2000 00:58:50 +0000 (00:58 +0000)]
include/linux/obdfs.h: handle block special devices,
    remove check for dirty inode (explicitly only copy valid data to inode)

21 years agoobdfs/dir.c: add truncate method for directory
adilger [Thu, 9 Mar 2000 00:51:58 +0000 (00:51 +0000)]
obdfs/dir.c: add truncate method for directory
obdfs/flushd.c: don't hold list lock when checking page "dirty" bit
obdfs/namei.c: handle block special devices in filesystem

21 years agoobdfs/flushd.c: added constant for nr_free_buffer_pages() function call as
adilger [Tue, 7 Mar 2000 20:58:16 +0000 (20:58 +0000)]
obdfs/flushd.c: added constant for nr_free_buffer_pages() function call as
    this isn't available from the kernel.  Will figure out later.
obdfs/rw.c: added bit on page flags to indicate if page is in obdfs page
    cache, to avoid searching list when inserting pages to page cache

21 years agoobdfs/*.c: finished truncate implementation
adilger [Tue, 7 Mar 2000 15:59:16 +0000 (15:59 +0000)]
obdfs/*.c: finished truncate implementation

21 years agoobdfs,ext2_obd,class/*.c: added truncate/punch method/ioctl
adilger [Tue, 7 Mar 2000 07:44:28 +0000 (07:44 +0000)]
obdfs,ext2_obd,class/*.c: added truncate/punch method/ioctl

21 years agoobdfs/flushd.c: pupdated stopped on module unload.
adilger [Mon, 6 Mar 2000 04:17:22 +0000 (04:17 +0000)]
obdfs/flushd.c: pupdated stopped on module unload.
    check_time now indicates minimum age of buffer to flush, so we can call
    obdfs_enqueue_pages() multiple times with decreasing ages in tight
    memory situations to flush some pages, but not all
obdfs/super.c: fix small memory leaks
obdfs/*.c: partial update to 2.3.42 code (not including 32-bit UID/GID)

21 years agoclass_obd.c: plugged a few minor memory leaks
adilger [Mon, 6 Mar 2000 03:12:37 +0000 (03:12 +0000)]
class_obd.c: plugged a few minor memory leaks
obdcontrol: added IOCTL for punch

21 years agoobdfs/dir.c: fix bug when reading directories > 4096 bytes
adilger [Tue, 29 Feb 2000 23:54:52 +0000 (23:54 +0000)]
obdfs/dir.c: fix bug when reading directories > 4096 bytes
obdfs/flushd.c: handle I/O error by putting bad inode to end of list

21 years agodemos/base*.sh: don't insmod loop when it is not used
adilger [Tue, 29 Feb 2000 23:48:04 +0000 (23:48 +0000)]
demos/base*.sh: don't insmod loop when it is not used

21 years agoinclude/linux/*.h: update debugging messages
adilger [Tue, 29 Feb 2000 05:29:56 +0000 (05:29 +0000)]
include/linux/*.h: update debugging messages

21 years agoobdfs/flushd.c: send writes in FIFO order (use ->prev from list)
adilger [Tue, 29 Feb 2000 05:27:04 +0000 (05:27 +0000)]
obdfs/flushd.c: send writes in FIFO order (use ->prev from list)
    don't get obdo until we have an actual I/O to do
    don't call _brw with zero pages to write
obdfs/rw.c: set jiffies field in pgrq for new page cache entries
obdfs/*.c: change debugging messages

21 years agoclass/*.c: changed debugging messages
adilger [Tue, 29 Feb 2000 05:22:40 +0000 (05:22 +0000)]
class/*.c: changed debugging messages

21 years agoobdfs/flushd.c: turned on page aging, and set pupdated to run more often
adilger [Fri, 25 Feb 2000 18:19:58 +0000 (18:19 +0000)]
obdfs/flushd.c: turned on page aging, and set pupdated to run more often

21 years agodemos/*: update demos to handle module autoloading (Steve Bruggeman)
adilger [Fri, 25 Feb 2000 06:39:39 +0000 (06:39 +0000)]
demos/*: update demos to handle module autoloading (Steve Bruggeman)

21 years agoinclude/linux/*.h: turn of debugging output, minor reorg
adilger [Fri, 25 Feb 2000 06:37:25 +0000 (06:37 +0000)]
include/linux/*.h: turn of debugging output, minor reorg

21 years agoclass/*: updated to handle module autoloading (from Steve Bruggeman)
adilger [Fri, 25 Feb 2000 06:35:33 +0000 (06:35 +0000)]
class/*: updated to handle module autoloading (from Steve Bruggeman)

21 years agoobdfs/*.c: fixed bug with flushing of cache of deleted obdo
adilger [Fri, 25 Feb 2000 06:34:22 +0000 (06:34 +0000)]
obdfs/*.c: fixed bug with flushing of cache of deleted obdo