Whamcloud - gitweb
fs/lustre-release.git
22 years ago- add a target that automatically builds the master.pdf document.
braam [Tue, 2 Apr 2002 06:13:55 +0000 (06:13 +0000)]
- add a target that automatically builds the pdf document.
- updates to the Lustre HOWTO, still incomplete
- include lock manager in master.

22 years ago- runfailure-net fixes:
pschwan [Tue, 2 Apr 2002 02:23:45 +0000 (02:23 +0000)]
- runfailure-net fixes:
  - create /dev/request
  - the open() test needs to actually do an open()
  - don't use "run 0 foo" to avoid 'No such pid' error

22 years ago- fixed up lustre_mds.h to allow inclusion in userspace testreq.c
pschwan [Tue, 2 Apr 2002 00:03:35 +0000 (00:03 +0000)]
- fixed up lustre_mds.h to allow inclusion in userspace testreq.c
- added ptlrpc_abort_bulk() to help cleanup aborted requests
- changed giant obd_support.h enum into #defines, which will save me hours of
  counting.
- fixed the ioctl interface to the MDC, so testreq works again
- gave testreq a real interface, to just run one test at a time
- ptlrpc_abort() was freeing a variable which would almost always still be NULL.
  Fixed.

22 years agoMake the failure testing readonly stuff conditionally compiled based on
adilger [Mon, 1 Apr 2002 05:55:19 +0000 (05:55 +0000)]
Make the failure testing readonly stuff conditionally compiled based on
whether the kernel has been patched with support for it or not.

22 years ago- fixes to filter obd
braam [Sun, 31 Mar 2002 04:31:55 +0000 (04:31 +0000)]
- fixes to filter obd
- move inode size update to file close time.

22 years agoA bunch of minor cleanups when using sizeof(). This even appears to have
adilger [Fri, 29 Mar 2002 22:29:59 +0000 (22:29 +0000)]
A bunch of minor cleanups when using sizeof().  This even appears to have
caught 3 minor bugs in the code.  Prompted by a couple of similar bugs that
were just found in the kernel.

Basically, with a variable like "struct foo *bar" it is preferrable to
use "sizeof(*bar)" everywhere instead of "sizeof(struct foo)".  The
former isolates us from errors in case the type of "bad" ever changes.

Apparent bugs were in filter/filter_obd.c and ldlm/ldlm_resource.c (we
were using __u32 when the variable was declared as __u64).  There also
appears to be a memory leak in ldlm_resource.c.

22 years agoAdd new simple test script "runtests" which automates a bunch of the basic
adilger [Fri, 29 Mar 2002 22:20:34 +0000 (22:20 +0000)]
Add new simple test script "runtests" which automates a bunch of the basic
tests which I do before committing stuff to CVS (copy some files, check
they are OK, shutdown+restart, check files again, etc).

Add support in "new_fs" for using pre-built filesystems for testing (this
is considerably faster than building a new fs each time on loopback).

22 years ago- add obdfilter to our setup, cleanup and debug environment
braam [Fri, 29 Mar 2002 22:13:07 +0000 (22:13 +0000)]
- add obdfilter to our setup, cleanup and debug environment
- fix tiny bug in filter.c

22 years agoClear the readonly state flags when we initially set up MDS and when we exit.
adilger [Fri, 29 Mar 2002 22:10:01 +0000 (22:10 +0000)]
Clear the readonly state flags when we initially set up MDS and when we exit.

22 years agoRemove READPAGE_BULK_NET (unused). Without this minor change, the error
adilger [Fri, 29 Mar 2002 22:07:03 +0000 (22:07 +0000)]
Remove READPAGE_BULK_NET (unused).  Without this minor change, the error
codes at the end of runfailure-net script are wrong.

It might be nice in the future to have a name->number conversion tool
which could always get this correct, but it isn't a big deal yet.

22 years ago- add more infrastructure to handle extents and debug.
braam [Fri, 29 Mar 2002 15:19:40 +0000 (15:19 +0000)]
- add more infrastructure to handle extents and debug.
- some of this is going to change dramatically as we feel we
  are handling too many resources now.

