Whamcloud - gitweb
fs/lustre-release.git
18 years agoDon't have D_MALLOC on by default. This slipped in during debugging.
adilger [Tue, 23 Mar 2004 17:20:13 +0000 (17:20 +0000)]
Don't have D_MALLOC on by default.  This slipped in during debugging.

18 years agoallow lconf to work with python1.5.
nic [Tue, 23 Mar 2004 16:02:02 +0000 (16:02 +0000)]
allow lconf to work with python1.5.
do not support http urls until python2, as that is the first occurance of
    urllib2, where the error handling for http is finally sane

18 years ago *b: 2948
tianying [Tue, 23 Mar 2004 03:46:11 +0000 (03:46 +0000)]
   *b: 2948
   *r: Robert
     the pointer of oti->oti_logcookies should be increased when an osc is inactive.

18 years ago- tagging RC_CURRENT
buffalo-pull [Tue, 23 Mar 2004 03:11:44 +0000 (03:11 +0000)]
- tagging RC_CURRENT

18 years agob=2979
zab [Mon, 22 Mar 2004 22:29:22 +0000 (22:29 +0000)]
b=2979
r=adilger

Tweak lfs a little so that lfs find can use open(O_DIRECTORY) to detect
directories when libc doesn't implement readdir64() in a way that
returns d_type.  This lets sanity hobble along on some x86-64
installations.

18 years agoDon't output message on MDS for normal occurrence (fixed previously in
adilger [Mon, 22 Mar 2004 20:33:58 +0000 (20:33 +0000)]
Don't output message on MDS for normal occurrence (fixed previously in
osc_set_data_with_check()).
b=2526

18 years agob=2019
wangchao [Mon, 22 Mar 2004 03:25:25 +0000 (03:25 +0000)]
b=2019
r=adilger
Add a test case to test lconf creating large journals

18 years ago- Fix objdir != srcdir build problem
phil [Sat, 20 Mar 2004 01:18:51 +0000 (01:18 +0000)]
- Fix objdir != srcdir build problem
- Remove unused variable from b_1414

18 years ago- don't try and import links or files that aren't globally readable in
zab [Sat, 20 Mar 2004 00:58:02 +0000 (00:58 +0000)]
- don't try and import links or files that aren't globally readable in
  test 99.  Doing so make's cvs 1.11.1p1 exit(1).  with this sanity
  passes on x86-64 again.

18 years agob=2518
green [Fri, 19 Mar 2004 23:25:15 +0000 (23:25 +0000)]
b=2518
LCK_GROUP lock mode implementation for group locks

18 years agob=1549
jacob [Fri, 19 Mar 2004 22:54:19 +0000 (22:54 +0000)]
b=1549
r=adilger,zab

check that CONFIG_EXT3_FS and CONFIG_EXT3_FS_XATTR are defined in
linux/config.h

18 years agob=2969
zab [Fri, 19 Mar 2004 22:41:33 +0000 (22:41 +0000)]
b=2969
r=phil

This adds a sync parameter to ldlm_cancel_lru() so that cancel_lru_locks in
tests doesn't return until the blocking callbacks have been completed.  This
removes a race that was failing test 45 in sanity and can only benefit
other tests.  (*knocks on wood*)

18 years agob=2081
jacob [Fri, 19 Mar 2004 22:29:52 +0000 (22:29 +0000)]
b=2081
r=phil

remove unused Makefile.am files from portals/include/

18 years agob=2978
nic [Fri, 19 Mar 2004 22:28:38 +0000 (22:28 +0000)]
b=2978
r=shaver

allow lconf to get xml configs via http

18 years agoDon't commit generated Makefile to CVS.
adilger [Fri, 19 Mar 2004 19:46:41 +0000 (19:46 +0000)]
Don't commit generated Makefile to CVS.
b=1414

18 years agofix for move of lustre_user.h
nic [Fri, 19 Mar 2004 19:46:19 +0000 (19:46 +0000)]
fix for move of lustre_user.h

18 years ago- get liblustre building with automake-recent
zab [Fri, 19 Mar 2004 18:42:43 +0000 (18:42 +0000)]
- get liblustre building with automake-recent

