Whamcloud - gitweb
wangdi [Fri, 4 Jun 2004 11:13:41 +0000 (11:13 +0000)]
add -ERESTART handler for mds_getattr_name
liangzhen [Thu, 3 Jun 2004 17:39:52 +0000 (17:39 +0000)]
It should only be in b_apple_develop now, not in HEAD
liangzhen [Thu, 3 Jun 2004 17:37:10 +0000 (17:37 +0000)]
It should only be in b_apple_develop
liangzhen [Thu, 3 Jun 2004 17:11:20 +0000 (17:11 +0000)]
Project file for xcodebuild
phil [Thu, 3 Jun 2004 15:12:00 +0000 (15:12 +0000)]
statmany error if one of "-els" isn't given
alex [Thu, 3 Jun 2004 11:23:51 +0000 (11:23 +0000)]
changes to protect directory splitting from concurrent modifies/lookups:
- mds_fid2locked_dentry() takes UPDATE lock on the inode. depending on the
given mode for LOOKUP lock new routine mds_lock_mode_for_dir() learns
what mode to use for UPDATE lock. it could be:
- LCK_CR - lookup case. it protects directory from concurrent splitting
and don't invalidate client cache readdir()
- LCK_CW - modify case. it protects directory from concurrent splitting
and invalidate client cache for readdir()
- LCK_EX - modify with possible splitting. protects from any parallel access
- mds_getattr_name(), mds_open(), mds_reint_setattr(), mds_reint_create(),
mds_get_parent_child_locked(), mds_reint_unlink(), mds_reint_rename() and
mds_get_parents_children_lock() have been modified to play new game with
directory locking
- mds_splitting_expected() predicts splitting possibility
wangdi [Thu, 3 Jun 2004 09:05:49 +0000 (09:05 +0000)]
get rid of --smfs-enable options after merge in HEAD
wangchao [Thu, 3 Jun 2004 04:38:30 +0000 (04:38 +0000)]
update vanilla-2.4.24 series
eeb [Wed, 2 Jun 2004 19:15:43 +0000 (19:15 +0000)]
file Makefile.mk was initially added on branch b1_4_openib.
rread [Wed, 2 Jun 2004 19:10:46 +0000 (19:10 +0000)]
file replay-sanity.sh was initially added on branch b1_4_smallfix.
phil [Wed, 2 Jun 2004 15:06:23 +0000 (15:06 +0000)]
landing b_cmobd_merge on HEAD
b_cmobd_merge should not be used for any further development or testing!
alex [Tue, 1 Jun 2004 15:19:34 +0000 (15:19 +0000)]
- mds->lmv->mdc propagate lower timeout down to import
we need this becase client's timeout should be longer then inter-mds recovery may take
- few ugly hacks that allow client to reconnect with old (before failure took place) UUID
- mds_preprw() and mds_preprw() should use l_dput() instead of f_dput()
- SOCKNAL_IO_TIMEOUT has been set to 20 seconds to make discovery of
stale connection faster
- lconf generates persisten UUIDs for LMV clients
it each new LMV uses fresh UUID, then each recovered MDS looks like
new client (target MDS doesn't recognize it's old because of new UUID).
if target MDS gets restarted, then it'll find more clients in LAST_RCVD
then it actually had
zab [Sat, 29 May 2004 00:17:09 +0000 (00:17 +0000)]
file export-zap-page-range.patch was initially added on branch b_mmap.
zab [Sat, 29 May 2004 00:13:20 +0000 (00:13 +0000)]
file mmap_sanity.c was initially added on branch b_mmap.
adilger [Wed, 26 May 2004 15:58:24 +0000 (15:58 +0000)]
file ext3-htree-rename_fix.patch was initially added on branch b1_2.
alex [Tue, 25 May 2004 10:22:10 +0000 (10:22 +0000)]
b=2950
landed on HEAD
alex [Tue, 25 May 2004 09:10:38 +0000 (09:10 +0000)]
b=3063
alex [Mon, 24 May 2004 18:39:04 +0000 (18:39 +0000)]
- lmv_getattr_name() recognizes cross-node name and repeats getattr to proper
MDS node with gotten ino/generation couple
- warning for cross-node rename in lmv_rename(). it isn't implemented yet.
hence, we'd like to know when we hit this path
- mdc_getattr_name() accepts empty name in order to support getattr by fid request
- mds_get_parent_child_locked() forces MDS_INODELOCK_LOOKUP to be used
if found dentry points to another MDS node
- mea_name2idx() and raw_name2idx() checks for last not to be zero and warns if it's
NOTE: this should fix the cause of the test #5 failure
alex [Mon, 24 May 2004 14:42:18 +0000 (14:42 +0000)]
- bugs in fsfilt_ext3_add_dir_entry() and fsfilt_ext3_del_dir_entryI() fixed:
JBD routines must be called under BKL on 2.4
alex [Mon, 24 May 2004 08:57:47 +0000 (08:57 +0000)]
- ll_update_inode() puts number of MDS holding inode to inode->i_dev. this
fix the problem some apps confuses on: they see the same inode number for
different objects. thanks to Andreas for the idea.
alex [Sun, 23 May 2004 16:22:08 +0000 (16:22 +0000)]
- mdt_obj_create() understands a request which is part of cross-node mkdir()
recovery and looks for given ino/generation first. if no ino/generation are
given then it simple recreates new object and returns ino/generation back
to MDS holding a name. leaked inode is subject to rollback mechanism that
is to be implemented yet
- when mds_reint_create() is asked to replay cross-node mkdir() it signals
this to MDS holding dir inode and sends ino/generation couple if possible
NOTE: now cross-node mkdir() survives failure on any MDS node: holding the
name and holding the inode
alex [Fri, 21 May 2004 17:16:44 +0000 (17:16 +0000)]
- extN-wantedi accepts generation as well as ino to create an inode with
given ino/generation. we need this for cross-node mkdir() which creates
inode on remote MDS and adds dir entry then. after that remote MDS may
fail and primary MDS will have to recreate inode with already gotten
ino and generation numbers
- export refcounting bug in lmv fixed
- mdc_obj_create() stores just received ino/generation back to request.
if request replay will happen mdt_obj_create() will use stored numbers
to recreate lost inode
- mds_filter_recovery_request() accepts OST_CREATE request. need to be
discussed though
- mdt_obj_create() rewritten to support recovery phase
- needless mds_lmv_disconnect() in mds_fs_cleanup() removed
- possible bug in retrieve_generation_numbers() fixed: it should understand
cross-node dir entries and put proper mdsnum's
NOTE: please, re-apply extN-wantedi patch
alex [Fri, 21 May 2004 08:43:35 +0000 (08:43 +0000)]
- workaround for name collision in mdt_obj_create() + debug CERROR there
- mds_commitrw() should use l_dput() instead of f_dput()
- removed needless CERROR() from mds_create_local_dentry()
alex [Thu, 20 May 2004 19:48:24 +0000 (19:48 +0000)]
- pdirops patches against vanilla-2.4.20 series
NOTE: vanilla-2.4.20 runs CMD now
alex [Thu, 20 May 2004 13:23:46 +0000 (13:23 +0000)]
- new routine lmv_get_mea_and_update_object() to be called for
MDS's reply with -ERESTART which notifies directory got splitted
- lmv_intent_open() recognizes a dir gets splitted during request,
retrieves mea and repeats the request using proper MDS
- lmv_create() recognizes a dir gets splitted during request,
retrieves mea and repeats the request using proper MDS
- bug fixed in lmv_getattr_name(): it passed wrong namelen to raw_name2idx()
- lmv_obd_create() sets OBD_MD_FLID to flag MDSs to mark created object
unsplittable. we have to differ two possible requests: 1) to create
remote inode for cross-node mkdir(); 2) to create slave objects. last
ones must not be splitted recursively
- mdt_obj_create() has been rewritten to comply just described rules.
also, it takes a lock on newly created inode. this is needed for recovery
- bug fixed in scan_and_distribute(): it tried to open an inode using decimal
number and this caused iopen_lookup() to find alias dentries
- mds_get_lmv_attr() should return right mea size for given conf. in any case
- minor cleanups
alex [Wed, 19 May 2004 20:48:31 +0000 (20:48 +0000)]
- lmv_packmd() and lmv_unpackmd() need not be real connected
jacob [Wed, 19 May 2004 19:57:42 +0000 (19:57 +0000)]
file md_path_lookup-2.6-suse.patch was initially added on branch b1_4_smallfix.
adilger [Wed, 19 May 2004 19:48:47 +0000 (19:48 +0000)]
file rename_many.c was initially added on branch b1_2.
alex [Wed, 19 May 2004 10:29:25 +0000 (10:29 +0000)]
- name var was used being uninitialized
alex [Wed, 19 May 2004 09:00:24 +0000 (09:00 +0000)]
- raw_name2idx declaration to avoid warnings
- ldlm_cli_enqueue() takes 2nd number from resource name into account
to recognize that returned lock changed. we need this because MDS
may return LOOKUP lock with the same ino, but another generation.
the case is very simple mkdir a; then touch a/b; remount; lookup a/b;
a and b my live on different MDSs and have the same ino
- lmv_handle_remote_inode() changes intent from IT_LOOKUP to IT_GETATTR:
caller expect to find attributes in reply
- lmv_intent_lookup() chooses right MDS to revalidate the name
- lmv_create() chooses right MDS where to forward request to
- lmv_link() chooses right mds where to forward request to
- lmv_unlink() chooses right mds where to forward request to
- lmv_readpage() removes . and .. from all the pages, but ones that come
from master MDS for given directory
- lmv_obd_create_single() requests creation of single directory on given MDS
- mdt_obj_create() creates a directory for new mkdir() semantic
- each time new llite connects to MDS, the latter try to connect to own LMV
- mds_pack_inode2body() returns nlink=1 for directories
- mds_lmv_postsetup() pass valid cookiesize to lmv and down to the stack
- mds_reint_create() distributes new dir's inodes over the cluster
- bug in mds_create_local_dentry() fixed: rmdir may cause FIDS/ removal
- mds_get_parents_childer_lock() recognizes cross-ref dentries
zab [Tue, 18 May 2004 21:02:58 +0000 (21:02 +0000)]
file ext3-extents-asyncdel-2.4.20-rh.patch was initially added on branch b1_4_mballoc.
zab [Tue, 18 May 2004 19:56:16 +0000 (19:56 +0000)]
file ext3-extents-asyncdel-2.4.24.patch was initially added on branch b1_4_mballoc.
phil [Mon, 17 May 2004 11:52:09 +0000 (11:52 +0000)]
smash the HEAD with the contents of b_cmd. HEAD_PRE_CMD_SMASH and
cMD_PRE_CMD_SMASH are the relevant tags.
The pre-smashing contents of HEAD will be committed by yury into b_cmd as a
merge of the two branches. These will be stabilized on b_cmd and eventually
landed onto HEAD.
rread [Fri, 14 May 2004 20:17:45 +0000 (20:17 +0000)]
file loop-sync-2.4.21-suse.patch was initially added on branch b1_2_smallfix.
green [Thu, 13 May 2004 19:36:10 +0000 (19:36 +0000)]
b=2657
Added group lock tests. Those are not built by default.
adilger [Thu, 13 May 2004 16:12:15 +0000 (16:12 +0000)]
Land b_smallfix onto HEAD (20040512_1806)
b=2094, b=3138, b=3335, b=3274, b=3293, b=2862, b=3147, b=2350, b=3313
b=3265, b=3315, b=3301, b=3325, b=3329, b=3125, b=3098
eeb [Thu, 13 May 2004 14:44:36 +0000 (14:44 +0000)]
file .cvsignore was initially added on branch b_openib.
eeb [Thu, 13 May 2004 13:45:32 +0000 (13:45 +0000)]
file openibnal_cb.c was initially added on branch b_openib.
eeb [Thu, 13 May 2004 13:45:31 +0000 (13:45 +0000)]
file openibnal.h was initially added on branch b_openib.
eeb [Thu, 13 May 2004 13:45:30 +0000 (13:45 +0000)]
file openibnal.c was initially added on branch b_openib.
eeb [Thu, 13 May 2004 13:45:29 +0000 (13:45 +0000)]
file autoMakefile.am was initially added on branch b_openib.
eeb [Thu, 13 May 2004 13:45:28 +0000 (13:45 +0000)]
file Makefile.in was initially added on branch b_openib.
wangchao [Thu, 13 May 2004 08:16:53 +0000 (08:16 +0000)]
a small fix on lmc to update its reference and description
efelix [Thu, 13 May 2004 03:07:37 +0000 (03:07 +0000)]
removing patch for 2.6.5 as i have moved on.
efelix [Wed, 12 May 2004 23:18:35 +0000 (23:18 +0000)]
New files for vanilla 2.6.6 linux kernel. also a new ldiskfs for 2.6.6
yury [Wed, 12 May 2004 10:27:04 +0000 (10:27 +0000)]
Default mount options stuff.
wangchao [Wed, 12 May 2004 06:52:49 +0000 (06:52 +0000)]
b=2693
r=Robert
Update the regex of conf-sanity.sh test 13 to parse mds uuid from xml file properly.
buffalo-pull [Wed, 12 May 2004 01:34:42 +0000 (01:34 +0000)]
- tagging RC_CURRENT
zab [Tue, 11 May 2004 00:24:10 +0000 (00:24 +0000)]
file llite_mmap.c was initially added on branch b_mmap.
zab [Mon, 10 May 2004 22:56:34 +0000 (22:56 +0000)]
- trivial fox for llog compile warning
wangchao [Sun, 9 May 2004 09:15:28 +0000 (09:15 +0000)]
Small fix on the description of some lctl commands.
tianying [Sun, 9 May 2004 09:12:03 +0000 (09:12 +0000)]
a small fix to the reference beyond the buffer
wangchao [Sun, 9 May 2004 07:02:32 +0000 (07:02 +0000)]
Correct the description and usage of "lctl conn_list".
buffalo-pull [Fri, 7 May 2004 05:46:05 +0000 (05:46 +0000)]
- tagging RC_CURRENT
ericm [Wed, 5 May 2004 17:53:22 +0000 (17:53 +0000)]
minor fix for build on amd64.
efelix [Wed, 5 May 2004 15:37:42 +0000 (15:37 +0000)]
Adding patch set for vanilla 2.6.5, had to port over one of the suse patched from bitkeeper for o_direct so that the suse patches would go in a little cleaner.
yury [Wed, 5 May 2004 11:40:01 +0000 (11:40 +0000)]
landing smfs.
buffalo-pull [Wed, 5 May 2004 01:34:10 +0000 (01:34 +0000)]
- tagging RC_CURRENT
zab [Tue, 4 May 2004 20:55:15 +0000 (20:55 +0000)]
b=3119
Assert when page->private isn't what we expect.
zab [Tue, 4 May 2004 00:29:39 +0000 (00:29 +0000)]
- derive graph colors from rpc names. this gets hard to look at with
many rpcs, but at least it works.
- also raise the graph a bit to account for lots more types of rpcs.
need to get rid of a lot of the whitespace between bars..
buffalo-pull [Sat, 1 May 2004 02:57:26 +0000 (02:57 +0000)]
- tagging RC_CURRENT
nic [Fri, 30 Apr 2004 22:37:40 +0000 (22:37 +0000)]
fixup LASSERTF for liblustre
buffalo-pull [Fri, 30 Apr 2004 03:19:32 +0000 (03:19 +0000)]
- tagging RC_CURRENT
ccooper [Fri, 30 Apr 2004 02:03:23 +0000 (02:03 +0000)]
- updated tinderbox config info for rh series on x86
ccooper [Thu, 29 Apr 2004 17:35:50 +0000 (17:35 +0000)]
- use sles8 iopen patch
nic [Thu, 29 Apr 2004 14:33:01 +0000 (14:33 +0000)]
re-add files that were erroneously deleted on HEAD
adilger [Thu, 29 Apr 2004 08:54:18 +0000 (08:54 +0000)]
Land b_smallfix onto HEAD (20040428_2142)
b=3284, b=3285, b=3043, b=3236, revert liblustre group changes
wangdi [Thu, 29 Apr 2004 06:53:15 +0000 (06:53 +0000)]
file ext3-extents-2.4.20-rh.patch was initially added on branch b_cmobd.
tianying [Thu, 29 Apr 2004 04:20:44 +0000 (04:20 +0000)]
fix smfs_lookup, and add LASSERT to llog_lvfs_create
jacob [Thu, 29 Apr 2004 03:17:18 +0000 (03:17 +0000)]
fix endian mixup from previous patches
zab [Wed, 28 Apr 2004 21:36:52 +0000 (21:36 +0000)]
- more consistently get the opc when graphing rpcs
ccooper [Wed, 28 Apr 2004 18:09:27 +0000 (18:09 +0000)]
- re-add cvs datestamp functionality (enabled by default), but allow it to be overridden by using the --disable-datestamp flag
ccooper [Wed, 28 Apr 2004 17:03:04 +0000 (17:03 +0000)]
- original patch applies fine against most recent chaos kernel (87). Reverting.
ccooper [Wed, 28 Apr 2004 16:10:48 +0000 (16:10 +0000)]
- use $() for execing
- ignore errors
ccooper [Wed, 28 Apr 2004 14:45:53 +0000 (14:45 +0000)]
- chaos kernel only needs half of the old inode-max-readahead patch, so added a new patch just for chaos-2.4.18
- updated series file for chaos-2.4.18
- updated tinderbox info for chaos-2.4.18
- lbuild: removed '-D' option to cvs which was tanking builds on most clusters, cascading check for rpmbuild and rpm as the method to make rpms
nic [Wed, 28 Apr 2004 13:22:24 +0000 (13:22 +0000)]
remove the scimac NAL
buffalo-pull [Wed, 28 Apr 2004 02:36:37 +0000 (02:36 +0000)]
- tagging RC_CURRENT
ericm [Tue, 27 Apr 2004 21:41:24 +0000 (21:41 +0000)]
liblustre: b=2862
- use real uid/gid instead of simply be as root
- set group info
- set capability info
nic [Tue, 27 Apr 2004 19:54:21 +0000 (19:54 +0000)]
b=3119
r=zab
clear page->private before handing to FS
zab [Tue, 27 Apr 2004 17:33:20 +0000 (17:33 +0000)]
b=3291
Stop fsx segfaults from re-using va_list arguments across two printf calls.
Also harden some of the fancy footwork involved in sizing an output buffer.
Also add some printf format checking and fix up some bugs it found.
nic [Mon, 26 Apr 2004 22:22:14 +0000 (22:22 +0000)]
handle case where quadrics headers are in an odd location
zab [Sat, 24 Apr 2004 04:13:30 +0000 (04:13 +0000)]
- have graph-rpcs exit if it doesn't find RPCs in the log
adilger [Fri, 23 Apr 2004 23:12:23 +0000 (23:12 +0000)]
Land b_smallfix onto HEAD (20040423_1603)
b=3043, b=3258, b=3219, b=2410
adilger [Fri, 23 Apr 2004 22:00:30 +0000 (22:00 +0000)]
Check if the autolustre RPMs are already installed, and suggest changing
the PATH, so I (and other users) don't have to remember where they are.
buffalo-pull [Fri, 23 Apr 2004 02:18:53 +0000 (02:18 +0000)]
- tagging RC_CURRENT
ccooper [Thu, 22 Apr 2004 22:41:04 +0000 (22:41 +0000)]
- new flag '--ssh <ssh_cmd>' for replay_single and recovery-small: still defaults to ssh, but allows us to run tests on clusters where ssh-equiv isn't setup (e.g. mdev)
- use safe_strncpy where applicable
- replace hard-coded string lengths with some defines
buffalo-pull [Thu, 22 Apr 2004 02:52:43 +0000 (02:52 +0000)]
- tagging RC_CURRENT
jacob [Wed, 21 Apr 2004 05:11:03 +0000 (05:11 +0000)]
- ldiskfs is ext3
zab [Tue, 20 Apr 2004 21:37:27 +0000 (21:37 +0000)]
- shut up, shut up, shut up, shut up!
jacob [Tue, 20 Apr 2004 20:05:19 +0000 (20:05 +0000)]
- keep selinux-enabled kernels from truncating our mount data.
fixes -EINVAL I got over the weekend.
adilger [Tue, 20 Apr 2004 18:57:30 +0000 (18:57 +0000)]
Fix this bug, not sure why my CVS didn't show this as a diff.
b=3222
ccooper [Tue, 20 Apr 2004 15:48:40 +0000 (15:48 +0000)]
- use different delimiter for CONFIGURE_FLAGS replacement, so that backslashes in the variable don't make it lose it's mind
eeb [Tue, 20 Apr 2004 14:34:09 +0000 (14:34 +0000)]
* Landed b_cray_portals_merge (3148, 3158)
buffalo-pull [Tue, 20 Apr 2004 02:48:09 +0000 (02:48 +0000)]
- tagging RC_CURRENT
ccooper [Mon, 19 Apr 2004 19:31:39 +0000 (19:31 +0000)]
- target and config files for recent chaos kernels (for tinderbox)
ccooper [Mon, 19 Apr 2004 14:29:47 +0000 (14:29 +0000)]
- fix syntax error
adilger [Sun, 18 Apr 2004 22:50:33 +0000 (22:50 +0000)]
Don't try to put a hyphen into the Lustre RPM release version.
jacob [Sat, 17 Apr 2004 04:33:25 +0000 (04:33 +0000)]
This is HEAD.
jacob [Sat, 17 Apr 2004 04:17:31 +0000 (04:17 +0000)]
Fix --disable-modules build.
zab [Sat, 17 Apr 2004 04:11:08 +0000 (04:11 +0000)]
- add a cute script that uses 'ploticus' to graph the rpcs from a D_RPCTRACE
log. the script should be easy to use and has pointers to ploticus.
http://tetsuo.zabbo.net/~zab/rpc-graph.ps
is an example.