22 years agoSimple script to test all of the network packet loss scenarios.
adilger [Fri, 29 Mar 2002 13:40:39 +0000 (13:40 +0000)]
Simple script to test all of the network packet loss scenarios.

22 years agoPatch to allow disabling devices for testing failure/recovery scenarios.
adilger [Fri, 29 Mar 2002 12:57:46 +0000 (12:57 +0000)]
Patch to allow disabling devices for testing failure/recovery scenarios.
By itself this patch does not enable failure testing, but when it is
applied to the kernel, the OBD_FAIL_WRITE() call will activate it.

Patch currently supports loopback, IDE, and UML ubd failures (ignore patch
reject for ubc.c if not using UML).

Enable MDS write failure testing via "echo <num> > /proc/sys/lustre/fail_loc"
where <num> is the number of a write failure breakpoint (OBD_FAIL_MDS_*_WRITE
as defined in the enum in obd_support.h).

22 years agoReinstate the delete_inode methods. We now make a copy of the superblock
adilger [Fri, 29 Mar 2002 12:32:47 +0000 (12:32 +0000)]
Reinstate the delete_inode methods.  We now make a copy of the superblock
operations table for the MDS superblock so we don't affect other users of
that client filesystem type.

I also removed a duplicate call to rpc_unregister_service() in mds_cleanup.
This is what was causing the "rpc unable to unregister 12" type messages at
cleanup.

22 years agoSet a flag in the inode if we have stored the objid there, so we know when
adilger [Fri, 29 Mar 2002 12:02:00 +0000 (12:02 +0000)]
Set a flag in the inode if we have stored the objid there, so we know when
we should clear it.   Also make clear_inode() the default cl_delete_inode
method so we don't have to do an extra check for it.

In the end, I think that the objid issue is not a source of any problems,
because ext3_delete() will only call ext3_truncate() if i_blocks is non-zero,
and it isn't (this is why we weren't seeing any errors from ext3 trying to
truncate "blocks" that are not allocated).

22 years agoDisable the delete_inode overloading for now. It overloads the methods
adilger [Fri, 29 Mar 2002 08:51:04 +0000 (08:51 +0000)]
Disable the delete_inode overloading for now.  It overloads the methods
for _all_ users of that filesystem type, which is obviously bad.

22 years agoAll of the "hack" and FIXME stuff in MDS is now handled by fs-specific methods
adilger [Fri, 29 Mar 2002 08:28:39 +0000 (08:28 +0000)]
All of the "hack" and FIXME stuff in MDS is now handled by fs-specific methods
which are selected at mount time.  This includes journaling support.

Changes OBD_FAIL_WRITE() to include the block device which should be
disabled.  We conditionally compile the "make device readonly" support.

22 years agoAdd definitions of the MDS client filesystem methods to headers and Makefile.
adilger [Fri, 29 Mar 2002 07:07:02 +0000 (07:07 +0000)]
Add definitions of the MDS client filesystem methods to headers and Makefile.

22 years agoAdd in a delete_inode method for use when the inode is finally unlinked,
adilger [Fri, 29 Mar 2002 06:58:54 +0000 (06:58 +0000)]
Add in a delete_inode method for use when the inode is finally unlinked,
so that we can clear out the objid if necessary.  Since delete_inode
is handled by a callback from the VFS when n_link == 0 (and we don't
want to introduce race conditions by checking this at unlink time), we
replace the client delete_inode method with a filesystem-specific MDS
delete_inode call, and then call the client delete_inode method from
within our MDS delete_inode operation.

22 years ago- Replace the complicated waitq story with a much less complicated
braam [Thu, 28 Mar 2002 05:33:38 +0000 (05:33 +0000)]
- Replace the complicated waitq story with a much less complicated
semaphore
- Move semaphore after allocation

22 years agoTry using add_wait_queue_exclusive to avoid waking all (x - 32)
braam [Thu, 28 Mar 2002 03:57:03 +0000 (03:57 +0000)]
Try using add_wait_queue_exclusive to avoid waking all (x - 32)
suspended request threads at once.

22 years ago- Added a queue length and waitqueue to the client structure in an
braam [Thu, 28 Mar 2002 03:42:42 +0000 (03:42 +0000)]
- Added a queue length and waitqueue to the client structure in an
attempt to limit the number of concurrent requests outstanding at a
given time.