18 years ago- Fix some b_1414 build and formatting issues
phil [Fri, 19 Mar 2004 17:05:44 +0000 (17:05 +0000)]
- Fix some b_1414 build and formatting issues
- Apply Oleg's patch to fix 'lctl modules' (b_cray_portals_merge damage)

18 years agoLanding b_bug1414
shaocheng [Fri, 19 Mar 2004 13:38:35 +0000 (13:38 +0000)]
Landing b_bug1414

18 years ago to make Lustre build with 2.6.3+mm4 and suse 2.6
hitao [Fri, 19 Mar 2004 10:58:58 +0000 (10:58 +0000)]
 to make Lustre build with 2.6.3+mm4 and suse 2.6

18 years agoUpdate the oh-so-important ptlrpc/pack_generic version of
adilger [Fri, 19 Mar 2004 10:04:46 +0000 (10:04 +0000)]
Update the oh-so-important ptlrpc/pack_generic version of
lustre_assert_wire_constants(), without which it is impossible to run a test.

Likely needs to be merged back to b_cray_* from whence it came.

18 years agoFix portals user-space compile breakage on x86_64.
ericm [Fri, 19 Mar 2004 09:30:22 +0000 (09:30 +0000)]
Fix portals user-space compile breakage on x86_64.

18 years agoAllow a file to be opened with our very own O_LOV_DELAY_CREATE.
adilger [Fri, 19 Mar 2004 07:53:25 +0000 (07:53 +0000)]
Allow a file to be opened with our very own O_LOV_DELAY_CREATE.

18 years agoFix typo.
adilger [Fri, 19 Mar 2004 07:10:06 +0000 (07:10 +0000)]
Fix typo.

18 years agoland b_cray_delivery on HEAD
phil [Fri, 19 Mar 2004 06:33:27 +0000 (06:33 +0000)]
land b_cray_delivery on HEAD
liblustre fixes and group lock support

18 years agob=2790
nic [Fri, 19 Mar 2004 05:06:26 +0000 (05:06 +0000)]
b=2790
r=phil

revert global namespace changes

18 years agoGrr, I only had -z9 on dialup, -z3 is nearly as good and much less CPU usage.
adilger [Fri, 19 Mar 2004 03:47:13 +0000 (03:47 +0000)]
Grr, I only had -z9 on dialup, -z3 is nearly as good and much less CPU usage.

18 years agoExample .cvsrc file.
adilger [Fri, 19 Mar 2004 03:40:23 +0000 (03:40 +0000)]
Example .cvsrc file.

18 years agob=2776
zab [Fri, 19 Mar 2004 01:10:36 +0000 (01:10 +0000)]
b=2776
r=phil

land b_cray_portals_merge on HEAD.  This consists of four families of changes:

1) Eric's work to change some APIs in Lustre's portals to come into line with
   Cray's portals and the spec.

2) add --with-cray-portals= to the build and use it to cut up the build
   when we're building lustre against external includes for Cray's portals.

3) Move some facilities from portals.o into libcfs.o so that Lustre can
   consume them when it is running against Cray's portals.o.

4) Fix up the liblustre build.  These changes have also made it to
   b_cray_delivery recently.

18 years agoLand b1_2 onto HEAD (20040317_2319)
adilger [Thu, 18 Mar 2004 07:19:06 +0000 (07:19 +0000)]
Land b1_2 onto HEAD (20040317_2319)
b=2939, b=2325, b=2059 (partial), b=2925, b=2399, b=2517

18 years agoremove unecessary debugging
nic [Thu, 18 Mar 2004 03:40:25 +0000 (03:40 +0000)]
remove unecessary debugging

18 years ago- tagging RC_CURRENT
buffalo-pull [Thu, 18 Mar 2004 03:26:21 +0000 (03:26 +0000)]
- tagging RC_CURRENT

18 years ago- fix build warning and an almost certain run-time crash from swapped cerror
zab [Thu, 18 Mar 2004 01:11:30 +0000 (01:11 +0000)]
- fix build warning and an almost certain run-time crash from swapped cerror
  arguments

18 years agob=2766
rread [Wed, 17 Mar 2004 22:04:07 +0000 (22:04 +0000)]
b=2766

