Whamcloud - gitweb
rread [Fri, 23 Jul 2004 18:06:05 +0000 (18:06 +0000)]
b=3633,3934
debugging
rread [Thu, 22 Jul 2004 19:45:34 +0000 (19:45 +0000)]
b=3899
Handle server recovery in a new thread, instead of tying up request
processing threads. Centralizes the recovery management, including the
abort recovery checking.
rread [Thu, 22 Jul 2004 19:33:03 +0000 (19:33 +0000)]
b=3934
Add some more debugging.
rread [Thu, 22 Jul 2004 17:43:21 +0000 (17:43 +0000)]
b=3892
Move the transno update so it's done after we check for the -ENOTCONN
reply.
rread [Thu, 22 Jul 2004 16:30:26 +0000 (16:30 +0000)]
b=2525
I've seen the "server went back in time" message while testing HEAD,
so this will fix that. Patch already on 1.4.
alex [Thu, 22 Jul 2004 15:27:42 +0000 (15:27 +0000)]
b=3920
bits from 3599 landed to help debugging
alex [Thu, 22 Jul 2004 15:24:25 +0000 (15:24 +0000)]
- PTLDEBUG var to control debug set
alex [Thu, 22 Jul 2004 09:19:49 +0000 (09:19 +0000)]
b=2185
- ext3-inode-reuse is part of vanilla-2.4.24 series
- MDS doesn't take lock to prevent inode recreation
(this improves performance a bit)
alex [Thu, 22 Jul 2004 09:08:10 +0000 (09:08 +0000)]
- ost_brw_write() should return an error rather than uninitialized npages
rread [Thu, 22 Jul 2004 06:36:02 +0000 (06:36 +0000)]
b=3940
Corrected. OBD_MD_MDS should only be set when the directory was
created on a different node.
wangchao [Thu, 22 Jul 2004 06:07:20 +0000 (06:07 +0000)]
b=3362
r=braam
update lctl.lyx
wangchao [Thu, 22 Jul 2004 06:04:07 +0000 (06:04 +0000)]
b=3399
r=braam
update lmc.lyx and lconf.lyx
rread [Thu, 22 Jul 2004 06:02:01 +0000 (06:02 +0000)]
b=3940
revert while i figure out what i did wrong.
rread [Thu, 22 Jul 2004 05:25:49 +0000 (05:25 +0000)]
b=3940
Also reconstruct what we can in the body, which is hopefully enough.
wangdi [Wed, 21 Jul 2004 18:32:29 +0000 (18:32 +0000)]
add uml_clone.sh for clonefs test
wangdi [Wed, 21 Jul 2004 18:28:32 +0000 (18:28 +0000)]
1)add clonefs read in lustre
2)add clientfsoption in lmc and lconf
3)some fix in cobd for cache miss handler
jacob [Wed, 21 Jul 2004 00:32:57 +0000 (00:32 +0000)]
file lustrefs was initially added on branch b1_2_smallfix.
jacob [Wed, 21 Jul 2004 00:26:04 +0000 (00:26 +0000)]
file rhel-2.4.target was initially added on branch b1_2_smallfix.
jacob [Wed, 21 Jul 2004 00:26:03 +0000 (00:26 +0000)]
file x86-fpu-crash.patch was initially added on branch b1_2_smallfix.
jacob [Wed, 21 Jul 2004 00:26:02 +0000 (00:26 +0000)]
file qlogic-suse-2.4.21-2.patch was initially added on branch b1_2_smallfix.
jacob [Wed, 21 Jul 2004 00:26:01 +0000 (00:26 +0000)]
file kernel-2.4.21-rhel-2.4-i686.config was initially added on branch b1_2_smallfix.
jacob [Wed, 21 Jul 2004 00:26:00 +0000 (00:26 +0000)]
file kernel-2.4.21-rhel-2.4-i686-smp.config was initially added on branch b1_2_smallfix.
alex [Tue, 20 Jul 2004 18:01:05 +0000 (18:01 +0000)]
b=3896
oscc_internal_create() increase pre-creation window smoothly
rread [Tue, 20 Jul 2004 16:55:07 +0000 (16:55 +0000)]
b=3869
r=bzzz
Reconstruct create reply for CROSS_REF directories from the dentry.
rread [Tue, 20 Jul 2004 15:44:20 +0000 (15:44 +0000)]
b=3869
use the correct bug#
rread [Tue, 20 Jul 2004 06:29:01 +0000 (06:29 +0000)]
b=3892
more diagnostics.
rread [Tue, 20 Jul 2004 04:54:12 +0000 (04:54 +0000)]
b=3488
more debugging
rread [Mon, 19 Jul 2004 22:55:28 +0000 (22:55 +0000)]
b=3887
renmae 2nd ptlrcd "ptlrpcd-recov"
rread [Mon, 19 Jul 2004 22:49:58 +0000 (22:49 +0000)]
b=3886
A small races exists between receiving a reply and timeout. This diff
prevents ptlrpc_expire_one_request from timing out a req that has
already received the reply.
rread [Mon, 19 Jul 2004 22:38:40 +0000 (22:38 +0000)]
b=3885
THe hack on b1_2 branch to call set_info("mds_conn") on a specific OSC
instead of all of them was removed on HEAD, and this broke
mds_lov_synchronize. Instead of introducing a new hack to do this,
for now this changes m_l_s to send the set_info() to all the connected
OSTs. This should be harmless.
alex [Mon, 19 Jul 2004 11:57:30 +0000 (11:57 +0000)]
b=3874
- with CMD each MDS has own group on OST, so group != 0 always. this is
why filter_should_precreate() did return 1 always, so precreation path
didn't take a place. I've comment out check for group out for a while
alex [Mon, 19 Jul 2004 09:45:03 +0000 (09:45 +0000)]
- lmv_disconnect() should drop connected flag upon real disconnecting only
- lmv_disconnect() should drop connected flag upon real disconnecting only
- lmv_disconnect() should drop connected flag upon real disconnecting only
- lmv_disconnect() should drop connected flag upon real disconnecting only
- lmv_disconnect() should drop connected flag upon real disconnecting only
- lmv_disconnect() should drop connected flag upon real disconnecting only
- lmv_disconnect() should drop connected flag upon real disconnecting only
- lmv_disconnect() should drop connected flag upon real disconnecting only
alex [Sun, 18 Jul 2004 12:32:35 +0000 (12:32 +0000)]
- minor fixes to make the patch compatible with quadrics patches
alex [Sun, 18 Jul 2004 12:29:24 +0000 (12:29 +0000)]
- more fixes
alex [Sun, 18 Jul 2004 12:21:22 +0000 (12:21 +0000)]
- minor fixes to the patch. previous version couldn't be popped cleanly
alex [Sun, 18 Jul 2004 08:36:01 +0000 (08:36 +0000)]
- teached to catch double-free messy
alex [Sun, 18 Jul 2004 08:24:45 +0000 (08:24 +0000)]
b=3772
- race in dynlock_unlock() fixed: several threads may find refcount=0 and
try to free lock member at the same time. thanks to Andreas!
alex [Sun, 18 Jul 2004 05:41:57 +0000 (05:41 +0000)]
- if MDS aborts recovery it disconnects all the exports and lmv_disconnect()
is called. the last one didn't drop lmv->connected to 0 and this prevent
subsequent lmv_connect() to work properly
rread [Sun, 18 Jul 2004 00:29:37 +0000 (00:29 +0000)]
b=3869,1742
These are the remaining fixes from 1742 that are needed to allow a
client to reconnect during recover. The request that triggered 3869
on the last run was actually a RESENT request that was sent before
recovery had finished, which this patch will fix.
wangdi [Sat, 17 Jul 2004 15:26:39 +0000 (15:26 +0000)]
1 add snap read in fsfilt_getpage
2 some fix for regular file cow
alex [Sat, 17 Jul 2004 12:39:41 +0000 (12:39 +0000)]
b=3869
- more debug info
rread [Sat, 17 Jul 2004 00:57:13 +0000 (00:57 +0000)]
b=1451
Don't allow client to reconnect if an RPC is already in progress for
that client. Added an extra counter for this, because the export
refcount is also held by locks and who knows what else.
green [Fri, 16 Jul 2004 18:57:47 +0000 (18:57 +0000)]
file uml-2.6.7-01-bb2.patch was initially added on branch b1_4_smallfix.
wangdi [Fri, 16 Jul 2004 17:41:10 +0000 (17:41 +0000)]
some fix for obdfilter cow and snap ext3 patch
alex [Fri, 16 Jul 2004 17:08:04 +0000 (17:08 +0000)]
- vmlist needs to be exported for modules support
alex [Fri, 16 Jul 2004 12:40:54 +0000 (12:40 +0000)]
- slab-use-after-free debug tool added to vanilla-2.4.24 series to debug 3772
- dynlocks use own slab: slab-use-after-free may be enabled for only dynlocks
alex [Fri, 16 Jul 2004 08:07:25 +0000 (08:07 +0000)]
b=3772
- more debug checks and printks
rread [Fri, 16 Jul 2004 00:27:46 +0000 (00:27 +0000)]
b=3843
r=bzzz
Initialize req before passing it to down.
wangdi [Thu, 15 Jul 2004 17:59:18 +0000 (17:59 +0000)]
1)add more snap cow hook for dir ops.
2)add snap cow for obdfilter
3)some fix in smfs_cow
alex [Thu, 15 Jul 2004 14:53:37 +0000 (14:53 +0000)]
b=3772
- debug info for corrupted lock case
rread [Wed, 14 Jul 2004 20:37:55 +0000 (20:37 +0000)]
b=3844
Add debug LASSERT to ldlm_replay_locks()
alex [Wed, 14 Jul 2004 15:04:46 +0000 (15:04 +0000)]
b=3824
- new inode flag EXT3_EXTRA_ISIZE to mark inodes having i_extra_isize
initialized properly
alex [Wed, 14 Jul 2004 14:04:27 +0000 (14:04 +0000)]
b=3829
- mds_copy_unlink_reply() shouldn't be called if md_unlink() returns an error
zab [Wed, 14 Jul 2004 00:12:09 +0000 (00:12 +0000)]
file Makefile.mk was initially added on branch b1_4_smallfix_iib.
zab [Wed, 14 Jul 2004 00:12:08 +0000 (00:12 +0000)]
file autoMakefile.am was initially added on branch b1_4_smallfix_iib.
zab [Wed, 14 Jul 2004 00:12:07 +0000 (00:12 +0000)]
file Makefile.in was initially added on branch b1_4_smallfix_iib.
zab [Wed, 14 Jul 2004 00:12:06 +0000 (00:12 +0000)]
file .cvsignore was initially added on branch b1_4_smallfix_iib.
rread [Tue, 13 Jul 2004 01:57:19 +0000 (01:57 +0000)]
b=3405
Use lmv by default for insanity.sh.
rread [Tue, 13 Jul 2004 00:57:58 +0000 (00:57 +0000)]
b=3405
update replay-dual.sh and replay-ost-single.sh
rread [Mon, 12 Jul 2004 22:19:10 +0000 (22:19 +0000)]
b=3405
- Fix insanity.sh, still using the insanity-local.sh config by default.
- More cleanups in replay-single.sh. We need to generalize failures a
bit more, so we can choose a different mds each time, if more than one
is available.
zab [Mon, 12 Jul 2004 22:06:33 +0000 (22:06 +0000)]
file tcp-zero-copy-2.4.21-chaos.patch was initially added on branch b_bug3649.
rread [Mon, 12 Jul 2004 21:28:19 +0000 (21:28 +0000)]
Don't reset oscc_gr after recovery.
rread [Mon, 12 Jul 2004 20:47:43 +0000 (20:47 +0000)]
Fix replay-single.sh and recovery-small.sh so they can run with the
default lmv config or "-f cfg/local.sh" config.
rread [Mon, 12 Jul 2004 19:50:14 +0000 (19:50 +0000)]
use assignment instead of memset to clear the conn_cnt.
green [Mon, 12 Jul 2004 17:55:45 +0000 (17:55 +0000)]
file vfs_races-2.6-vanilla.patch was initially added on branch b1_4_smallfix.
green [Mon, 12 Jul 2004 17:55:44 +0000 (17:55 +0000)]
file nfs-cifs-intent-2.6-vanilla.patch was initially added on branch b1_4_smallfix.
uid721 [Mon, 12 Jul 2004 17:22:08 +0000 (17:22 +0000)]
1)update snapfs, add more hooks for dir ops, some fixes for snap setup.
move primary cowed inode to cowed dir.
2)move MSG_CONNECT_INITIAL check before obd_uuid equal check, otherwise,
it will bring some problems in cmobd_setup.
3)set imp_conn_cnt to 0 in ptlrpc_disconnect_import
wangdi [Fri, 9 Jul 2004 15:40:38 +0000 (15:40 +0000)]
1)some fix in cobd for cache miss tests.
2)some minor fix in smfs cache_hook.
eeb [Fri, 9 Jul 2004 09:56:48 +0000 (09:56 +0000)]
file iibnal_cb.c was initially added on branch b1_4_smallfix_iib.
eeb [Fri, 9 Jul 2004 09:56:47 +0000 (09:56 +0000)]
file iibnal.h was initially added on branch b1_4_smallfix_iib.
eeb [Fri, 9 Jul 2004 09:56:46 +0000 (09:56 +0000)]
file iibnal.c was initially added on branch b1_4_smallfix_iib.
alex [Fri, 9 Jul 2004 07:15:17 +0000 (07:15 +0000)]
b=3405
robert's fixes:
- add CONNECT_INITAL flag for the initial connect message from a client. When
server sees an old client reconnect with that flag, then it needs to set the
handles as if it was a new client.
- set the initial imp_conn_cnt from the server's conn_cnt. When client
connects with INITIAL set, the server sends back the old conn_cnt+1.
- timeout for inter-MDS requests is set to obd_timeout / 2
alex [Thu, 8 Jul 2004 18:37:00 +0000 (18:37 +0000)]
- mds_fid2dentry() should check generation number as it did before
- mds_open() logs parent/name couple. this helps recovery debugging
wangdi [Thu, 8 Jul 2004 16:27:47 +0000 (16:27 +0000)]
minor fix for snap_inode_init
wangdi [Thu, 8 Jul 2004 16:16:22 +0000 (16:16 +0000)]
add lmvtrace for llanalyze
wangdi [Thu, 8 Jul 2004 11:18:25 +0000 (11:18 +0000)]
some fix in llanalyze
yury [Thu, 8 Jul 2004 07:55:12 +0000 (07:55 +0000)]
ll_delete_inode() should call clear_inode().
wangdi [Wed, 7 Jul 2004 14:01:32 +0000 (14:01 +0000)]
Update snapfs
1) fix some bugs in create_indirect inode.
alex [Tue, 6 Jul 2004 18:37:43 +0000 (18:37 +0000)]
- several asserts in dynlocks have been added to assist 3772 debuggin
wangdi [Tue, 6 Jul 2004 15:07:31 +0000 (15:07 +0000)]
some minor fix for snapfs
1) add IOC_OBD_SNAP_ADD
3) mirror s_flags in sb for P_DIROPS
wangdi [Tue, 6 Jul 2004 11:25:15 +0000 (11:25 +0000)]
Update snap
1)some fix for snap
2)add snap_add command
wangdi [Mon, 5 Jul 2004 11:04:03 +0000 (11:04 +0000)]
Update snapfs
1)some fix in fsfilt_snap_ext3 and fsfilt_snap_smfs.
2)add smfs_cow.c in smfs.
3)remove snapfs in Makefile.in and configure.in
wangdi [Mon, 5 Jul 2004 10:36:30 +0000 (10:36 +0000)]
add snap support in lconf
alex [Sun, 4 Jul 2004 21:03:23 +0000 (21:03 +0000)]
- lustre exploits pdirops feature if presented. we need this to pass test
#8 from CMD acceptance series
wangdi [Sun, 4 Jul 2004 15:43:12 +0000 (15:43 +0000)]
add ext3_snapfs_exports-2.4.24.patch
wangdi [Sun, 4 Jul 2004 15:39:00 +0000 (15:39 +0000)]
add fsfilt_snap_ext3.c fsfilt_snap_smfs.c in lvfs for snapfs.
alex [Thu, 1 Jul 2004 09:04:27 +0000 (09:04 +0000)]
- reply must be prepared before possible reconstruction
VS: ----------------------------------------------------------------------
alex [Wed, 30 Jun 2004 08:37:24 +0000 (08:37 +0000)]
- filter_lock_dentry() exploits pdirops feature if presented and takes the
lock on part of dir only
- minor API changes to pass the lock pointer
alex [Tue, 29 Jun 2004 18:46:22 +0000 (18:46 +0000)]
- typo fixed
phil [Tue, 29 Jun 2004 17:37:21 +0000 (17:37 +0000)]
file tracefile.h was initially added on branch b1_2_smallfix.
phil [Tue, 29 Jun 2004 17:37:20 +0000 (17:37 +0000)]
file tracefile.c was initially added on branch b1_2_smallfix.
alex [Tue, 29 Jun 2004 17:36:34 +0000 (17:36 +0000)]
- useless ASSERTs have been removed
alex [Tue, 29 Jun 2004 16:55:53 +0000 (16:55 +0000)]
- support for raw lookup in mds_getattr_name()
- configure script sets HAVE_LOOKUP_RAW if kernel has the feature
yury [Tue, 29 Jun 2004 15:23:38 +0000 (15:23 +0000)]
file uml-vanilla-2.6.6-p3.patch was initially added on branch b1_2_smallfix.
alex [Tue, 29 Jun 2004 10:56:26 +0000 (10:56 +0000)]
- testing on mountain showed lmv_sync() works properly
alex [Mon, 28 Jun 2004 15:27:59 +0000 (15:27 +0000)]
- minor cleanups since test #46 got working
alex [Mon, 28 Jun 2004 11:59:54 +0000 (11:59 +0000)]
- race fixed: if 1st client sees directory isn't large enough to be splitted
then it doesn't take exclusive lock on it; in the meantime another client
can enlarge directory and 1st client will run splitting w/o exclusive lock
alex [Mon, 28 Jun 2004 11:04:20 +0000 (11:04 +0000)]
- commented ->delete_inode for a while
- additional debug message
alex [Mon, 28 Jun 2004 08:48:26 +0000 (08:48 +0000)]
- mdt_obj_create() should close transaction in success case
alex [Sun, 27 Jun 2004 19:26:34 +0000 (19:26 +0000)]
- ext3_del_dir_entry() should drop nlink if victim is a directory
- test 4a of sanity-lmv.sh to check this case