Whamcloud - gitweb
fs/lustre-release.git
20 years agoAllow sanityN.sh to run with a zconf-mounted setup.
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.

20 years agoMake ONLY=setup not do cleanup at the end, while we use replay-dual.sh as
adilger [Fri, 12 Dec 2003 00:17:08 +0000 (00:17 +0000)]
Make ONLY=setup not do cleanup at the end, while we use replay-dual.sh as
a proxy for mount2.sh.

20 years ago- silence trivial unused variable warning
zab [Fri, 12 Dec 2003 00:01:42 +0000 (00:01 +0000)]
- silence trivial unused variable warning

20 years agoAdd lock-order regression test.
adilger [Thu, 11 Dec 2003 22:33:40 +0000 (22:33 +0000)]
Add lock-order regression test.
b=1844

20 years ago- fix up rc = type-o spotted by adilger
zab [Thu, 11 Dec 2003 20:06:24 +0000 (20:06 +0000)]
- fix up rc = type-o spotted by adilger

20 years agob=2339
zab [Thu, 11 Dec 2003 19:04:49 +0000 (19:04 +0000)]
b=2339
filter_precreate() was setting the oid returned based on the last_id for the
requested object group, but was always creating objects in group 0 by virtue of
passing NULL in as the obdo to the _next_id functions.  In the process of
fixing this we stop NULLing out the obdo in the loop and get rid of the
_setattr() and obdo_from_inode() which are artifacts from when the client
performed obd_create().

Also some cleanup_phase beautification.

20 years agob:2316 Save the owner of f_op before replace it with llite special file operation
wangdi [Thu, 11 Dec 2003 08:30:50 +0000 (08:30 +0000)]
b:2316 Save the owner of f_op before replace it with llite special file operation

20 years agoa trivial fix to add description for lfs commands
wangchao [Thu, 11 Dec 2003 08:29:09 +0000 (08:29 +0000)]
a trivial fix to add description for lfs commands

20 years agob=1135
wangchao [Thu, 11 Dec 2003 02:19:12 +0000 (02:19 +0000)]
b=1135
r=Andreas

Add a regression test script to test OST out-of-space.

20 years ago- ignore write_disjoint
ccooper [Thu, 11 Dec 2003 00:01:27 +0000 (00:01 +0000)]
- ignore write_disjoint

20 years ago- kernel_text_address patch against chaos-2.4.18 series
alex [Wed, 10 Dec 2003 23:26:10 +0000 (23:26 +0000)]
- kernel_text_address patch against chaos-2.4.18 series

20 years ago- list_for_each_entry_safe(), list_move() and list_move_tail() have been added
alex [Wed, 10 Dec 2003 21:40:11 +0000 (21:40 +0000)]
- list_for_each_entry_safe(), list_move() and list_move_tail() have been added

20 years ago- list_for_each_entry() added
alex [Wed, 10 Dec 2003 19:10:15 +0000 (19:10 +0000)]
- list_for_each_entry() added

20 years agob: 1991
niu [Wed, 10 Dec 2003 10:13:55 +0000 (10:13 +0000)]
b: 1991
r: Peter

lfs catinfo <keyword>
Fetching logs information from client node. Now keywords include:
config and deletions. Others will be added in future.

20 years agob=2237
wangchao [Wed, 10 Dec 2003 09:51:51 +0000 (09:51 +0000)]
b=2237
a small fix. We should use 0 instead of 1 as the stripe_start patameter, because the first number of OSTs is 0. If we have only one OST, 1 will fail.

20 years agob=2237
wangchao [Wed, 10 Dec 2003 07:05:25 +0000 (07:05 +0000)]
b=2237
r=phil

lstripe should fail when offset > numobd

20 years agoDoing endian conversion on constant instead of variable according to andreas advices...
wangdi [Wed, 10 Dec 2003 03:23:30 +0000 (03:23 +0000)]
Doing endian conversion on constant instead of variable according to andreas advices bug 1989

20 years agob=2230
zab [Wed, 10 Dec 2003 02:03:24 +0000 (02:03 +0000)]
b=2230
Allocation failures during heavy bulk IO load were causing timeouts.  Using
GFP_NOFS throughout lustre, and in particular instead of 0 as sk->allocation,
is our most recent attempt to appease the VM.  Make lots of noise if you see
allocation failures or deadlocks involving threads waiting for memory.