22 years agoMove mds_null.c back to mds_ext2.c - we have more than just the journaling
adilger [Thu, 28 Mar 2002 00:00:17 +0000 (00:00 +0000)]
Move mds_null.c back to mds_ext2.c - we have more than just the journaling
methods now (setattr, set_objid, get_objid, readpage), which extracts all
of the filesystem-specific hacks out of MDS.  We now have files with a very
high-density hacks for ext2 and ext3, but at least we can clean it up easily.

22 years agoThere was a race between ll_unlink and ll_create_node: notably,
braam [Wed, 27 Mar 2002 23:35:45 +0000 (23:35 +0000)]
There was a race between ll_unlink and ll_create_node: notably,
ll_unlink would make the inode available on the MDS before the local
dentry/inode on the client was put away.  This could lead to re-using
inode numbers with a concurrent create going on.

We fixed this using the generation number.  We also added the
inode/generation to unlink as a sanity check.

22 years ago- added a find_inode function that iget4() will use to compare inodes.
braam [Wed, 27 Mar 2002 22:54:23 +0000 (22:54 +0000)]
- added a find_inode function that iget4() will use to compare inodes.
  find_inode simply compares generation number with what we get from MDS
- set rep->generation in mds_reint.c:mds_reint_create()

22 years agoActually mount the filesystem in llmount.sh.
adilger [Wed, 27 Mar 2002 22:44:32 +0000 (22:44 +0000)]
Actually mount the filesystem in llmount.sh.

22 years agoThe previously checked-in empty filesystem was dirty for some reason.
adilger [Wed, 27 Mar 2002 22:43:02 +0000 (22:43 +0000)]
The previously checked-in empty filesystem was dirty for some reason.

22 years agoIncrease MDS and OST request buffers to 128k each
braam [Wed, 27 Mar 2002 22:04:59 +0000 (22:04 +0000)]
Increase MDS and OST request buffers to 128k each

22 years agoVarious llmount-client/server fixes
pschwan [Wed, 27 Mar 2002 20:37:48 +0000 (20:37 +0000)]
Various llmount-client/server fixes

22 years agoMore 'rpc_register_service' removal
braam [Wed, 27 Mar 2002 20:36:24 +0000 (20:36 +0000)]
More 'rpc_register_service' removal

22 years ago- simplified ptlrpc_service by using ME auto-unlinking
braam [Wed, 27 Mar 2002 20:31:22 +0000 (20:31 +0000)]
- simplified ptlrpc_service by using ME auto-unlinking
- merged ptlrpc_init_srv and rpc_register_service

22 years agoSimple journal abstractions for the no-journal (ext2) and ext3 cases.
adilger [Wed, 27 Mar 2002 00:46:29 +0000 (00:46 +0000)]
Simple journal abstractions for the no-journal (ext2) and ext3 cases.

22 years agoEmpty filesystems for creating tests. Using these is _much_ faster than
adilger [Tue, 26 Mar 2002 21:14:06 +0000 (21:14 +0000)]
Empty filesystems for creating tests.  Using these is _much_ faster than
using "dd" to create an empty file and then mkfs to create the filesystem.
They are also highly compressed (1000:1) so they don't use much space.

The new_fs() helper in common.sh will use these files instead of dd+mkfs
if they match the parameters given to new_fs().

22 years agoSet an initial value for return code.
adilger [Tue, 26 Mar 2002 20:57:40 +0000 (20:57 +0000)]
Set an initial value for return code.

22 years agoDon't dereference "lock" before it is set.
adilger [Tue, 26 Mar 2002 20:56:59 +0000 (20:56 +0000)]
Don't dereference "lock" before it is set.

22 years ago remove gid/rid's; minor cleanups.
braam [Mon, 25 Mar 2002 09:21:13 +0000 (09:21 +0000)]
 remove gid/rid's; minor cleanups.

22 years ago- default to 5G
pschwan [Mon, 25 Mar 2002 01:56:42 +0000 (01:56 +0000)]
- default to 5G
- run with -i 0 -i 1

