Whamcloud - gitweb
fs/lustre-release.git
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

20 years agochange default debug level to a more reasonable production setting
phil [Sun, 14 Dec 2003 03:59:16 +0000 (03:59 +0000)]
change default debug level to a more reasonable production setting

20 years agob=2371
phil [Sun, 14 Dec 2003 02:50:28 +0000 (02:50 +0000)]
b=2371
Updated the BUILDING file, to at least remove the lies, and point
people at more helpful documentation

20 years agoignore generated files
phil [Sat, 13 Dec 2003 06:10:30 +0000 (06:10 +0000)]
ignore generated files

20 years agob=2368
phil [Sat, 13 Dec 2003 04:28:44 +0000 (04:28 +0000)]
b=2368
fix a useless error message

20 years ago- chaos-2.4.21 series against 2.4.21-p4smp-12chaos
alex [Fri, 12 Dec 2003 17:11:48 +0000 (17:11 +0000)]
- chaos-2.4.21 series against 2.4.21-p4smp-12chaos

20 years agob=1792
wangchao [Fri, 12 Dec 2003 06:43:41 +0000 (06:43 +0000)]
b=1792
r=Chris

add sanity test for "iopen_connect_dentry() on already-connected dentry"

20 years agoFix path to include lctl (was already in PATH at LLNL).
adilger [Fri, 12 Dec 2003 01:38:33 +0000 (01:38 +0000)]
Fix path to include lctl (was already in PATH at LLNL).

20 years agoAllow sanityN.sh to run with a zconf-mounted setup.
adilger [Fri, 12 Dec 2003 00:20:51 +0000 (00:20 +0000)]
Allow sanityN.sh to run with a zconf-mounted setup.
Be more verbose about what the specific error is.

20 years agoMake ONLY=setup not do cleanup at the end, while we use replay-dual.sh as
adilger [Fri, 12 Dec 2003 00:17:08 +0000 (00:17 +0000)]
Make ONLY=setup not do cleanup at the end, while we use replay-dual.sh as
a proxy for mount2.sh.

20 years ago- silence trivial unused variable warning
zab [Fri, 12 Dec 2003 00:01:42 +0000 (00:01 +0000)]
- silence trivial unused variable warning

20 years agoAdd lock-order regression test.
adilger [Thu, 11 Dec 2003 22:33:40 +0000 (22:33 +0000)]
Add lock-order regression test.
b=1844

20 years ago- fix up rc = type-o spotted by adilger
zab [Thu, 11 Dec 2003 20:06:24 +0000 (20:06 +0000)]
- fix up rc = type-o spotted by adilger

20 years agob=2339
zab [Thu, 11 Dec 2003 19:04:49 +0000 (19:04 +0000)]
b=2339
filter_precreate() was setting the oid returned based on the last_id for the
requested object group, but was always creating objects in group 0 by virtue of
passing NULL in as the obdo to the _next_id functions.  In the process of
fixing this we stop NULLing out the obdo in the loop and get rid of the
_setattr() and obdo_from_inode() which are artifacts from when the client
performed obd_create().

Also some cleanup_phase beautification.

20 years agob:2316 Save the owner of f_op before replace it with llite special file operation
wangdi [Thu, 11 Dec 2003 08:30:50 +0000 (08:30 +0000)]
b:2316 Save the owner of f_op before replace it with llite special file operation

20 years agoa trivial fix to add description for lfs commands
wangchao [Thu, 11 Dec 2003 08:29:09 +0000 (08:29 +0000)]
a trivial fix to add description for lfs commands

20 years agob=1135
wangchao [Thu, 11 Dec 2003 02:19:12 +0000 (02:19 +0000)]
b=1135
r=Andreas

Add a regression test script to test OST out-of-space.

20 years ago- ignore write_disjoint
ccooper [Thu, 11 Dec 2003 00:01:27 +0000 (00:01 +0000)]
- ignore write_disjoint

20 years ago- kernel_text_address patch against chaos-2.4.18 series
alex [Wed, 10 Dec 2003 23:26:10 +0000 (23:26 +0000)]
- kernel_text_address patch against chaos-2.4.18 series

20 years ago- list_for_each_entry_safe(), list_move() and list_move_tail() have been added
alex [Wed, 10 Dec 2003 21:40:11 +0000 (21:40 +0000)]
- list_for_each_entry_safe(), list_move() and list_move_tail() have been added

20 years ago- list_for_each_entry() added
alex [Wed, 10 Dec 2003 19:10:15 +0000 (19:10 +0000)]
- list_for_each_entry() added

20 years agob: 1991
niu [Wed, 10 Dec 2003 10:13:55 +0000 (10:13 +0000)]
b: 1991
r: Peter

lfs catinfo <keyword>
Fetching logs information from client node. Now keywords include:
config and deletions. Others will be added in future.

20 years agob=2237
wangchao [Wed, 10 Dec 2003 09:51:51 +0000 (09:51 +0000)]
b=2237
a small fix. We should use 0 instead of 1 as the stripe_start patameter, because the first number of OSTs is 0. If we have only one OST, 1 will fail.

20 years agob=2237
wangchao [Wed, 10 Dec 2003 07:05:25 +0000 (07:05 +0000)]
b=2237
r=phil

lstripe should fail when offset > numobd