20 years agob: 1988
niu [Wed, 10 Dec 2003 01:51:01 +0000 (01:51 +0000)]
b: 1988
r: Andreas

Make log record alignment 8 bytes.

20 years agob: 2226
niu [Wed, 10 Dec 2003 01:36:14 +0000 (01:36 +0000)]
b: 2226
r: Phil

Remove all orhpans on OST while MDS startup, and set last_id correctly.

20 years agoThe newly added "jt_llog_check" function was not declared here.
radhika [Tue, 9 Dec 2003 19:39:56 +0000 (19:39 +0000)]
The newly added "jt_llog_check" function was not declared here.

20 years ago- bring the filter_survey script up to date with recent lctl interface changes
zab [Tue, 9 Dec 2003 18:37:20 +0000 (18:37 +0000)]
- bring the filter_survey script up to date with recent lctl interface changes

20 years agob=2330
phil [Tue, 9 Dec 2003 16:26:16 +0000 (16:26 +0000)]
b=2330
Add sanity test #62 for obd_match error checking, to avoid regression

20 years agoadd llog_check and add remove the logs of catalog in llog_remove r:peter
wangdi [Tue, 9 Dec 2003 13:00:35 +0000 (13:00 +0000)]
add llog_check and add remove the logs of catalog in llog_remove r:peter

20 years agob=2284
wangchao [Tue, 9 Dec 2003 11:42:17 +0000 (11:42 +0000)]
b=2284
r=Robert
scsi support for dev_read_only

20 years agob=2284
wangchao [Tue, 9 Dec 2003 04:14:25 +0000 (04:14 +0000)]
b=2284
r=Robert
scsi support for dev_read_only

20 years agob=2321
phil [Mon, 8 Dec 2003 15:22:47 +0000 (15:22 +0000)]
b=2321
Fix two rare exit paths which will leak an l_lock() reference:
 - an allocation failure in ldlm_server_blocking_ast
 - an unlikely race condition in ldlm_resource_add_lock

I blame the latter for the problem reported in bug 2321.

20 years agoFix confusing MDC error message
phil [Mon, 8 Dec 2003 14:48:36 +0000 (14:48 +0000)]
Fix confusing MDC error message

20 years ago- bring the generic_hweight32 x86_64 insmod fix over from b_eq
zab [Fri, 5 Dec 2003 23:51:27 +0000 (23:51 +0000)]
- bring the generic_hweight32 x86_64 insmod fix over from b_eq

20 years agob=2330
zab [Fri, 5 Dec 2003 20:28:01 +0000 (20:28 +0000)]
b=2330
minor state cleanup from matching error return paths

20 years agob=2334
phil [Fri, 5 Dec 2003 17:46:41 +0000 (17:46 +0000)]
b=2334
A slight reorganization of ll_intent_release, so we can drop the MDS
lock early.

20 years agob=2334
phil [Fri, 5 Dec 2003 15:18:18 +0000 (15:18 +0000)]
b=2334
Break cyclic locking deadlock by dropping the MDC read lock before we
take the OSC read lock during getattr intents

20 years agob=1897: use the rpcd to send closes, so that we can resend in the case of a
shaver [Fri, 5 Dec 2003 14:45:23 +0000 (14:45 +0000)]
b=1897: use the rpcd to send closes, so that we can resend in the case of a
        reconnect after user interruption, and avoid leaking an open-count.

        Also, allocate repmsg _before_ reconstructing a close into it.
r=phik

20 years agob=2313
phil [Fri, 5 Dec 2003 11:49:50 +0000 (11:49 +0000)]
b=2313
My fix to bug 2313 accidentally created a lot of noise by returning
non-zero return codes when multiple clients had a file open for write.

20 years agoI am very stupid. I put the extra debugging code in the wrong path.
phil [Fri, 5 Dec 2003 11:01:10 +0000 (11:01 +0000)]
I am very stupid.  I put the extra debugging code in the wrong path.

20 years agob=2306
phil [Fri, 5 Dec 2003 09:31:53 +0000 (09:31 +0000)]
b=2306
r=alex
Replace i_sem with BKL in ext3_fsfilt_write_record