22 years ago- build truncate with LARGEFILE64_SOURCE
pschwan [Mon, 25 Mar 2002 01:55:49 +0000 (01:55 +0000)]
- build truncate with LARGEFILE64_SOURCE
- truncate's second argument is now in KB

22 years ago*** empty log message ***
braam [Sun, 24 Mar 2002 23:36:24 +0000 (23:36 +0000)]
*** empty log message ***

22 years ago- more of the locking infrastructure.
braam [Sun, 24 Mar 2002 23:23:27 +0000 (23:23 +0000)]
- more of the locking infrastructure.
- BUG -> LBUG to work with the crashdump tools

22 years ago- ll_file_open was not passing the correct file->f_flags to mdc_open. Fixed.
pschwan [Sun, 24 Mar 2002 08:59:53 +0000 (08:59 +0000)]
- ll_file_open was not passing the correct file->f_flags to mdc_open.  Fixed.

22 years ago- don't read the page if we're just about to completely overwrite it
braam [Sat, 23 Mar 2002 08:31:50 +0000 (08:31 +0000)]
- don't read the page if we're just about to completely overwrite it
- fixed one of the page invariant BUGs

22 years agoCommit changes to use new setup_portals helper function.
adilger [Sat, 23 Mar 2002 00:50:00 +0000 (00:50 +0000)]
Commit changes to use new setup_portals helper function.

22 years agomds/handler.c, mds/mds_reint.c: fixup the ext3 MDS code a bit to build on
adilger [Sat, 23 Mar 2002 00:33:13 +0000 (00:33 +0000)]
mds/handler.c, mds/mds_reint.c: fixup the ext3 MDS code a bit to build on
the older 2.4.9 kernel (i_blkbits does not exist there), and add
in the missing fixup for i_diskblocks
ALL: add in test framework for simulating errors, dropped packets, etc.
does not yet integrate with the ext3 on-disk error interface

22 years agoRemove yet another extraneous BUG()
braam [Sat, 23 Mar 2002 00:15:23 +0000 (00:15 +0000)]
Remove yet another extraneous BUG()

22 years agoRemove annoying output from the shell when acceptor is stopped.
adilger [Sat, 23 Mar 2002 00:03:06 +0000 (00:03 +0000)]
Remove annoying output from the shell when acceptor is stopped.

22 years agoFixup logic a bit.
adilger [Fri, 22 Mar 2002 23:56:09 +0000 (23:56 +0000)]
Fixup logic a bit.

22 years agoMove portals setup into a helper function "setup_portals" that uses the
adilger [Fri, 22 Mar 2002 23:52:08 +0000 (23:52 +0000)]
Move portals setup into a helper function "setup_portals" that uses the
enviroment variables "NETWORK={elan,tcp}", LOCALHOST, SERVER, and PORT.

22 years agoSimple script to run vmstat and prepend the time, so we can see when vmstat
adilger [Fri, 22 Mar 2002 23:45:55 +0000 (23:45 +0000)]
Simple script to run vmstat and prepend the time, so we can see when vmstat
is not being scheduled instead of thinking that something is strange.

22 years agoRemove silly BUG() that catches "erroneous" writes above 4G.
pschwan [Fri, 22 Mar 2002 23:12:12 +0000 (23:12 +0000)]
Remove silly BUG() that catches "erroneous" writes above 4G.

22 years agoThe ext3 MDS code. Basically, we have to hack around the fact that ext3
adilger [Fri, 22 Mar 2002 21:28:27 +0000 (21:28 +0000)]
The ext3 MDS code.  Basically, we have to hack around the fact that ext3
does not have the directories in page cache, so we need to export the
ext3_bread() function in order to ensure we read the same data as what the
filesystem itself is using.  This will likely go away at some time in the
future as ext3 is ported to the pure page-cache-based directory handling
that is in ext2 (which is slightly more efficient).

22 years agouse relative paths to insert the modules relative to the test script
pschwan [Fri, 22 Mar 2002 20:18:09 +0000 (20:18 +0000)]
use relative paths to insert the modules relative to the test script

22 years ago- added non-fatal qswnal insertion to common.sh
pschwan [Fri, 22 Mar 2002 19:33:12 +0000 (19:33 +0000)]
- added non-fatal qswnal insertion to common.sh
- fixed up various scripts to use the common.sh variables

