Whamcloud - gitweb
adilger [Fri, 3 Jan 2003 23:05:11 +0000 (23:05 +0000)]
Quiet a few more ia64 type-size mismatches.
adilger [Fri, 3 Jan 2003 22:24:57 +0000 (22:24 +0000)]
Get rid of unused ichild, and casting of arg to int before assigning to ptr
(complaints on ia64).
adilger [Fri, 3 Jan 2003 18:41:22 +0000 (18:41 +0000)]
Remove ll_pack.c from being included into basically every module, and make
it an exported function from obdclass. This also solves the dependency
problem with fsfilt_extN and fsfilt_reiserfs for these functions (b=570).
thantry [Fri, 3 Jan 2003 00:53:19 +0000 (00:53 +0000)]
Adding patches necessary for intel kernels into sourceforge.
The rh-8.0-intel series captures, in addition to all the lustre
specific patches the remaining two patches necessary(or of interest)
to the Intel cluster.
nfshp [Thu, 2 Jan 2003 13:10:40 +0000 (13:10 +0000)]
add a patch for extN, which is needed by b_san.
pschwan [Wed, 1 Jan 2003 17:20:38 +0000 (17:20 +0000)]
- reintroduce replies in LDLM AST packets
- if the client doesn't know about the lock, return -EINVAL
- if the server receives an error from the client, cancel it straight away
- if the server times out waiting for the reply, call expired_completion_wait
- initialize the import lists in target_handle_connect
- fix some ENOMEM MDS crash bugs just waiting to happen
- in the MDS_DISCONNECT handler, don't dereference just-freed mds_export_data
rread [Tue, 31 Dec 2002 00:53:21 +0000 (00:53 +0000)]
* support mutlitple mds with one uuid (539)
lmc --add mds --mds mds1 --node hostA ...
lmc --add mds --mds mds1 --node hostB ...
Creates two different mdsdev in the config, and one mds. The lovconfig
reference is now attached to the mds service instead of the node, so both
mdsdevs can configure the LOVs.
Needless to say, the xml format has changed yet again, so
regenerate those configs.
shaver [Mon, 30 Dec 2002 21:10:47 +0000 (21:10 +0000)]
- Add extN select-inum-for-allocation support, and use it to make recovery-time
inode creation more deterministic.
- Test program and ioctl for the aforementioned wantedi support.
- Don't send MSG_LAST_REPLAY with the last-replayed lock. Really. I mean it
this time.
- Some transno-reintegration CERROR removal, because the 9600bps conman on dev
cramps the style of 300-transaction replays something fierce.
- Sync after every integrated transaction, so that we make forward progress
in case of interrupted recovery. (This will be replaced by the handle->h_sync
fix foreshadowed in fsfilt_extN_commit.)
- Reuse reply_md.start instead of the likely-NULL rq_repmsg when resending reqs.
- Requests without transnos should be ERESTARTed _never_, not _always_.
hitao [Sun, 29 Dec 2002 06:51:33 +0000 (06:51 +0000)]
delete the temp patch files from the repository
adilger [Sat, 28 Dec 2002 01:32:06 +0000 (01:32 +0000)]
Remove hyphen that was added to basename in createmany and statmany, so we
can run them on an OST filesystem directly (either to test or create).
rread [Sat, 28 Dec 2002 00:37:13 +0000 (00:37 +0000)]
* create lustre-ldap rpm in lustre.spec that configures openldap to have
a lustre database
* add lovconfig to xsl
rread [Fri, 27 Dec 2002 22:46:31 +0000 (22:46 +0000)]
new dir ./conf
- move the DTD to conf
- add ldap configs to conf
change lconf arg --ldapserver to --ldapurl
adilger [Fri, 27 Dec 2002 22:28:13 +0000 (22:28 +0000)]
Wrote a reiserfs filter module (mostly does nothing) for obdfilter while
waiting for extN.
pschwan [Fri, 27 Dec 2002 05:41:46 +0000 (05:41 +0000)]
- show the useful cookie instead of the useless addr in ldlm_lock_dump
- return ENOENT instead of crash in mds_getattr_name
- teach statmany how to do pure lookup ioctls, as well as stats and EAs
adilger [Thu, 26 Dec 2002 23:09:27 +0000 (23:09 +0000)]
Display stats at end of createmany, even if there was an error.
Add a "duration" mode to statmany in addition to the "count" mode.
rread [Thu, 26 Dec 2002 18:19:45 +0000 (18:19 +0000)]
Move the llecho.sh config into seperate script so it now works just like
llmount.sh
nfshp [Thu, 26 Dec 2002 15:51:05 +0000 (15:51 +0000)]
- call kswapd at proper time
- some param adjust
- various cleanups
pschwan [Wed, 25 Dec 2002 18:48:10 +0000 (18:48 +0000)]
seed the random number generator with time(0)
thantry [Wed, 25 Dec 2002 09:05:57 +0000 (09:05 +0000)]
Updated the parser to parse entries containing only the
specific PID, if desired. This is more space efficient.
pschwan [Tue, 24 Dec 2002 23:15:49 +0000 (23:15 +0000)]
Add a statmany.c file to complement createmany.c
Some day I'll clean up this directory, I swear it.
pschwan [Tue, 24 Dec 2002 05:28:53 +0000 (05:28 +0000)]
Ignore generated files
thantry [Tue, 24 Dec 2002 02:21:56 +0000 (02:21 +0000)]
Updated llvisualize for better graphical display.
Figured that stack size actually increases downwards!
Added -h --help options.
Updated the parser, duration now gives correct durations.
This is now complete for visualizing a single system debug log.
zab [Tue, 24 Dec 2002 00:57:33 +0000 (00:57 +0000)]
- initial implementation of the 'portals block device', a linux block device
that that is backed by a ptlrpc service. there is still much work remaining
on this: communicating luns between the client and server; mapping client
devices, target luns, and target luns and real backing store; setup and
teardown, resource leaking in the code paths..
adilger [Tue, 24 Dec 2002 00:26:35 +0000 (00:26 +0000)]
Add no-read (of inode table, when possible) extN file create patch.
It is currently commented out in Makefile.am pending better testing.
thantry [Mon, 23 Dec 2002 23:59:06 +0000 (23:59 +0000)]
Adding an example log file, which does mount/unmount for the
lustre_lite filesystem. This will be kept only in b_intel branch
for local testing of llvisualize.
nfshp [Sun, 22 Dec 2002 12:55:17 +0000 (12:55 +0000)]
- reorganize logic in iod.c
- prepare for further revise
still have problem of zeroed inactive_clean list
nfshp [Sat, 21 Dec 2002 15:01:49 +0000 (15:01 +0000)]
- use kernel helper functions to probe memory pressure on pages
- also handle page lru list in writepage()
- logic revise in iod.c
still lot of printk remains, cleanup later. currently code still
have major problems: dd a large file cause deadlock, inactive_clean
list could very easily be used out.
thantry [Fri, 20 Dec 2002 22:19:20 +0000 (22:19 +0000)]
llparser.pm
pschwan [Fri, 20 Dec 2002 18:34:40 +0000 (18:34 +0000)]
A sample upcall script that uses ping to automatically reconnect to an OST
in peril
sravi [Thu, 19 Dec 2002 18:21:08 +0000 (18:21 +0000)]
This file has been modified, Since it is not using the lutil.py library file.
Instead using lustreLdap.py
rread [Thu, 19 Dec 2002 05:56:34 +0000 (05:56 +0000)]
* add support for COBD
* add --lustre and --portals to lustre usage
* remove obsolete lmc usage; hopefully this will get replaced
eeb [Wed, 18 Dec 2002 21:56:43 +0000 (21:56 +0000)]
* First-cut pass-through COBD
sravi [Wed, 18 Dec 2002 15:53:36 +0000 (15:53 +0000)]
Multiple MDS bug has been fixed.
sravi [Wed, 18 Dec 2002 12:17:02 +0000 (12:17 +0000)]
This is library file for LDAP related routines and using by lmc
cvs2svn [Wed, 18 Dec 2002 12:17:01 +0000 (12:17 +0000)]
This commit was manufactured by cvs2svn to create branch 'unlabeled-1.1.2'.
braam [Tue, 17 Dec 2002 05:44:32 +0000 (05:44 +0000)]
- series file for Chaos kernel.
pschwan [Tue, 17 Dec 2002 05:40:37 +0000 (05:40 +0000)]
- move the startup mounting into the individual test blocks, so that they
can start differently if necessary (ie, sanityN)
- fix sanityN test #9 pathname
- end sanityN by leaving the system in a clean state
pschwan [Mon, 16 Dec 2002 20:57:38 +0000 (20:57 +0000)]
remove obsolete 'patches' directory from HEAD
adilger [Mon, 16 Dec 2002 17:36:35 +0000 (17:36 +0000)]
Ignore checkstat binary.
braam [Mon, 16 Dec 2002 17:01:10 +0000 (17:01 +0000)]
- Phil's intent fix for middle of symlink lookups.
- Update version
nfshp [Mon, 16 Dec 2002 12:56:59 +0000 (12:56 +0000)]
- some changes on liod api params
- add actual page flushing code
- some cleanup
todo:
- try to figure out a better way of select dirty pages on
a inode to flush
- export functions needed from kernel
- test with io/vm benchmark tools such as dbench/bonnie/iozone
shaver [Mon, 16 Dec 2002 02:04:25 +0000 (02:04 +0000)]
Land b_recovery (other than WIP lock-replay work).
- b=512,others: fully reactivate OST imports after reconnection.
- b=513(partial): make sure client sees out -ENOTCONN from mds_handle
- b=515: more graceful error handling for truncating on dead OST
- b=474: don't error out just because a file is striped across a dead OST; only
if we actually try to access it
- b=410: fix garbage sizes when stat(2)ing a file that includes a stripe on a
dead OST
- print console diagnostic for completion-timeout client recovery
- MSG_RESENT for requests that were retransmitted
braam [Mon, 16 Dec 2002 01:17:16 +0000 (01:17 +0000)]
- add more patch series files. We have now obsoleted most of the
patches directory with the new regime.
hitao [Sun, 15 Dec 2002 07:40:14 +0000 (07:40 +0000)]
Add new patches for Kernel 2.5.44
hitao [Sun, 15 Dec 2002 07:40:12 +0000 (07:40 +0000)]
file lin-2.5.44.txt was initially added on branch b_lin25.
hitao [Sun, 15 Dec 2002 07:40:11 +0000 (07:40 +0000)]
file lin-2.5.44 was initially added on branch b_lin25.
hitao [Sun, 15 Dec 2002 07:40:10 +0000 (07:40 +0000)]
file lin-2.5.44.pc was initially added on branch b_lin25.
hitao [Sun, 15 Dec 2002 07:40:09 +0000 (07:40 +0000)]
file lin-2.5.44.patch was initially added on branch b_lin25.
pschwan [Sat, 14 Dec 2002 19:40:17 +0000 (19:40 +0000)]
land b_md onto HEAD. the highlights:
- fstat didn't correctly synchronize attributes (399)
- server must handle lock cancellation during blocking AST prep (487)
- bulk descriptors were free()d too soon (511)
- fix paths in lconf, which would load incorrect modules (451, 507)
- fix confusing lconf 'host not found' error message (386)
hitao [Sat, 14 Dec 2002 14:50:30 +0000 (14:50 +0000)]
Just update from the HEAD on 14, Dec
braam [Sat, 14 Dec 2002 13:56:10 +0000 (13:56 +0000)]
- this time added with -ko
braam [Sat, 14 Dec 2002 13:55:13 +0000 (13:55 +0000)]
- redo the addition of the patch, forgot -ko
cvs2svn [Sat, 14 Dec 2002 13:43:39 +0000 (13:43 +0000)]
This commit was manufactured by cvs2svn to create branch 'unlabeled-1.1.2'.
braam [Sat, 14 Dec 2002 13:43:37 +0000 (13:43 +0000)]
add patch fixups for Red Hat 2.4.18-18.8.0 kernel
nfshp [Sat, 14 Dec 2002 12:05:49 +0000 (12:05 +0000)]
as Zach's pointed out, fix the potential deadlock, use
wait_event() to sync between threads when liod start/stop.
thantry [Sat, 14 Dec 2002 02:49:46 +0000 (02:49 +0000)]
llvisualize is a tool that will parse debug logs (from CDEBUG output)
and provide a graphical representation of the call graph.
Useful as a debug aid for developers.
To invoke, provide the log file as input to llvisualize.
Currently, no fancy color scheme, just the ordered call graph(on a single node)
by process ID.
Visual controls allow user to go arbitarily deep.
All fields of the CDEBUG log are available, some have been omitted from
the visual display.
To invoke:
perl llvisualize.pl < /tmp/lustre-debuglog
thantry [Sat, 14 Dec 2002 02:49:44 +0000 (02:49 +0000)]
file llparser.pm was initially added on branch b_intel.
shorthair [Thu, 12 Dec 2002 14:11:28 +0000 (14:11 +0000)]
Add two kernel patches of uml2.5.44 for making lustre mount on the uml
shorthair [Thu, 12 Dec 2002 14:11:26 +0000 (14:11 +0000)]
file lustre-2.5-from811-812.patch was initially added on branch b_lin25.
shorthair [Thu, 12 Dec 2002 14:11:25 +0000 (14:11 +0000)]
file lustre-2.5-from809-812.patch was initially added on branch b_lin25.
nfshp [Thu, 12 Dec 2002 12:53:11 +0000 (12:53 +0000)]
initial checking of b_io branch.
- mark page/inode dirty when ll_commit_write
- sync dirty pages in ll_call_back
- start kernel thread 'liod' during mounting
- quit liod when umount
TODO
- find a way to sense memory pressure
- do actual sync work in liod
- do things according memory pressure in ll_commit_write
nfshp [Thu, 12 Dec 2002 12:53:09 +0000 (12:53 +0000)]
file iod.c was initially added on branch b_io.
adilger [Thu, 12 Dec 2002 10:59:05 +0000 (10:59 +0000)]
Add a new fsfilt method which reserved blocks for multiple bulk I/O operations.
Fix lock ordering in filter_preprw() so we get O/R i_sem before journal ops.
Move obdfilter to using the journal methods in fsfilt.
Change fsfilt_statfs() to take struct obd_statfs as a parameter.
Add some comments in fsfilt_extN_start() where we fall through on cases.
adilger [Thu, 12 Dec 2002 07:06:59 +0000 (07:06 +0000)]
Doh! This belongs in the OBD setup, and it's already there...
adilger [Wed, 11 Dec 2002 21:16:40 +0000 (21:16 +0000)]
Look for the fsfilt modules in obdclass/ and not mds/
morrone [Wed, 11 Dec 2002 19:22:04 +0000 (19:22 +0000)]
In Python 1.5 the string type does not have a find() method, so string.find
is probably preferable. In this case, a find isn't needed at all.
yanhao [Wed, 11 Dec 2002 17:59:53 +0000 (17:59 +0000)]
yanhao:
fix bug 461 wrong paths in lconf
fix bug 386 lconf error message confusing
pschwan [Wed, 11 Dec 2002 16:21:47 +0000 (16:21 +0000)]
backout #2
narasimd [Wed, 11 Dec 2002 06:53:25 +0000 (06:53 +0000)]
Merging to head, BUG#405
yanhao [Wed, 11 Dec 2002 01:07:56 +0000 (01:07 +0000)]
yanhao: check in again for bug 461 wrong path in lconf
pschwan [Tue, 10 Dec 2002 16:36:30 +0000 (16:36 +0000)]
Back out yanhao's configure.in change -- this broke the build, and belongs
on a branch, please be more careful.
yanhao [Tue, 10 Dec 2002 15:50:38 +0000 (15:50 +0000)]
yanhao: fix the bug 461 wrong paths in lconf
fix the bug 386 lconf error message confusing
yanhao [Tue, 10 Dec 2002 15:50:37 +0000 (15:50 +0000)]
yanhao: fix the bug 461 wrong paths in lconf
fix the bug 386 lconf error message confusing
yanhao [Tue, 10 Dec 2002 15:50:35 +0000 (15:50 +0000)]
file lconf.in was initially added on branch b_md.
eeb [Tue, 10 Dec 2002 15:10:51 +0000 (15:10 +0000)]
* fixed tests in sanity.sh
-- sudo test didn't pass #4711 correctly + added check for ownership
-- test 24-R4 was incorrectly using R3
-- test 24-R9 added extra checks
-- test 24-R10 mv wasn't actually attempting the rename; changed to perl
-- NB perl -e never appears to return an error status
* added uid/gid checks to checkstat.
amrutjoshi [Tue, 10 Dec 2002 11:39:08 +0000 (11:39 +0000)]
Needed more fixes to path
amrutjoshi [Tue, 10 Dec 2002 11:20:56 +0000 (11:20 +0000)]
Fixed the file name
adilger [Tue, 10 Dec 2002 10:07:30 +0000 (10:07 +0000)]
Now enough fixes to get it actually working...
adilger [Tue, 10 Dec 2002 09:45:48 +0000 (09:45 +0000)]
Merge changes from fsfilt_extN.c into fsfilt_ext3.c
adilger [Tue, 10 Dec 2002 09:41:32 +0000 (09:41 +0000)]
Final fixes to get new changes to comple cleanly... Now to test it.
braam [Tue, 10 Dec 2002 09:29:17 +0000 (09:29 +0000)]
- fixes for compiles
adilger [Tue, 10 Dec 2002 09:20:47 +0000 (09:20 +0000)]
Get things to compiling at least.
braam [Tue, 10 Dec 2002 08:50:42 +0000 (08:50 +0000)]
- compile fixes.
adilger [Tue, 10 Dec 2002 08:25:59 +0000 (08:25 +0000)]
At Peter's request, a work-in-progress check-in of the fix for bug 478 and
108. Breaks everything, doesn't even compile.
The intention is to move the MDS fs interface methods so they can be used
by obdfilter also, for creating compound transactions, last_rcvd callbacks,
etc.
Hopefully I'll have it in shape in a couple of hours.
adilger [Tue, 10 Dec 2002 08:25:57 +0000 (08:25 +0000)]
file lustre_fsfilt.h was initially added on branch b_md.
adilger [Tue, 10 Dec 2002 08:25:56 +0000 (08:25 +0000)]
file fsfilt_extN.c was initially added on branch b_md.
adilger [Tue, 10 Dec 2002 08:25:55 +0000 (08:25 +0000)]
file fsfilt_ext3.c was initially added on branch b_md.
adilger [Tue, 10 Dec 2002 08:25:54 +0000 (08:25 +0000)]
file fsfilt.c was initially added on branch b_md.
braam [Tue, 10 Dec 2002 08:16:01 +0000 (08:16 +0000)]
fix the pathnames in the patch
eeb [Mon, 9 Dec 2002 21:50:24 +0000 (21:50 +0000)]
* Added some checking to sanity.sh + new utility checkstat (-h for usage)
cvs2svn [Mon, 9 Dec 2002 21:50:23 +0000 (21:50 +0000)]
This commit was manufactured by cvs2svn to create branch 'unlabeled-1.1.2'.
eeb [Mon, 9 Dec 2002 21:50:22 +0000 (21:50 +0000)]
file checkstat.c was initially added on branch b_md.
braam [Sun, 8 Dec 2002 10:01:53 +0000 (10:01 +0000)]
- remove the README file Zach wrote. I placed it on the project wiki
- add two initial patches for 2.5 as in use with 2.5.44
- these require breaking up in components etc as Zach suggests
zab [Sat, 7 Dec 2002 00:21:14 +0000 (00:21 +0000)]
- bring in akpm's patch management scripts and a first cut at
patch-2.4.18-14 and patch-2.4.18-um against 2.4.18-17.8.0. the README
should hopefully make it clear how these are intended to be used. email
to follow.
pschwan [Fri, 6 Dec 2002 10:22:06 +0000 (10:22 +0000)]
merge IA-64 patch change into b_md
pschwan [Fri, 6 Dec 2002 10:19:14 +0000 (10:19 +0000)]
Update the IA-64 patch
pschwan [Fri, 6 Dec 2002 10:11:13 +0000 (10:11 +0000)]
merge b_md into HEAD:
- lfind did not preserve OST order in output (443)
- symlinks cause hung clients, incorrect data (439)
- stop dereferencing request after dropping refcount (457)
- don't LASSERT(spin_is_locked) on non-SMP (455)
- fixes for many rename() bugs
morrone [Fri, 6 Dec 2002 01:26:50 +0000 (01:26 +0000)]
Removed all files in this tree, I goofed on the import
morrone [Fri, 6 Dec 2002 01:15:13 +0000 (01:15 +0000)]
This commit was generated by cvs2svn to compensate for changes in r5101,
which included commits to RCS files with non-trunk default branches.
morrone [Fri, 6 Dec 2002 01:15:13 +0000 (01:15 +0000)]
First checkin of auto-test buffalo scripts