20 years agob=2333
phil [Fri, 5 Dec 2003 05:35:10 +0000 (05:35 +0000)]
b=2333
Fix i_sem/journal inversion in mds_client_add, which was never updated
when we decided to re-order these a few months ago.  This became much
easier to hit after we fixed bug 2306.

20 years agob=2330
phil [Fri, 5 Dec 2003 05:33:12 +0000 (05:33 +0000)]
b=2330
Be more careful about the return codes from obd_match, lest we try to
cancel a lock which was never granted.

20 years agob=1505
phil [Fri, 5 Dec 2003 03:20:24 +0000 (03:20 +0000)]
b=1505
r=shaver
Print a much more meaningful error when a client is rejected because a
service node is waiting for recoverable clients.

20 years agob=2313
phil [Fri, 5 Dec 2003 03:18:46 +0000 (03:18 +0000)]
b=2313
r=shaver
This bug happens when a file is opened twice for write, then both close it
at the same time.  If they both drop the writecount, then race to
compare it against 0, one will free the fsdata and the other will assert.

This looks like a big patch, but it's mostly plumbing.  I had to do some
different argument passing, in order to keep everything protected under the
same lock.

I removed the writecount spinlock, and use the epoch semaphore for all three
things: management of the epoch, protection of the writecount, and atomicity of
writecount modifications which result in allocation or freeing of the fsdata.

20 years agob=2313
phil [Fri, 5 Dec 2003 03:15:19 +0000 (03:15 +0000)]
b=2313
r=shaver
This bug happens when a file is opened twice for write, then both close it
at the same time.  If they both drop the writecount, then race to
compare it against 0, one will free the fsdata and the other will assert.

This looks like a big patch, but it's mostly plumbing. I had to do some
different argument passing, in order to keep everything protected under the
same lock.

I removed the writecount spinlock, and use the epoch semaphore for all three
things: management of the epoch, protection of the writecount, and atomicity of
writecount modifications which result in allocation or freeing of the fsdata.

20 years ago- suse-2.4.21 builds on x86_64 now
alex [Thu, 4 Dec 2003 20:17:51 +0000 (20:17 +0000)]
- suse-2.4.21 builds on x86_64 now

20 years ago- more error checking and less verbosity for insanity
rread [Thu, 4 Dec 2003 20:12:45 +0000 (20:12 +0000)]
- more error checking and less verbosity for insanity
- fixed shell brainos preventing client failures from working

20 years agob=2329: move osc_rpcd into ptlrpc as ptlrpcd, for non-OSC applications. Largely
shaver [Thu, 4 Dec 2003 20:07:30 +0000 (20:07 +0000)]
b=2329: move osc_rpcd into ptlrpc as ptlrpcd, for non-OSC applications.  Largely
        mechanical, plus a tiny Makefile.am cleanup in ptlrpc.
r=zab

20 years ago- tcp_sendpage_zccd() must be exported always
alex [Thu, 4 Dec 2003 17:58:26 +0000 (17:58 +0000)]
- tcp_sendpage_zccd() must be exported always

20 years ago- tcp_sendpage_zccd() must be exported always
alex [Thu, 4 Dec 2003 17:48:22 +0000 (17:48 +0000)]
- tcp_sendpage_zccd() must be exported always

20 years ago* Added ENOMEM detection and retry on socknal sends
eeb [Thu, 4 Dec 2003 14:00:06 +0000 (14:00 +0000)]
*   Added ENOMEM detection and retry on socknal sends

20 years agor: TianYing
niu [Thu, 4 Dec 2003 08:18:25 +0000 (08:18 +0000)]
r: TianYing

close all opened logs before user change logs via lctl, reopen them
after lctl operation finished.

20 years ago- insanity cleanups.
rread [Thu, 4 Dec 2003 05:25:40 +0000 (05:25 +0000)]
- insanity cleanups.
 - Call the right function to shutdown the osts
 - just sleep when powering off the machine.
 - use checkstat, instead of ls -ld

20 years agoforce D_OTHER on for the duration of the ldlm_namespace_dump, then restore
phil [Thu, 4 Dec 2003 04:55:28 +0000 (04:55 +0000)]
force D_OTHER on for the duration of the ldlm_namespace_dump, then restore