22 years agoScript to use an existing ext3 MDS setup. Useful for testing recoverability
adilger [Fri, 22 Mar 2002 19:02:28 +0000 (19:02 +0000)]
Script to use an existing ext3 MDS setup.  Useful for testing recoverability
of an MDS setup with llext3.sh.

22 years agoScript to run iozone in a loop. It probably doesn't have the right iozone
adilger [Fri, 22 Mar 2002 19:01:02 +0000 (19:01 +0000)]
Script to run iozone in a loop.  It probably doesn't have the right iozone
parameters that people want, but it is a start.

22 years agoUpdate rundbench script for new debug control file.
adilger [Fri, 22 Mar 2002 18:59:15 +0000 (18:59 +0000)]
Update rundbench script for new debug control file.

22 years agoUpdate ostreq.sh script to use new helper functions.
adilger [Fri, 22 Mar 2002 18:57:56 +0000 (18:57 +0000)]
Update ostreq.sh script to use new helper functions.

22 years agoMinor cleanup.
adilger [Fri, 22 Mar 2002 18:56:49 +0000 (18:56 +0000)]
Minor cleanup.

22 years agoThe loopback device helper will use the next unused loopback device instead
adilger [Fri, 22 Mar 2002 18:55:44 +0000 (18:55 +0000)]
The loopback device helper will use the next unused loopback device instead
of just starting at minor 0.

22 years ago- Take advantage of new disconnect semantics to make llmountcleanup.sh a more
pschwan [Fri, 22 Mar 2002 18:54:22 +0000 (18:54 +0000)]
- Take advantage of new disconnect semantics to make llmountcleanup.sh a more
general script

22 years agoAdd ext3_bread to exported symbols. Needed because ext3 does not have
adilger [Fri, 22 Mar 2002 18:52:06 +0000 (18:52 +0000)]
Add ext3_bread to exported symbols.  Needed because ext3 does not have
directories in the page cache yet.

22 years ago- Removed an overzealous BUG() that keeps us from cleaning up after C-c
pschwan [Fri, 22 Mar 2002 18:31:34 +0000 (18:31 +0000)]
- Removed an overzealous BUG() that keeps us from cleaning up after C-c

22 years agoIndenting only.
adilger [Fri, 22 Mar 2002 05:45:52 +0000 (05:45 +0000)]
Indenting only.

22 years ago- Added UUID description to network document
braam [Thu, 21 Mar 2002 20:06:01 +0000 (20:06 +0000)]
- Added UUID description to network document
- fixed leaked refcount in failed osc_request startup
- small debugging message fix
- removed extraneous PtlMDUnlink
- try to remove kqswnal in llmountcleanup

22 years agoadd path
braam [Thu, 21 Mar 2002 05:39:14 +0000 (05:39 +0000)]
add path

22 years agodd kernel version deps
braam [Thu, 21 Mar 2002 05:37:09 +0000 (05:37 +0000)]
dd kernel version deps
Cdd \7f\7f\7f\7fVS: ----------------------------------------------------------------------

22 years ago- remove unhelpful CERRORs
braam [Thu, 21 Mar 2002 05:31:03 +0000 (05:31 +0000)]
- remove unhelpful CERRORs

22 years ago- do the right thing when we catch SIGTERM
braam [Thu, 21 Mar 2002 01:50:34 +0000 (01:50 +0000)]
- do the right thing when we catch SIGTERM
- removed extraneous MDUnlink
- added CERRORs to catch MD leak

22 years ago- updated documentation (introduction)
braam [Wed, 20 Mar 2002 23:47:14 +0000 (23:47 +0000)]
- updated documentation (introduction)
- race fix in md_active
- new lock stuff

22 years agoYet another test script, this one for the DLM.
pschwan [Wed, 20 Mar 2002 22:27:53 +0000 (22:27 +0000)]
Yet another test script, this one for the DLM.

22 years ago- mds_open/mds_close had an unbalanced mnt put/get. I'm still not clear on why
pschwan [Wed, 20 Mar 2002 22:27:04 +0000 (22:27 +0000)]
- mds_open/mds_close had an unbalanced mnt put/get.  I'm still not clear on why
  _every_ caller to mds_fid2dentry doesn't have this problem, but an extra
  mntput fixed this one.