Move changelog entry to a new block, since it's not part of 1.2.1.

18 years agob=2766
rread [Wed, 17 Mar 2004 21:56:43 +0000 (21:56 +0000)]
b=2766
r=zab (partial)

Better handling for OST eviction.  Fixes for clearing the page cache,
imp_invalid handling, and improved import_event interface. Also
includes the tests and fixes added from 2732; one of those tests does
not yet passed so it is excepted for now.

18 years agoDon't assert bitmap exists - it won't for error-during-setup self-export destroy
adilger [Wed, 17 Mar 2004 20:55:58 +0000 (20:55 +0000)]
Don't assert bitmap exists - it won't for error-during-setup self-export destroy
b=2936
r=robert

18 years ago- tagging RC_CURRENT
buffalo-pull [Wed, 17 Mar 2004 04:29:56 +0000 (04:29 +0000)]
- tagging RC_CURRENT

18 years agob=2939
wangchao [Wed, 17 Mar 2004 02:52:47 +0000 (02:52 +0000)]
b=2939

18 years agob=2936
adilger [Wed, 17 Mar 2004 01:11:46 +0000 (01:11 +0000)]
b=2936

18 years agoland b_v26 (20040316_1603)
nic [Wed, 17 Mar 2004 01:04:43 +0000 (01:04 +0000)]
land b_v26 (20040316_1603)

18 years agob=2936
rread [Wed, 17 Mar 2004 00:26:38 +0000 (00:26 +0000)]
b=2936

Skip closing files for the self_export, and add a test.

18 years agoadd RHBUILD to targets and spec to distinguish files that come from using a redhat...
nic [Wed, 17 Mar 2004 00:21:47 +0000 (00:21 +0000)]
add RHBUILD to targets and spec to distinguish files that come from using a redhat patched kernel
typo fix to have lbuild error on building rpms
removed erroneous EXTRA_VERSION manipulation

18 years agofile pers.c was initially added on branch b_cray_portals_merge.
zab [Tue, 16 Mar 2004 23:06:38 +0000 (23:06 +0000)]
file pers.c was initially added on branch b_cray_portals_merge.

18 years agoDon't spew errors during readahead.
adilger [Tue, 16 Mar 2004 21:13:48 +0000 (21:13 +0000)]
Don't spew errors during readahead.

18 years agoremove unneccessary debugging
nic [Tue, 16 Mar 2004 18:45:26 +0000 (18:45 +0000)]
remove unneccessary debugging

18 years agoCorrect number of journal credits calculated for FSFILT_OP_CANCEL_UNLINK_LOG
adilger [Tue, 16 Mar 2004 16:05:48 +0000 (16:05 +0000)]
Correct number of journal credits calculated for FSFILT_OP_CANCEL_UNLINK_LOG
so that we don't have transaction errors on small MDS filesystems.
b=2931
r=tianying

18 years agob=2926
adilger [Tue, 16 Mar 2004 08:48:13 +0000 (08:48 +0000)]
b=2926

18 years agob=2939
wangchao [Tue, 16 Mar 2004 04:42:55 +0000 (04:42 +0000)]
b=2939
r=shaver
let lustre could be mounted with the same name for node and mds

18 years ago- tagging RC_CURRENT
buffalo-pull [Tue, 16 Mar 2004 01:06:33 +0000 (01:06 +0000)]
- tagging RC_CURRENT

18 years agob=2464
adilger [Mon, 15 Mar 2004 21:43:35 +0000 (21:43 +0000)]
b=2464

18 years agob=2926
green [Mon, 15 Mar 2004 20:55:58 +0000 (20:55 +0000)]
b=2926
r=phik
Make mds_reint_create to use mds_lock_new_child everywhere instead of taking
the lock (and incorrect one) on its own.

18 years ago*** empty log message ***
yury [Mon, 15 Mar 2004 16:38:55 +0000 (16:38 +0000)]
*** empty log message ***

18 years ago*** empty log message ***
yury [Mon, 15 Mar 2004 07:17:46 +0000 (07:17 +0000)]
*** empty log message ***

18 years agob=2898
rread [Sat, 13 Mar 2004 02:18:48 +0000 (02:18 +0000)]
b=2898

