Whamcloud - gitweb
cvs2svn [Fri, 9 Jan 2004 07:02:27 +0000 (07:02 +0000)]
This commit was manufactured by cvs2svn to create branch 'unlabeled-1.1.2'.
ericm [Tue, 6 Jan 2004 10:39:07 +0000 (10:39 +0000)]
liblustre:
- more items of replay-ost-single
ericm [Mon, 5 Jan 2004 09:46:40 +0000 (09:46 +0000)]
liblustre:
- add more items to replay-ost-single, but comment out 3,4 which still
have problems.
ericm [Mon, 5 Jan 2004 09:26:31 +0000 (09:26 +0000)]
liblustre:
- remove the hack code for timeout, now use env to set obd timeout value.
wangdi [Sun, 4 Jan 2004 07:39:51 +0000 (07:39 +0000)]
add snapfs-2.4.20 kernel series
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
wangdi [Sun, 4 Jan 2004 07:32:14 +0000 (07:32 +0000)]
add snapfs_core-2.4.20.path
wangdi [Sun, 4 Jan 2004 07:29:43 +0000 (07:29 +0000)]
add snapconf utils
wangdi [Sun, 4 Jan 2004 07:28:26 +0000 (07:28 +0000)]
add snapfs_internal.h snapfs_support.h Makefile.am
wangdi [Sun, 4 Jan 2004 07:24:39 +0000 (07:24 +0000)]
port snapfs to 2.4
wangdi [Sun, 4 Jan 2004 07:22:40 +0000 (07:22 +0000)]
add snapfs to cvs
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.
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
adilger [Fri, 2 Jan 2004 23:57:30 +0000 (23:57 +0000)]
Update ChangeLog with already-fixed bugs.
ericm [Fri, 2 Jan 2004 13:58:42 +0000 (13:58 +0000)]
liblustre:
- initially add replay_ost_single, but need special trick to running
- minor fix
ericm [Fri, 2 Jan 2004 13:58:39 +0000 (13:58 +0000)]
file replay_ost_single.c was initially added on branch b_eq.
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
phil [Thu, 1 Jan 2004 22:28:03 +0000 (22:28 +0000)]
- add an AST which returns a snapshot of the LVB (glimpse)
- add llite and LOV code to respond to glimpse ASTs with the
stripe-adjusted size of the inode
- add a policy function on the filter; this policy either grants a
[0,-1] PR lock, if no conflicts, or performs a glimpse and returns
that LVB
- send LVB in completion AST
- add lvb_swabber pointer to ldlm_lock and enqueue functions
- remove never-used parent_lock_handle from enqueue functions
- ldlm_intent_policy renamed to mds_intent_policy
- filter_lvbo_update can now update LVB from the network message or
disk inode, as required
eeb [Wed, 31 Dec 2003 14:58:38 +0000 (14:58 +0000)]
* Removed toenal
wangchao [Wed, 31 Dec 2003 07:42:11 +0000 (07:42 +0000)]
b=1171
r=shaver
create true uuid in lmc
braam [Wed, 31 Dec 2003 06:30:24 +0000 (06:30 +0000)]
- update lock value block on cancel
- the update handler in the filter is not quite the final one, that
awaits shipping the lvb over the wire with cancel
phil [Wed, 31 Dec 2003 05:37:38 +0000 (05:37 +0000)]
- send the lock value block over the wire in the "enqueue" reply
- store it in the lock on the client
- use the same struct for filter/llite (ost_lvb)
- replace separate files with a single lock_desc in the reply
- add some plumbing to ldlm_cli_create et al to pass LVB size down
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
braam [Wed, 31 Dec 2003 02:36:00 +0000 (02:36 +0000)]
b = 1021: this introduces a lock value block that can be used to
exchange file size with the lock manager. The code here:
- initializes the block by calling a method in the obdfilter
- removes the old version buffer from the locks
- initializes intents slightly more neatly
braam [Wed, 31 Dec 2003 02:35:58 +0000 (02:35 +0000)]
file filter_lvb.c was initially added on branch b_size.
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
ericm [Tue, 30 Dec 2003 10:22:11 +0000 (10:22 +0000)]
liblustre:
fix echo_test, follow the changes of this merge
ericm [Tue, 30 Dec 2003 08:25:39 +0000 (08:25 +0000)]
merge HEAD to b_eq: tag
20031230
alex [Tue, 30 Dec 2003 05:44:45 +0000 (05:44 +0000)]
- patch from Oleg to export get_kmem_end in UML kernel
tianying [Tue, 30 Dec 2003 02:37:44 +0000 (02:37 +0000)]
remove mount age check
b: 2332
r: Shaver
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.
zab [Sun, 28 Dec 2003 21:33:36 +0000 (21:33 +0000)]
- remove more forgotten relics
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.
ccooper [Wed, 24 Dec 2003 19:18:29 +0000 (19:18 +0000)]
- use munlink instead of unlink
ccooper [Wed, 24 Dec 2003 16:15:27 +0000 (16:15 +0000)]
- ability to skip O_DIRECT tests on O_DIRECT-deficient systems (LLNL)
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.
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).
jerrifer [Tue, 23 Dec 2003 10:21:35 +0000 (10:21 +0000)]
change lfs from /usr/sbin to /usr/bin
adilger [Tue, 23 Dec 2003 08:49:40 +0000 (08:49 +0000)]
Fix valid uninitialized variable gcc warning.
ericm [Mon, 22 Dec 2003 13:21:30 +0000 (13:21 +0000)]
liblustre:
- inode reference leak
- more test in sanity
- minor message text change
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
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.
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.
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.
phil [Sun, 21 Dec 2003 07:41:47 +0000 (07:41 +0000)]
Remove pesky $Id tag which only causes conflicts
ericm [Sun, 21 Dec 2003 06:47:36 +0000 (06:47 +0000)]
liblustre:
- fix pnode revalidation
- more fix about read beyond file size
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.
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
alex [Fri, 19 Dec 2003 11:16:11 +0000 (11:16 +0000)]
- tcp_sendpage_zccd() must be exported always
ericm [Fri, 19 Dec 2003 05:31:34 +0000 (05:31 +0000)]
liblustre:
disable readdir test until we verified it works on x86_64.
ericm [Fri, 19 Dec 2003 03:18:38 +0000 (03:18 +0000)]
liblustre: minor fixes:
- lrun should be installed in /usr/bin instead of sbin, thus normal user
could easily use it.
- set default target value.
ericm [Thu, 18 Dec 2003 12:11:56 +0000 (12:11 +0000)]
liblustre:
- switch to getdirentries64
- minor build fix
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.
phil [Thu, 18 Dec 2003 09:45:44 +0000 (09:45 +0000)]
Print the service name in the mds RECOVERY: message
ericm [Thu, 18 Dec 2003 05:11:10 +0000 (05:11 +0000)]
liblustre:
fix readdir, add more sanity tests.
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.
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.
adilger [Wed, 17 Dec 2003 19:49:18 +0000 (19:49 +0000)]
Silence bogus compiler warning.
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.
ericm [Wed, 17 Dec 2003 14:04:15 +0000 (14:04 +0000)]
liblustre:
add sanity test for readdir, but one test still fail, need to be fixed
tomorrow.
ericm [Wed, 17 Dec 2003 13:42:53 +0000 (13:42 +0000)]
liblustre:
support readdir()
cvs2svn [Wed, 17 Dec 2003 13:42:48 +0000 (13:42 +0000)]
This commit was manufactured by cvs2svn to create branch 'unlabeled-1.1.2'.
ericm [Wed, 17 Dec 2003 13:42:47 +0000 (13:42 +0000)]
file dir.c was initially added on branch b_eq.
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)
zab [Tue, 16 Dec 2003 22:13:03 +0000 (22:13 +0000)]
- get rid of some ancient unused left-overs
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).
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.
ericm [Tue, 16 Dec 2003 12:19:05 +0000 (12:19 +0000)]
liblustre:
echo_test now do graceful cleanup before exit;
ericm [Tue, 16 Dec 2003 05:48:31 +0000 (05:48 +0000)]
liblustre:
minor makefile.am fix.
alex [Mon, 15 Dec 2003 20:42:09 +0000 (20:42 +0000)]
- large kernel address space support against vanilla-2.4.22
ericm [Mon, 15 Dec 2003 12:03:35 +0000 (12:03 +0000)]
liblustre:
layout adjustment, move test programs into liblustre/tests
cvs2svn [Mon, 15 Dec 2003 12:03:34 +0000 (12:03 +0000)]
This commit was manufactured by cvs2svn to create branch 'unlabeled-1.1.2'.
ericm [Mon, 15 Dec 2003 12:03:33 +0000 (12:03 +0000)]
file sanity.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.
ericm [Mon, 15 Dec 2003 12:03:31 +0000 (12:03 +0000)]
file Makefile.am 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.
ericm [Mon, 15 Dec 2003 12:03:29 +0000 (12:03 +0000)]
file test_common.h 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.
ericm [Mon, 15 Dec 2003 12:03:27 +0000 (12:03 +0000)]
file replay_single.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.
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
ericm [Mon, 15 Dec 2003 07:16:14 +0000 (07:16 +0000)]
liblustre:
some code cleanup under liblustre/
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.
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
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
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
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.
green [Sun, 14 Dec 2003 17:42:07 +0000 (17:42 +0000)]
r=phik
fix for #2348
alex [Sun, 14 Dec 2003 12:49:50 +0000 (12:49 +0000)]
- xattr-related fixes against chaos-2.4.21
ericm [Sun, 14 Dec 2003 08:11:57 +0000 (08:11 +0000)]
liblustre:
supress compile warning about LIST_HEAD. I remember I'v tried this
before, but can't remember why that time failed.
phil [Sun, 14 Dec 2003 05:15:10 +0000 (05:15 +0000)]
fix "empty case at end of compound statement" warning in newer GCCs
phil [Sun, 14 Dec 2003 03:59:16 +0000 (03:59 +0000)]
change default debug level to a more reasonable production setting
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
phil [Sat, 13 Dec 2003 06:10:30 +0000 (06:10 +0000)]
ignore generated files
phil [Sat, 13 Dec 2003 04:28:44 +0000 (04:28 +0000)]
b=2368
fix a useless error message
alex [Fri, 12 Dec 2003 17:11:48 +0000 (17:11 +0000)]
- chaos-2.4.21 series against 2.4.21-p4smp-12chaos
ericm [Fri, 12 Dec 2003 07:57:10 +0000 (07:57 +0000)]
liblustre:
fix -fPIC flag in portals/utils/Makefile.am confused automake. Still not
really understand the reason, looks like automake have a bug when handle
this case. Now the workaround is assign different name of the ptlctl
library for build for kernel/liblustre.
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"
adilger [Fri, 12 Dec 2003 01:38:33 +0000 (01:38 +0000)]
Fix path to include lctl (was already in PATH at LLNL).
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.