Whamcloud - gitweb
fs/lustre-release.git
20 years agoBreak, instead of panic, in the UML version of portals_debug_dumpstack.
rread [Thu, 8 Jan 2004 22:49:58 +0000 (22:49 +0000)]
Break, instead of panic, in the UML version of portals_debug_dumpstack.

20 years agob=2432,2494
rread [Thu, 8 Jan 2004 21:17:56 +0000 (21:17 +0000)]
b=2432,2494

test cases for these bugs.
Also some test enhancments
  - add more lctl marks
  - add SETUP CLEANUP options to replay-single

20 years agob=2494
rread [Thu, 8 Jan 2004 21:07:23 +0000 (21:07 +0000)]
b=2494

Make sure we reset the timer after resending a request.  Renamed
sending_error to force_timer_recalc, because that's what it does.

20 years agob=2432
rread [Thu, 8 Jan 2004 20:21:38 +0000 (20:21 +0000)]
b=2432

Merging fix from b_llp2. Set the rq_no_resend for cancel requests so
ldlm_cli_cancel() can reconstruct the cancel with the correct
cookie.

20 years agoFix typo in patch.
adilger [Thu, 8 Jan 2004 08:36:26 +0000 (08:36 +0000)]
Fix typo in patch.

20 years agoAdd missing ChangeLog entry.
adilger [Thu, 8 Jan 2004 07:34:32 +0000 (07:34 +0000)]
Add missing ChangeLog entry.

20 years agoFix races in client write RPC generation when cache full
zab [Thu, 8 Jan 2004 07:24:03 +0000 (07:24 +0000)]
Fix races in client write RPC generation when cache full
b=2482
(tested in buffalo against b1_0)

20 years ago- fix up eeb's assertion fix. __GFP_WAIT isn't sufficient, it's GFP_ATOMIC that
zab [Thu, 8 Jan 2004 06:37:29 +0000 (06:37 +0000)]
- fix up eeb's assertion fix.  __GFP_WAIT isn't sufficient, it's GFP_ATOMIC that
  callers use.

20 years ago. Added an important comment in parse_get()
eeb [Wed, 7 Jan 2004 20:07:55 +0000 (20:07 +0000)]
.  Added an important comment in parse_get()

20 years agoAt least make some effort to detect errors in llog testing.
adilger [Wed, 7 Jan 2004 19:47:11 +0000 (19:47 +0000)]
At least make some effort to detect errors in llog testing.

20 years agoQuiet error if run without args.
adilger [Wed, 7 Jan 2004 17:46:34 +0000 (17:46 +0000)]
Quiet error if run without args.