Update ChangeLog.

18 years ago- tagging RC_CURRENT
buffalo-pull [Sat, 13 Mar 2004 02:14:35 +0000 (02:14 +0000)]
- tagging RC_CURRENT

18 years agob=2898
rread [Sat, 13 Mar 2004 02:13:23 +0000 (02:13 +0000)]
b=2898

Protect conn_cnt check and update with exp_lock in
target_handle_connect.

Add a test to replay since, and add an OBD_FAIL style macro to create
a race condition in a specific location called OBD_RACE.

18 years agofile kpr.h was initially added on branch b_cray_portals_merge.
zab [Fri, 12 Mar 2004 19:50:27 +0000 (19:50 +0000)]
file kpr.h was initially added on branch b_cray_portals_merge.

18 years agoadd target and configuration files for hp_pnnl on ia64
nic [Fri, 12 Mar 2004 17:50:36 +0000 (17:50 +0000)]
add target and configuration files for hp_pnnl on ia64

18 years agofix lmake to link to correct ia64 kernels
nic [Fri, 12 Mar 2004 17:47:32 +0000 (17:47 +0000)]
fix lmake to link to correct ia64 kernels
allow lustre-kernel-2.4.spec to be built on ia64

18 years ago- tagging RC_CURRENT
buffalo-pull [Fri, 12 Mar 2004 04:46:14 +0000 (04:46 +0000)]
- tagging RC_CURRENT

18 years agoRemoved fsfilt_tmpfs.c from HEAD branch as it was got there mistakenly before its...
yury [Thu, 11 Mar 2004 17:59:27 +0000 (17:59 +0000)]
Removed fsfilt_tmpfs.c from HEAD branch as it was got there mistakenly before its time came ;) This is because it was cvs add'ed before creating b_tmpfs branch.

18 years agoCleanups about readdir stuff. ext2_dirent and macros has moved to lustre_dir.h. Relat...
yury [Thu, 11 Mar 2004 17:44:12 +0000 (17:44 +0000)]
Cleanups about readdir stuff. ext2_dirent and macros has moved to lustre_dir.h. Related chnages in llite and fsfilt_tmpfs.c

18 years agoCleanups and fixes at Andreas' review results.
yury [Thu, 11 Mar 2004 08:11:43 +0000 (08:11 +0000)]
Cleanups and fixes at Andreas' review results.

18 years agomerge error
jacob [Thu, 11 Mar 2004 03:41:37 +0000 (03:41 +0000)]
merge error

18 years agob=2306
jacob [Wed, 10 Mar 2004 22:31:06 +0000 (22:31 +0000)]
b=2306
r=phil, andreas

bump LLOG_CHUNKSIZE to 8k to allow for larger clusters

18 years agob=2264
jacob [Wed, 10 Mar 2004 22:28:29 +0000 (22:28 +0000)]
b=2264
r=robert

overwrite log when running lconf --write_conf

18 years agob=2325
jacob [Wed, 10 Mar 2004 22:25:05 +0000 (22:25 +0000)]
b=2325
r=robert

fix llog_destroy to work with named logs

18 years agob=2914
nic [Wed, 10 Mar 2004 20:01:20 +0000 (20:01 +0000)]
b=2914
r=jacob

remove __attribute__ ((packed)) from ptl_event_t to fix 'kernel unaligned
access...' messages on ia64

18 years agoadded tmpfs related stuff
yury [Wed, 10 Mar 2004 07:50:30 +0000 (07:50 +0000)]
added tmpfs related stuff

18 years ago- tagging RC_CURRENT
buffalo-pull [Wed, 10 Mar 2004 05:27:40 +0000 (05:27 +0000)]
- tagging RC_CURRENT

18 years agoFix desctription of configure option.
adilger [Wed, 10 Mar 2004 01:02:13 +0000 (01:02 +0000)]
Fix desctription of configure option.

18 years agoDon't LBUG the MDS if orphan cleanup requests times out; instead allow
rread [Tue, 9 Mar 2004 22:47:17 +0000 (22:47 +0000)]
Don't LBUG the MDS if orphan cleanup requests times out; instead allow
the individual OSC to recover on it's own.

b=1530