20 years agob=2328
phil [Thu, 4 Dec 2003 04:41:32 +0000 (04:41 +0000)]
b=2328
r=shaver
- Make sure that all locks which have been marked as receiving a blocking AST
  are eventually added to the waiting list, to evict badly-behaving clients.
- If a service node times out waiting for a lock, dump the namespace
  to the log, no more than once every 5 minutes

20 years agowhen kernel_thread fails, print the return code instead of 0 (or nothing)
phil [Thu, 4 Dec 2003 02:56:32 +0000 (02:56 +0000)]
when kernel_thread fails, print the return code instead of 0 (or nothing)

20 years agob: 2226
niu [Thu, 4 Dec 2003 01:10:02 +0000 (01:10 +0000)]
b: 2226
r: Phil

Set correct last object id when cleaning up orphans during mds setting up.

20 years ago- fix against wrong lock order in fsfilt_ext3_write_record()
alex [Wed, 3 Dec 2003 22:35:57 +0000 (22:35 +0000)]
- fix against wrong lock order in fsfilt_ext3_write_record()
  bug 2306

20 years agoInstrumentation for reproducing and verifying 1897 (open-count leaked if close
shaver [Wed, 3 Dec 2003 21:39:49 +0000 (21:39 +0000)]
Instrumentation for reproducing and verifying 1897 (open-count leaked if close
is interrupted on the client). r=robert.

20 years agofile llmount-upcall.sh was initially added on branch b_devel.
shaver [Wed, 3 Dec 2003 21:24:55 +0000 (21:24 +0000)]
file llmount-upcall.sh was initially added on branch b_devel.

20 years agob=2322
phil [Wed, 3 Dec 2003 10:58:26 +0000 (10:58 +0000)]
b=2322
In ldlm_process_{plain,extent}_lock, we used to remove and re-add the
lock to the waiting list after every -ERESTART loop.  But because of
the logic in the ldlm_*_compat_queue functions, in a very rare case,
this could lead to lock re-ordering and subsequent deadlock.

20 years agoIndentation
phil [Wed, 3 Dec 2003 09:39:55 +0000 (09:39 +0000)]
Indentation

20 years agob=1844
phil [Wed, 3 Dec 2003 05:31:34 +0000 (05:31 +0000)]
b=1844
Andreas's patch to fix MDS lock inversions in getattr/reint paths.
I'm giving it one more day to bake on ALC before I commit to the 1.0.x
branch.

20 years agoland 1.0.1 fixes on main development branch (head)
phil [Wed, 3 Dec 2003 05:12:52 +0000 (05:12 +0000)]
land 1.0.1 fixes on main development branch (head)

20 years ago1.0.0 changelog update
phil [Wed, 3 Dec 2003 04:00:32 +0000 (04:00 +0000)]
1.0.0 changelog update

20 years agodon't go into the unexplored territory that is the negative ref count.
phil [Wed, 3 Dec 2003 03:31:16 +0000 (03:31 +0000)]
don't go into the unexplored territory that is the negative ref count.
Wait for Lustre 1.4 for that.

20 years agoland v0.9.1 on HEAD, in preparation for a 1.0.x branch
phil [Wed, 3 Dec 2003 03:16:26 +0000 (03:16 +0000)]
land v0.9.1 on HEAD, in preparation for a 1.0.x branch

20 years agofile configurable-x86-stack-2.4.22-rh.patch was initially added on branch b_devel.
alex [Mon, 1 Dec 2003 15:39:00 +0000 (15:39 +0000)]
file configurable-x86-stack-2.4.22-rh.patch was initially added on branch b_devel.

20 years agofile configurable-x86-stack-2.4.20.patch was initially added on branch b_devel.
alex [Mon, 1 Dec 2003 15:38:59 +0000 (15:38 +0000)]
file configurable-x86-stack-2.4.20.patch was initially added on branch b_devel.

20 years agofile configurable-x86-stack-2.4.20-rh.patch was initially added on branch b_devel.
alex [Mon, 1 Dec 2003 15:38:58 +0000 (15:38 +0000)]
file configurable-x86-stack-2.4.20-rh.patch was initially added on branch b_devel.

20 years agofile configurable-x86-stack-2.4.19-pre1.patch was initially added on branch b_devel.
alex [Mon, 1 Dec 2003 15:38:57 +0000 (15:38 +0000)]
file configurable-x86-stack-2.4.19-pre1.patch was initially added on branch b_devel.

20 years agofile sanity-buffalo.sh was initially added on branch b_devel.
ccooper [Fri, 28 Nov 2003 21:40:19 +0000 (21:40 +0000)]
file sanity-buffalo.sh was initially added on branch b_devel.

20 years agofile kernel_text_address-2.4.22-vanilla.patch was initially added on branch b_devel.
alex [Mon, 24 Nov 2003 22:13:33 +0000 (22:13 +0000)]
file kernel_text_address-2.4.22-vanilla.patch was initially added on branch b_devel.

20 years agofile llite_close.c was initially added on branch b_devel.
phil [Mon, 24 Nov 2003 04:45:47 +0000 (04:45 +0000)]
file llite_close.c was initially added on branch b_devel.

20 years agofile special.c was initially added on branch b_devel.
wangdi [Fri, 21 Nov 2003 18:20:12 +0000 (18:20 +0000)]
file special.c was initially added on branch b_devel.

20 years agofile ext3-xattr-ptr-arith-fix.patch was initially added on branch b_devel.
alex [Fri, 21 Nov 2003 15:06:22 +0000 (15:06 +0000)]
file ext3-xattr-ptr-arith-fix.patch was initially added on branch b_devel.

20 years agofile resched-2.4.19-pre1.patch was initially added on branch b_devel.
alex [Fri, 21 Nov 2003 14:42:54 +0000 (14:42 +0000)]
file resched-2.4.19-pre1.patch was initially added on branch b_devel.

20 years agofile vanilla-2.4.19-pre1 was initially added on branch b_devel.
alex [Fri, 21 Nov 2003 14:35:59 +0000 (14:35 +0000)]
file vanilla-2.4.19-pre1 was initially added on branch b_devel.

20 years agofile vfs_intent-2.4.19-pre1.patch was initially added on branch b_devel.
alex [Fri, 21 Nov 2003 14:35:58 +0000 (14:35 +0000)]
file vfs_intent-2.4.19-pre1.patch was initially added on branch b_devel.

20 years agofile seq-private-2.4.19-pre1.patch was initially added on branch b_devel.
alex [Fri, 21 Nov 2003 14:35:57 +0000 (14:35 +0000)]
file seq-private-2.4.19-pre1.patch was initially added on branch b_devel.

20 years agofile resched-2.4.19-pre1 was initially added on branch b_devel.
alex [Fri, 21 Nov 2003 14:35:56 +0000 (14:35 +0000)]
file resched-2.4.19-pre1 was initially added on branch b_devel.

20 years agofile nfs_export_kernel-2.4.19-pre1.patch was initially added on branch b_devel.
alex [Fri, 21 Nov 2003 14:35:55 +0000 (14:35 +0000)]
file nfs_export_kernel-2.4.19-pre1.patch was initially added on branch b_devel.

20 years agofile linux-2.4.19-pre1-xattr-0.8.54.patch was initially added on branch b_devel.
alex [Fri, 21 Nov 2003 14:35:54 +0000 (14:35 +0000)]
file linux-2.4.19-pre1-xattr-0.8.54.patch was initially added on branch b_devel.

20 years agofile kernel_text_address-2.4.19-pre1.patch was initially added on branch b_devel.
alex [Fri, 21 Nov 2003 14:35:53 +0000 (14:35 +0000)]
file kernel_text_address-2.4.19-pre1.patch was initially added on branch b_devel.

20 years agofile kdev-2.4.19-pre1.patch was initially added on branch b_devel.
alex [Fri, 21 Nov 2003 14:35:52 +0000 (14:35 +0000)]
file kdev-2.4.19-pre1.patch was initially added on branch b_devel.

20 years agofile jbd-2.4.19-pre1-jcberr.patch was initially added on branch b_devel.
alex [Fri, 21 Nov 2003 14:35:51 +0000 (14:35 +0000)]
file jbd-2.4.19-pre1-jcberr.patch was initially added on branch b_devel.

20 years agofile invalidate_show-2.4.19-pre1.patch was initially added on branch b_devel.
alex [Fri, 21 Nov 2003 14:35:50 +0000 (14:35 +0000)]
file invalidate_show-2.4.19-pre1.patch was initially added on branch b_devel.

20 years agofile ext3-use-after-free-2.4.19-pre1.patch was initially added on branch b_devel.
alex [Fri, 21 Nov 2003 14:35:49 +0000 (14:35 +0000)]
file ext3-use-after-free-2.4.19-pre1.patch was initially added on branch b_devel.

20 years agofile ext3-htree-2.4.19-pre1.patch was initially added on branch b_devel.
alex [Fri, 21 Nov 2003 14:35:48 +0000 (14:35 +0000)]
file ext3-htree-2.4.19-pre1.patch was initially added on branch b_devel.

20 years agofile exports_2.4.19-pre1.patch was initially added on branch b_devel.
alex [Fri, 21 Nov 2003 14:35:47 +0000 (14:35 +0000)]
file exports_2.4.19-pre1.patch was initially added on branch b_devel.

20 years agofile add_page_private-2.4.19-pre1.patch was initially added on branch b_devel.
alex [Fri, 21 Nov 2003 14:35:46 +0000 (14:35 +0000)]
file add_page_private-2.4.19-pre1.patch was initially added on branch b_devel.

20 years agofile mdev.sh was initially added on branch b_devel.
rread [Fri, 21 Nov 2003 08:42:38 +0000 (08:42 +0000)]
file mdev.sh was initially added on branch b_devel.

20 years agofile insanity-mdev.sh was initially added on branch b_devel.
rread [Fri, 21 Nov 2003 08:42:37 +0000 (08:42 +0000)]
file insanity-mdev.sh was initially added on branch b_devel.

20 years agofile insanity-local.sh was initially added on branch b_devel.
rread [Thu, 20 Nov 2003 07:42:58 +0000 (07:42 +0000)]
file insanity-local.sh was initially added on branch b_devel.

20 years agofile local.sh was initially added on branch b_devel.
rread [Thu, 20 Nov 2003 07:42:57 +0000 (07:42 +0000)]
file local.sh was initially added on branch b_devel.

20 years agofile lbuild was initially added on branch b_devel.
wangdi [Thu, 20 Nov 2003 03:25:15 +0000 (03:25 +0000)]
file lbuild was initially added on branch b_devel.

20 years agofile conf-sanity.sh was initially added on branch b_devel.
wangdi [Wed, 19 Nov 2003 11:10:07 +0000 (11:10 +0000)]
file conf-sanity.sh was initially added on branch b_devel.

20 years agofile insanity.sh was initially added on branch b_devel.
rread [Tue, 18 Nov 2003 09:52:37 +0000 (09:52 +0000)]
file insanity.sh was initially added on branch b_devel.

20 years agofile gfp_memalloc-2.4.22.patch was initially added on branch b_devel.
alex [Mon, 17 Nov 2003 17:32:22 +0000 (17:32 +0000)]
file gfp_memalloc-2.4.22.patch was initially added on branch b_devel.

20 years agofile gfp_memalloc-2.4.20-rh.patch was initially added on branch b_devel.
alex [Mon, 17 Nov 2003 17:32:21 +0000 (17:32 +0000)]
file gfp_memalloc-2.4.20-rh.patch was initially added on branch b_devel.

20 years agofile gfp_memalloc-2.4.18-chaos.patch was initially added on branch b_devel.
alex [Mon, 17 Nov 2003 17:32:20 +0000 (17:32 +0000)]
file gfp_memalloc-2.4.18-chaos.patch was initially added on branch b_devel.

20 years agofile llog_ioctl.c was initially added on branch b_devel.
niu [Mon, 17 Nov 2003 06:42:00 +0000 (06:42 +0000)]
file llog_ioctl.c was initially added on branch b_devel.

20 years agofile jbd-2.4.18-jcberr.patch was initially added on branch b_devel.
adilger [Sun, 16 Nov 2003 22:55:52 +0000 (22:55 +0000)]
file jbd-2.4.18-jcberr.patch was initially added on branch b_devel.

20 years agofile vfs_intent-2.4.19-suse.patch was initially added on branch b_devel.
adilger [Sun, 16 Nov 2003 22:08:52 +0000 (22:08 +0000)]
file vfs_intent-2.4.19-suse.patch was initially added on branch b_devel.