20 years agoUse munlink and not unlink (unlink doesn't exist in non-RH9 setups).
adilger [Wed, 7 Jan 2004 17:20:17 +0000 (17:20 +0000)]
Use munlink and not unlink (unlink doesn't exist in non-RH9 setups).

20 years agoReverting 64K-stack change; r=phil.
shaver [Wed, 7 Jan 2004 15:47:41 +0000 (15:47 +0000)]
Reverting 64K-stack change; r=phil.

20 years agoupdate snapfs, include super.c filter.c snapfs_internal.h
wangdi [Wed, 7 Jan 2004 14:26:40 +0000 (14:26 +0000)]
update snapfs, include super.c filter.c snapfs_internal.h

20 years agoadd options.c
wangdi [Wed, 7 Jan 2004 14:24:22 +0000 (14:24 +0000)]
add options.c

20 years ago. fixed ia64 format warnings
eeb [Wed, 7 Jan 2004 13:28:03 +0000 (13:28 +0000)]
.  fixed ia64 format warnings

20 years ago. fixed assertion when called from interrupt handler (allocating lib_msg_t)
eeb [Wed, 7 Jan 2004 13:26:29 +0000 (13:26 +0000)]
.  fixed assertion when called from interrupt handler (allocating lib_msg_t)

20 years agoset stacksize to 64K
jerrifer [Wed, 7 Jan 2004 09:39:58 +0000 (09:39 +0000)]
set stacksize to 64K

20 years agofix a typo.
wangchao [Wed, 7 Jan 2004 08:20:56 +0000 (08:20 +0000)]
fix a typo.

20 years agoadd conf-sanity.sh to acceptance-small.sh
jerrifer [Wed, 7 Jan 2004 06:43:10 +0000 (06:43 +0000)]
add conf-sanity.sh to acceptance-small.sh

20 years agoupdate config file
jerrifer [Wed, 7 Jan 2004 06:26:25 +0000 (06:26 +0000)]
update config file

20 years agob=2103
wangchao [Wed, 7 Jan 2004 05:52:06 +0000 (05:52 +0000)]
b=2103
r=shaver

add tag to name2uuid() to deal with the broken of lmc when mds name and hostname are the same.

20 years agob=1719
wangchao [Wed, 7 Jan 2004 05:07:18 +0000 (05:07 +0000)]
b=1719
r=shaver

Add --ptldebug and --subsystem to lmc.

20 years agoMake TCP zerocopy and pinger support enabled by default (affinity already was)
adilger [Tue, 6 Jan 2004 18:34:09 +0000 (18:34 +0000)]
Make TCP zerocopy and pinger support enabled by default (affinity already was)
b=2476
r=phil

20 years agoupdate snapfs
wangdi [Tue, 6 Jan 2004 14:33:36 +0000 (14:33 +0000)]
update snapfs

20 years agob=2460
rread [Tue, 6 Jan 2004 00:58:08 +0000 (00:58 +0000)]
b=2460

Add a test to recovery-small to trigger this bug. Also fix some
typos/brainos in recovery-small and test-framework, and set the debug
level to the default for local configs,

20 years agob=2421
jacob [Mon, 5 Jan 2004 20:05:51 +0000 (20:05 +0000)]
b=2421
r=phil

(i'm just committing jerrifer's work + a couple of typo fixes)

add a --disable-doc option to lustre's configure which skips .pdf doc
building (to ease rpm creation).

20 years agob=2460
rread [Mon, 5 Jan 2004 18:57:17 +0000 (18:57 +0000)]
b=2460
r=phil

Make sure threads waiting for a completion callback are awoken when
the client is evicted. Also set LDLM_FL_CANCEL explicitely in
cleanup_resouces, so callers of ldmm_namespace_cleanup no
longer need to specify it.

20 years agoDon't use SLAB_KERNEL (GFP_KERNEL) allocations for locks and resources.
adilger [Mon, 5 Jan 2004 18:52:14 +0000 (18:52 +0000)]
Don't use SLAB_KERNEL (GFP_KERNEL) allocations for locks and resources.
This is the bug that started it all, and was fixed only in b_llnl_prod...
b=1933
r=zab

20 years agoWe haven't opened objects on OSTs in a long time. Remove unused field.
adilger [Mon, 5 Jan 2004 18:07:18 +0000 (18:07 +0000)]
We haven't opened objects on OSTs in a long time.  Remove unused field.

20 years agoDon't dereference a bad dchild if we had a lookup error (Alex found this).
adilger [Mon, 5 Jan 2004 18:06:19 +0000 (18:06 +0000)]
Don't dereference a bad dchild if we had a lookup error (Alex found this).
Don't get inum lock if we didn't create an inode.
b=2362

20 years agofix some bugs of snapfs
wangdi [Mon, 5 Jan 2004 14:39:49 +0000 (14:39 +0000)]
fix some bugs of snapfs

20 years agochange tag from b_devel to HEAD
jerrifer [Mon, 5 Jan 2004 06:03:49 +0000 (06:03 +0000)]
change tag from b_devel to HEAD

20 years agoreomve i_filterdata in this patch, for vfs_intent patch have this item already. fix...
wangdi [Mon, 5 Jan 2004 03:09:46 +0000 (03:09 +0000)]
reomve i_filterdata in this patch, for vfs_intent patch have this item already. fix this temporary

20 years agoadd snapfs building support in lustre
wangdi [Sun, 4 Jan 2004 07:48:23 +0000 (07:48 +0000)]
add snapfs building support in lustre

20 years agoadd snapfs-2.4.20 kernel series
wangdi [Sun, 4 Jan 2004 07:39:51 +0000 (07:39 +0000)]
add snapfs-2.4.20 kernel series

20 years agooops make a mistake, change snapfs_core-2.4.20.path to snapfs_core-2.4.20.patch
wangdi [Sun, 4 Jan 2004 07:37:43 +0000 (07:37 +0000)]
oops make a mistake, change snapfs_core-2.4.20.path to snapfs_core-2.4.20.patch

20 years agoadd snapfs_core-2.4.20.path
wangdi [Sun, 4 Jan 2004 07:32:14 +0000 (07:32 +0000)]
add snapfs_core-2.4.20.path

20 years agoadd snapconf utils
wangdi [Sun, 4 Jan 2004 07:29:43 +0000 (07:29 +0000)]
add snapconf utils

20 years agoadd snapfs_internal.h snapfs_support.h Makefile.am
wangdi [Sun, 4 Jan 2004 07:28:26 +0000 (07:28 +0000)]
add snapfs_internal.h snapfs_support.h Makefile.am

20 years agoport snapfs to 2.4
wangdi [Sun, 4 Jan 2004 07:24:39 +0000 (07:24 +0000)]
port snapfs to 2.4

20 years agoadd snapfs to cvs
wangdi [Sun, 4 Jan 2004 07:22:40 +0000 (07:22 +0000)]
add snapfs to cvs

20 years agoMake "error" always report the test that failed, for SANITYLOG runs.
adilger [Sat, 3 Jan 2004 00:46:33 +0000 (00:46 +0000)]
Make "error" always report the test that failed, for SANITYLOG runs.
Make a bit more effort to clean up test cruft.

20 years agoDon't remove directory inodes from locks prematurely. Causes pages not to
adilger [Sat, 3 Jan 2004 00:02:31 +0000 (00:02 +0000)]
Don't remove directory inodes from locks prematurely.  Causes pages not to
be evicted if lock is revoked.
b=2451
r=phik

20 years agoUpdate ChangeLog with already-fixed bugs.
adilger [Fri, 2 Jan 2004 23:57:30 +0000 (23:57 +0000)]
Update ChangeLog with already-fixed bugs.

20 years agofile replay_ost_single.c was initially added on branch b_eq.
ericm [Fri, 2 Jan 2004 13:58:39 +0000 (13:58 +0000)]
file replay_ost_single.c was initially added on branch b_eq.

20 years agob_2466
youfeng [Fri, 2 Jan 2004 04:04:29 +0000 (04:04 +0000)]
b_2466
r = braam

make portals_debug_dumpstack(void) calling panic("LBUG") in uml

20 years ago* Removed toenal
eeb [Wed, 31 Dec 2003 14:58:38 +0000 (14:58 +0000)]
*  Removed toenal

20 years agob=1171
wangchao [Wed, 31 Dec 2003 07:42:11 +0000 (07:42 +0000)]
b=1171
r=shaver

create true uuid in lmc

20 years ago- new test: run create and rename in same directory on multiple nodes in parallel
ccooper [Wed, 31 Dec 2003 03:34:44 +0000 (03:34 +0000)]
- new test: run create and rename in same directory on multiple nodes in parallel

20 years agofile filter_lvb.c was initially added on branch b_size.
braam [Wed, 31 Dec 2003 02:35:58 +0000 (02:35 +0000)]
file filter_lvb.c was initially added on branch b_size.

20 years agoReduce per-OSC client side cache to avoid pathalogical cache-flush times
adilger [Tue, 30 Dec 2003 20:56:18 +0000 (20:56 +0000)]
Reduce per-OSC client side cache to avoid pathalogical cache-flush times
with lots of clients.  Tested at LLNL for a long time already.
Reduce max per-OSC RPCs in flight to reduce OST file fragmentation with
out-of-order writes to the filesystem.
r=Zach

20 years ago- patch from Oleg to export get_kmem_end in UML kernel
alex [Tue, 30 Dec 2003 05:44:45 +0000 (05:44 +0000)]
- patch from Oleg to export get_kmem_end in UML kernel

20 years agoremove mount age check
tianying [Tue, 30 Dec 2003 02:37:44 +0000 (02:37 +0000)]
remove mount age check
b: 2332
r: Shaver

20 years agob=2442
rread [Mon, 29 Dec 2003 20:36:00 +0000 (20:36 +0000)]
b=2442

Only create config logs for the MDS on the local node.

20 years ago- remove more forgotten relics
zab [Sun, 28 Dec 2003 21:33:36 +0000 (21:33 +0000)]
- remove more forgotten relics

20 years agob=2430
zab [Fri, 26 Dec 2003 20:20:02 +0000 (20:20 +0000)]
b=2430
Use kmalloc() instead of slab to allocate the MD and MSG portal descriptors.
On x86_64 the MD and MSG structs got quite large, into the 2k range, though
pages are still 4k there.  This tricked slab into trying to back their slabs
with multi-page allocations.  These allocations failed under high load which
lead to LBUG()s and timeouts.

While we're in here, properly initialize the in_use counts and stop using
sleeping allocations while holding the state lock.

20 years ago- use munlink instead of unlink
ccooper [Wed, 24 Dec 2003 19:18:29 +0000 (19:18 +0000)]
- use munlink instead of unlink

20 years ago- ability to skip O_DIRECT tests on O_DIRECT-deficient systems (LLNL)
ccooper [Wed, 24 Dec 2003 16:15:27 +0000 (16:15 +0000)]
- ability to skip O_DIRECT tests on O_DIRECT-deficient systems (LLNL)

20 years ago- test-frameworkize recovery-small.sh, and recovery-small.sh will
rread [Wed, 24 Dec 2003 01:38:20 +0000 (01:38 +0000)]
- test-frameworkize recovery-small.sh, and recovery-small.sh will
  now run in a local, single node mode by default.

- Add some tests for old bugs to recovery-small.sh. These tests were
  in the ltest/recovery scripts, but that is now unused.

- Move the OBD_FAIL funcs to test-framework.

- add the -v command line option for test scripts; it will print out
  the commands its executing on the nodes.

20 years agob=2417
rread [Tue, 23 Dec 2003 20:29:09 +0000 (20:29 +0000)]
b=2417
r=shaver

Prevent a race between mds_client_add and mds_client_free by clearing the client
index bit after the data has been zeroed. Also make config messages consistent
(with each other and with the obdfilter messages).

20 years agochange lfs from /usr/sbin to /usr/bin
jerrifer [Tue, 23 Dec 2003 10:21:35 +0000 (10:21 +0000)]
change lfs from /usr/sbin to /usr/bin

20 years agoFix valid uninitialized variable gcc warning.
adilger [Tue, 23 Dec 2003 08:49:40 +0000 (08:49 +0000)]
Fix valid uninitialized variable gcc warning.

20 years agob=2074
youfeng [Mon, 22 Dec 2003 03:31:52 +0000 (03:31 +0000)]
b=2074
r=Adilger

Log:
    remove the '\n's not at the end of log lines

20 years agoReverted #974 for now as it causes problems for people.
green [Sun, 21 Dec 2003 10:26:13 +0000 (10:26 +0000)]
Reverted #974 for now as it causes problems for people.
Approved by Andreas Dilger.

20 years agoMake the namespace/resource/lock dumping somewhat more compact, so
phil [Sun, 21 Dec 2003 07:51:42 +0000 (07:51 +0000)]
Make the namespace/resource/lock dumping somewhat more compact, so
that less log space is wasted, and it's easier to visually scan.

20 years agob=2425
phil [Sun, 21 Dec 2003 07:46:39 +0000 (07:46 +0000)]
b=2425
Jacob reported that when MDS/OST recovery requires new objects to be
created, the OST throws an assertion.

Bug 2425 remains open to track the creation of many more tests for
missing MDS/OST recovery cases.

20 years agoRemove pesky $Id tag which only causes conflicts
phil [Sun, 21 Dec 2003 07:41:47 +0000 (07:41 +0000)]
Remove pesky $Id tag which only causes conflicts

20 years agob=2353
rread [Fri, 19 Dec 2003 19:45:29 +0000 (19:45 +0000)]
b=2353
r=shaver

Delete IOC_CONNECT,DISCONNECT and use obd_self_export instead
of creating connections for lctl. Also delete the IOC_DEVICE comamnd
and make the ioctl interface stateless.  The lctl probe command is now
a noop, and lctl device is still used to set the device, although the
current device state is only saved in lctl now, and not the kernel.

20 years agob=2420: don't acquire a duplicate lock when processing a resent GETATTR, just
shaver [Fri, 19 Dec 2003 14:17:00 +0000 (14:17 +0000)]
b=2420: don't acquire a duplicate lock when processing a resent GETATTR, just
        grab the dchild directly and sample the data. Fixes recovery-small.sh.
r=phik,buffalo

20 years ago- tcp_sendpage_zccd() must be exported always
alex [Fri, 19 Dec 2003 11:16:11 +0000 (11:16 +0000)]
- tcp_sendpage_zccd() must be exported always

20 years agob=2383
phil [Thu, 18 Dec 2003 10:21:23 +0000 (10:21 +0000)]
b=2383
Stop taking a PR lock in mds_readpage; a PR is already held by the
client, so if there is a PW in the queue, deadlock will result.  Just
assume that the client has a lock.

20 years agoPrint the service name in the mds RECOVERY: message
phil [Thu, 18 Dec 2003 09:45:44 +0000 (09:45 +0000)]
Print the service name in the mds RECOVERY: message

20 years agob=2252
zab [Thu, 18 Dec 2003 04:13:42 +0000 (04:13 +0000)]
b=2252
r=adilger
(didn't see regressions in buffalo, confirmed read throughput increases
with sf and fpp multi-node IOR)

This cleans up llite's readpage path and implements our own read-ahead window
that hangs off of ll_file_data.  The broad goal is to keep a fair amount of
read-ahead pages issued and queued which can be fired off into read rpcs as
read-ahead rpcs are completed.

20 years ago- put llite page cache pages in a list_head for the duration
zab [Thu, 18 Dec 2003 03:59:08 +0000 (03:59 +0000)]
- put llite page cache pages in a list_head for the duration
  of their stay in the page cache.  This lets us display the contents
  of the page cache via llite/*/dump_pgcache file.  This was done as part
  of b=2252 and is being committed seperately from the read-ahead work.

20 years agoSilence bogus compiler warning.
adilger [Wed, 17 Dec 2003 19:49:18 +0000 (19:49 +0000)]
Silence bogus compiler warning.

20 years agoWe can never hit the end of mds_finish_open() with a non-zero error code
adilger [Wed, 17 Dec 2003 19:48:16 +0000 (19:48 +0000)]
We can never hit the end of mds_finish_open() with a non-zero error code
because we exit early on error, so the mds_destroy_mfd() is bogus.  I left
RETURN(rc) in case things change in the future though.

We don't use request_body() anywhere inside mds_put_write_access(), but
since all of that code is just commented out I didn't do a real cleanup.
Just a bogus compiler warning fixed.

20 years agofile dir.c was initially added on branch b_eq.
ericm [Wed, 17 Dec 2003 13:42:47 +0000 (13:42 +0000)]
file dir.c was initially added on branch b_eq.

20 years ago- move the osc histogram helpers into lprocfs and rename accordingly
zab [Wed, 17 Dec 2003 00:04:24 +0000 (00:04 +0000)]
- move the osc histogram helpers into lprocfs and rename accordingly
- export brw histograms from the filter that record discontiguous offsets
  in the brw request and discontigous blocks that satisfy the request
  (seen as /proc/fs/lustre/obdfilter/$name/brw_stats)

20 years ago- get rid of some ancient unused left-overs
zab [Tue, 16 Dec 2003 22:13:03 +0000 (22:13 +0000)]
- get rid of some ancient unused left-overs

20 years agor=zab,phil
green [Tue, 16 Dec 2003 17:46:23 +0000 (17:46 +0000)]
r=zab,phil
Fix for bug 974, Also adds a test to check for OOM (modified script from
bug 1135), fixes to sanity.sh's test 45 to obtain a grant (closes 2387).

20 years agob=1557/2316
phil [Tue, 16 Dec 2003 17:01:07 +0000 (17:01 +0000)]
b=1557/2316
Back out patch from bug 1557, because it causes the crash described in
bug 2316.

20 years ago- large kernel address space support against vanilla-2.4.22
alex [Mon, 15 Dec 2003 20:42:09 +0000 (20:42 +0000)]
- large kernel address space support against vanilla-2.4.22

20 years agofile sanity.c was initially added on branch b_eq.
ericm [Mon, 15 Dec 2003 12:03:33 +0000 (12:03 +0000)]
file sanity.c was initially added on branch b_eq.

20 years agofile echo_test.c was initially added on branch b_eq.
ericm [Mon, 15 Dec 2003 12:03:32 +0000 (12:03 +0000)]
file echo_test.c was initially added on branch b_eq.

20 years agofile Makefile.am was initially added on branch b_eq.
ericm [Mon, 15 Dec 2003 12:03:31 +0000 (12:03 +0000)]
file Makefile.am was initially added on branch b_eq.

20 years agofile test_lock_cancel.c was initially added on branch b_eq.
ericm [Mon, 15 Dec 2003 12:03:30 +0000 (12:03 +0000)]
file test_lock_cancel.c was initially added on branch b_eq.

20 years agofile test_common.h was initially added on branch b_eq.
ericm [Mon, 15 Dec 2003 12:03:29 +0000 (12:03 +0000)]
file test_common.h was initially added on branch b_eq.

20 years agofile test_common.c was initially added on branch b_eq.
ericm [Mon, 15 Dec 2003 12:03:28 +0000 (12:03 +0000)]
file test_common.c was initially added on branch b_eq.

20 years agofile replay_single.c was initially added on branch b_eq.
ericm [Mon, 15 Dec 2003 12:03:27 +0000 (12:03 +0000)]
file replay_single.c was initially added on branch b_eq.

20 years agofile recovery_small.c was initially added on branch b_eq.
ericm [Mon, 15 Dec 2003 12:03:26 +0000 (12:03 +0000)]
file recovery_small.c was initially added on branch b_eq.

20 years agoImplement saving of previous value of max_dirty_mb, as suggested by Andreas
green [Mon, 15 Dec 2003 10:36:15 +0000 (10:36 +0000)]
Implement saving of previous value of max_dirty_mb, as suggested by Andreas

20 years ago b: 2356
tianying [Mon, 15 Dec 2003 06:22:42 +0000 (06:22 +0000)]
 b: 2356
     r: Andreas and Phil
     To increase the mount count of mds.

20 years agochange debug_client_off from 0 to the minimal but still useful 0x3f0400
phil [Mon, 15 Dec 2003 06:14:25 +0000 (06:14 +0000)]
change debug_client_off from 0 to the minimal but still useful 0x3f0400

20 years ago- fix iopentest*.c to produce error messages with filenames
phil [Mon, 15 Dec 2003 04:39:38 +0000 (04:39 +0000)]
- fix iopentest*.c to produce error messages with filenames
- remove sanity test 55

20 years agoWhoops, just added test for #2319 was a bit flawed and failed for no good reason
green [Sun, 14 Dec 2003 22:05:30 +0000 (22:05 +0000)]
Whoops, just added test for #2319 was a bit flawed and failed for no good reason

20 years agor=shaver
green [Sun, 14 Dec 2003 21:39:09 +0000 (21:39 +0000)]
r=shaver
fix for #2319, make osic to be allocated separately and implement proper
refcounting for it.
Also adds a test to sanity.sh that checks for (fixed) crash.

20 years agor=phik
green [Sun, 14 Dec 2003 17:42:07 +0000 (17:42 +0000)]
r=phik
fix for #2348

20 years ago- xattr-related fixes against chaos-2.4.21
alex [Sun, 14 Dec 2003 12:49:50 +0000 (12:49 +0000)]
- xattr-related fixes against chaos-2.4.21

20 years agofix "empty case at end of compound statement" warning in newer GCCs
phil [Sun, 14 Dec 2003 05:15:10 +0000 (05:15 +0000)]
fix "empty case at end of compound statement" warning in newer GCCs