Whamcloud - gitweb
fs/lustre-release.git
20 years agoHandle SF IOR better by working harder to avoid granting conflicting locks.
adilger [Wed, 24 Mar 2004 00:36:19 +0000 (00:36 +0000)]
Handle SF IOR better by working harder to avoid granting conflicting locks.
From b1_2.
b=2919

20 years agoHandle deleted working directory (from b1_2) for 2.4.18-chaos kernel.
adilger [Wed, 24 Mar 2004 00:31:48 +0000 (00:31 +0000)]
Handle deleted working directory (from b1_2) for 2.4.18-chaos kernel.
b=2399

20 years agoDon't crash in expired_lock_main() with racing client eviction/lock completion.
adilger [Wed, 24 Mar 2004 00:29:15 +0000 (00:29 +0000)]
Don't crash in expired_lock_main() with racing client eviction/lock completion.
b=2867

20 years agoFiled bug 2991 for this issue.
adilger [Tue, 23 Mar 2004 21:06:37 +0000 (21:06 +0000)]
Filed bug 2991 for this issue.
b=2991

20 years agob=2973
rread [Tue, 23 Mar 2004 21:02:07 +0000 (21:02 +0000)]
b=2973

- add a new test (18a) to use lctl --deactivate to confirm page cache is
  cleared after invalidation.
- rename 18 to 18b, and increase wait to ensure the cache is checked after
  recovery

20 years agoDisable this check, because it fails on LLNL kernels until the xattr patches
adilger [Tue, 23 Mar 2004 20:16:45 +0000 (20:16 +0000)]
Disable this check, because it fails on LLNL kernels until the xattr patches
are updated.

20 years agoEnable EXT3_FS_XATTR in defconfig for new kernel configs to make it easier
adilger [Tue, 23 Mar 2004 19:45:35 +0000 (19:45 +0000)]
Enable EXT3_FS_XATTR in defconfig for new kernel configs to make it easier
for users to get it right.

20 years agoIgnore generated files.
adilger [Tue, 23 Mar 2004 19:35:17 +0000 (19:35 +0000)]
Ignore generated files.

20 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.

20 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

20 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.

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

20 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.

20 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

20 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

20 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

20 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.

20 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

20 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

20 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*)

20 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/

20 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

20 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

20 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

20 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

20 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)

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

20 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

20 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.

20 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.

20 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.

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

20 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

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

revert global namespace changes

20 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.

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

20 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.

20 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

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

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

20 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

20 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.

20 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.

20 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

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

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

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

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

20 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.

20 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

20 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.

20 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.

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

20 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

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

20 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

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

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

20 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.

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

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

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

Update ChangeLog.

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

20 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.

20 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.

20 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

20 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

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

20 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.

20 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

20 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.

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

20 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

20 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

20 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

20 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

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

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

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

20 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

20 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

20 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.

20 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.

20 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.

20 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.

20 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

20 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

20 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

20 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.

20 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

20 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.

20 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.

20 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.

20 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.

20 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

20 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

20 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

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

20 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.

20 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