18 years agoDelete obd_self_export from exp_obd_chain while we are disconnecting exports
adilger [Tue, 9 Mar 2004 20:06:10 +0000 (20:06 +0000)]
Delete obd_self_export from exp_obd_chain while we are disconnecting exports
during a forced cleanup.  Otherwise, we will end up pointing to work_list,
which is on the stack, and a list_del_init() on exp_obd_chain will end up
stomping on some innocent variable on the stack, ending its already-short
life just a bit too early.
b=2908
r=robert

18 years agofile suse-2.6.3 was initially added on branch b_v26.
hitao [Tue, 9 Mar 2004 15:41:55 +0000 (15:41 +0000)]
file suse-2.6.3 was initially added on branch b_v26.

18 years agofile vfs_nointent_2.6.3-suse.patch was initially added on branch b_v26.
hitao [Tue, 9 Mar 2004 15:41:49 +0000 (15:41 +0000)]
file vfs_nointent_2.6.3-suse.patch was initially added on branch b_v26.

18 years agofile vfs_intent-2.6.3-suse.patch was initially added on branch b_v26.
hitao [Tue, 9 Mar 2004 15:41:48 +0000 (15:41 +0000)]
file vfs_intent-2.6.3-suse.patch was initially added on branch b_v26.

18 years agofile nfs-cifs-intent-2.6.3-suse.patch was initially added on branch b_v26.
hitao [Tue, 9 Mar 2004 15:41:47 +0000 (15:41 +0000)]
file nfs-cifs-intent-2.6.3-suse.patch was initially added on branch b_v26.

18 years agoDon't allocate zero-length LVBs on the MDS. Verified that all users of
adilger [Tue, 9 Mar 2004 09:36:08 +0000 (09:36 +0000)]
Don't allocate zero-length LVBs on the MDS.  Verified that all users of
l_lvb_data check l_lvb_len != 0 before using, and tested of course.
b=1012

18 years agoSet loi_kms_valid even if we get a lock back that has rss == kms. This
uid707 [Tue, 9 Mar 2004 08:47:20 +0000 (08:47 +0000)]
Set loi_kms_valid even if we get a lock back that has rss == kms.  This
happens for zero-length files, and without this we will revoke our own
lock the next time we write to the file because osc_enqueue() won't match.
b=2818

18 years agoStop error spew if no real error, doh.
adilger [Tue, 9 Mar 2004 08:39:54 +0000 (08:39 +0000)]
Stop error spew if no real error, doh.
b=2633

18 years agoCall test_foo() functions directly instead of via run_one() so they do setup
adilger [Tue, 9 Mar 2004 08:37:35 +0000 (08:37 +0000)]
Call test_foo() functions directly instead of via run_one() so they do setup
even if a test is excluded.
Rename "test_foo" files to "f<testno>" so they are deleted at the end of
the sanity.sh run.

18 years agoDrop the filter export grants under the same lock as the removal of the
adilger [Tue, 9 Mar 2004 07:56:33 +0000 (07:56 +0000)]
Drop the filter export grants under the same lock as the removal of the
export from the device from the export list.  This still isn't possible
for --force disconnects, so we don't do filter_grant_sanity_check() at
that time.

Also, change the LASSERTs to CERRORs in case this happens again.  First of
all to see if these errors are just transient during export disconnection
which means they are just overly-aggressive assertions, or if there is a
permanent accounting error that indicates some other problem.  Secondly, it
isn't possible to stop the use of existing export references, so there will
always be some small race during client eviction as completing operations
might update the export before it is destroyed.
b=2663

18 years agofile 2.6.3-mm4 was initially added on branch b_v26.
ericm [Tue, 9 Mar 2004 04:37:54 +0000 (04:37 +0000)]
file 2.6.3-mm4 was initially added on branch b_v26.

18 years agofile vfs_nointent-2.6.3-mm4.patch was initially added on branch b_v26.
ericm [Tue, 9 Mar 2004 04:37:53 +0000 (04:37 +0000)]
file vfs_nointent-2.6.3-mm4.patch was initially added on branch b_v26.