- oops.  I committed my really large llmount.sh.  Fixed.

22 years agoUpdate older ll*.sh scripts to use helper functions.
adilger [Wed, 20 Mar 2002 20:52:11 +0000 (20:52 +0000)]
Update older ll*.sh scripts to use helper functions.

22 years agoAdd "llrmount.sh" script, which does the same setup as llmount.sh, but does
adilger [Wed, 20 Mar 2002 20:47:57 +0000 (20:47 +0000)]
Add "llrmount.sh" script, which does the same setup as llmount.sh, but does
not create new filesystems.  It uses the existing filesystems from a previous
invocation of llmount.sh.  This is useful for persistency testing or testing
recoverability.

22 years agoAdd "old_fs" helper function (takes same args as new_fs helper) to just
adilger [Wed, 20 Mar 2002 20:46:25 +0000 (20:46 +0000)]
Add "old_fs" helper function (takes same args as new_fs helper) to just
set up an existing filesystem instead of creating a new one.

22 years ago- don't free the request when you drop the packet--it's on the stack
pschwan [Wed, 20 Mar 2002 19:58:43 +0000 (19:58 +0000)]
- don't free the request when you drop the packet--it's on the stack
- brought mdcreq.sh into the year 2002 (even though the mdc ioctl interface is
  still broken)

22 years ago- Removed the (nearly) unused obd_print_entry and fixed the code that
pschwan [Wed, 20 Mar 2002 19:07:46 +0000 (19:07 +0000)]
- Removed the (nearly) unused obd_print_entry and fixed the code that
  depended on it.
- Added code to drop packets based on /proc/sys/obd/drop_packet
- De-tabbified and switched a bunch of code to use RETURN and GOTO

22 years ago- may not need this client lock
braam [Mon, 18 Mar 2002 15:15:06 +0000 (15:15 +0000)]
- may not need this client lock

22 years ago- add a figure
braam [Mon, 18 Mar 2002 15:00:07 +0000 (15:00 +0000)]
- add a figure
- fix the problem that the refcount is reduced on the wrong md in the
  ring buffer

22 years ago- temporarily change client.c which bums out on killing a client (PHIL?)
braam [Sun, 17 Mar 2002 05:39:22 +0000 (05:39 +0000)]
- temporarily change client.c which bums out on killing a client (PHIL?)
- lock the service structure whenever it mucks with state
- add full debugging to llecho.sh

22 years agoCheck for 1 or 2 obdos being passed from test_brw ioctl.
adilger [Thu, 14 Mar 2002 21:54:43 +0000 (21:54 +0000)]
Check for 1 or 2 obdos being passed from test_brw ioctl.

22 years agoChange default obdctl test_brw behaviour to have only 1 obdo and 1 page.
adilger [Thu, 14 Mar 2002 21:49:44 +0000 (21:49 +0000)]
Change default obdctl test_brw behaviour to have only 1 obdo and 1 page.
Make BRW class ioctl check for one or two obdos.

22 years ago- Small changes for packaging
braam [Thu, 14 Mar 2002 18:37:39 +0000 (18:37 +0000)]
- Small changes for packaging

22 years ago- be more strict about what we accept from PtlEQGet in ptlrpc_check_event()
pschwan [Thu, 14 Mar 2002 06:43:31 +0000 (06:43 +0000)]
- be more strict about what we accept from PtlEQGet in ptlrpc_check_event()

22 years ago- fixed some NTOH/HTON mixups
pschwan [Thu, 14 Mar 2002 06:33:35 +0000 (06:33 +0000)]
- fixed some NTOH/HTON mixups
- added some BUG()s in niobuf pack/unpack to catch bogus offsets
- added a couple of BUGs() in dropped-packet cases

22 years ago- add correct file
braam [Thu, 14 Mar 2002 06:29:41 +0000 (06:29 +0000)]
- add correct file

22 years ago- many small makefile changes to build package conveniently.
braam [Thu, 14 Mar 2002 05:26:35 +0000 (05:26 +0000)]
- many small makefile changes to build package conveniently.
  - to be done: retain CVS with anonymous root
  - fix up the PORTALS path
  - build a portals RPM