18 years agofile iopen-2.6.3-mm4.patch was initially added on branch b_v26.
ericm [Tue, 9 Mar 2004 04:37:52 +0000 (04:37 +0000)]
file iopen-2.6.3-mm4.patch was initially added on branch b_v26.

18 years agofile fs-intent-2.6.3-mm4.patch was initially added on branch b_v26.
ericm [Tue, 9 Mar 2004 04:37:51 +0000 (04:37 +0000)]
file fs-intent-2.6.3-mm4.patch was initially added on branch b_v26.

18 years agob=2295
jacob [Tue, 9 Mar 2004 03:32:50 +0000 (03:32 +0000)]
b=2295
r=adilger

 * clean up bugs in previous patch
 * print basename(argv[0]) instead of "mount" with error messages

18 years agob 2295
youfeng [Tue, 9 Mar 2004 02:37:28 +0000 (02:37 +0000)]
b 2295
r Jacob

add a missing arg to printf, make the program exit with 1 on args error

18 years agob 2295
youfeng [Tue, 9 Mar 2004 01:23:03 +0000 (01:23 +0000)]
b 2295
r Adilger

fix a llmount, mount.lustre segment fault bug

18 years agofixup last commit
jacob [Tue, 9 Mar 2004 01:08:30 +0000 (01:08 +0000)]
fixup last commit

18 years agor=adilger,phil
jacob [Tue, 9 Mar 2004 00:15:38 +0000 (00:15 +0000)]
r=adilger,phil
b=2464

Land initial b_bgl fixes.  Includes compile and a couple of swabbing
fixes.

18 years agoCopy the extent lock policy data only in the completion callback, or in the
adilger [Mon, 8 Mar 2004 20:33:26 +0000 (20:33 +0000)]
Copy the extent lock policy data only in the completion callback, or in the
enqueue reply if the extent was changed and granted immediately.  This
avoids overwriting the policy data if it was updated in the completion callback
before the reply was processed.
b=2901
r=phil

18 years agoHandle glimpse races where inode is evicted by client but still holding lock.
adilger [Mon, 8 Mar 2004 20:08:55 +0000 (20:08 +0000)]
Handle glimpse races where inode is evicted by client but still holding lock.
b=2818

18 years ago* Made echo_commitrw() pay attention to the final 'rc' parameter (bug 1450)
eeb [Mon, 8 Mar 2004 17:46:43 +0000 (17:46 +0000)]
*  Made echo_commitrw() pay attention to the final 'rc' parameter (bug 1450)

18 years agoFix munlink messages to not make it appear like there was an unlink failure.
adilger [Mon, 8 Mar 2004 17:12:40 +0000 (17:12 +0000)]
Fix munlink messages to not make it appear like there was an unlink failure.
b=2167

18 years agoIncrement the ost_start_idx inside the object creation loop even if there is
adilger [Sun, 7 Mar 2004 03:17:59 +0000 (03:17 +0000)]
Increment the ost_start_idx inside the object creation loop even if there is
a failed object creation instead of in advance.  Otherwise, if there is a
down OST the following one will have twice as many objects allocated on it
(observed with watch-lustre on ALC while running IOR with one OST inactive
on the MDS).

18 years ago- tagging RC_CURRENT
buffalo-pull [Sat, 6 Mar 2004 00:16:17 +0000 (00:16 +0000)]
- tagging RC_CURRENT

18 years ago- tagging RC_CURRENT
buffalo-pull [Fri, 5 Mar 2004 04:39:35 +0000 (04:39 +0000)]
- tagging RC_CURRENT

18 years agoLand b1_2 onto HEAD (20040304_171022)
adilger [Fri, 5 Mar 2004 03:52:30 +0000 (03:52 +0000)]
Land b1_2 onto HEAD (20040304_171022)
b=2733, b=2773, b=2529, b=2730, b=2819, b=2814, b=2822, b=1450, b=2676, b=2681
b=2817, b=2706, b=2816, b=1987, b=2884, b=1191, b=2809, b=2765, b=2805, b=1972

18 years agofile vanilla-2.6.3-nfs4 was initially added on branch b_v26.
ericm [Thu, 4 Mar 2004 12:29:44 +0000 (12:29 +0000)]
file vanilla-2.6.3-nfs4 was initially added on branch b_v26.