- include a better tags target that includes vim tags and portals.

22 years agoUse req->page instead of req->addr inside echo_commitrw, as the latter is
adilger [Thu, 14 Mar 2002 00:16:31 +0000 (00:16 +0000)]
Use req->page instead of req->addr inside echo_commitrw, as the latter is
unset by the callback function on a write (it worked fine for reads ;-).

22 years agoScript to set up MDS using ext3 (basically llmount.sh with ext3 instead of
adilger [Wed, 13 Mar 2002 19:07:20 +0000 (19:07 +0000)]
Script to set up MDS using ext3 (basically llmount.sh with ext3 instead of
ext2 for MDS).  Will not work unless ext3 has been patched with a_ops=&ext3_ops
in fs/ext3/inode.c and fs/ext3/namei.c.  Not sure if that is the correct
solution yet or not.

22 years ago- Makefile.am fixes to allow building in objdirs
pschwan [Wed, 13 Mar 2002 17:59:13 +0000 (17:59 +0000)]
- Makefile.am fixes to allow building in objdirs

22 years agoAdd comment about direct access to fs-internal data struct - it works for
adilger [Tue, 12 Mar 2002 23:08:32 +0000 (23:08 +0000)]
Add comment about direct access to fs-internal data struct - it works for
ext2 and ext3 (they happen to have the same layout) but it is dangerous.
Since it falls under the "hack - to be fixed with EA support" I didn't fix.

22 years agoA couple of cleanups while looking for ext3 bug - don't leak buf or bulk
adilger [Tue, 12 Mar 2002 23:06:35 +0000 (23:06 +0000)]
A couple of cleanups while looking for ext3 bug - don't leak buf or bulk
allocations on error.

22 years ago- brought lustre-debugging.lyx up to date
pschwan [Tue, 12 Mar 2002 20:34:24 +0000 (20:34 +0000)]
- brought lustre-debugging.lyx up to date
- removed unused obd_print_entry code
- fixed the llmount.sh debug level default
- minor debugging cleanups
- moved mdc_reint to where it's actually used

22 years agoMake llmountcleanup.sh use new helper methods.
adilger [Tue, 12 Mar 2002 00:19:51 +0000 (00:19 +0000)]
Make llmountcleanup.sh use new helper methods.

22 years agoClean up llmount.sh to use new helper methods
adilger [Tue, 12 Mar 2002 00:19:15 +0000 (00:19 +0000)]
Clean up llmount.sh to use new helper methods

22 years agoClean up llecho.sh script to use new helper methods
adilger [Tue, 12 Mar 2002 00:18:21 +0000 (00:18 +0000)]
Clean up llecho.sh script to use new helper methods

22 years agoAdd helper routines to tests/common.sh:
adilger [Tue, 12 Mar 2002 00:17:41 +0000 (00:17 +0000)]
Add helper routines to tests/common.sh:
- centralize location for debugctl, obdctl, ptlctl
- automate test filesystem creation
- check if devices exist before trying to create them (avoid error msg)

22 years agoAdd openunlink binary to .cvsignore.
adilger [Tue, 12 Mar 2002 00:02:48 +0000 (00:02 +0000)]
Add openunlink binary to .cvsignore.

22 years agoAdd echo_connect/echo_disconnect to do proper module refcounting (avoid
adilger [Tue, 12 Mar 2002 00:01:26 +0000 (00:01 +0000)]
Add echo_connect/echo_disconnect to do proper module refcounting (avoid
oops if we unload module while we have an open connection to it).

The echo_preprw and echo_commitrw methods now clean up properly on error.

22 years agoFix BRW ioctl test interface. I had set up offset/count/flag per obdo
adilger [Mon, 11 Mar 2002 23:56:39 +0000 (23:56 +0000)]
Fix BRW ioctl test interface.  I had set up offset/count/flag per obdo
when it is really per-page.

22 years agoUnlock page in lustre_prepare_page() if there is an error.
adilger [Mon, 11 Mar 2002 19:45:31 +0000 (19:45 +0000)]
Unlock page in lustre_prepare_page() if there is an error.