Whamcloud - gitweb
fs/lustre-release.git
14 years agosimplify disconnecting client export and avoid sending requests after client is
shadow [Thu, 15 Oct 2009 02:42:36 +0000 (02:42 +0000)]
simplify disconnecting client export and avoid sending requests after client is
dead.

Branch HEAD
b=19557
i=tappro
i=shadow

14 years agob=20394
jxiong [Thu, 15 Oct 2009 02:07:16 +0000 (02:07 +0000)]
b=20394
r=tappro,rread

Fix an over-strict assertion

14 years agoBranch HEAD
fanyong [Thu, 15 Oct 2009 01:45:51 +0000 (01:45 +0000)]
Branch HEAD
b=21028
i=tappro
i=robert

Initialize "req->rq_timed_list" anyway when it is unlinked from the list.

14 years agob=20719
grev [Wed, 14 Oct 2009 21:55:27 +0000 (21:55 +0000)]
b=20719
i=Alexey.Lyashkov
i=Robert.Read
test_68a: load llite_loop if not loaded
module_loaded fn

14 years agoAdd missing changelog entry.
brian [Wed, 14 Oct 2009 21:46:13 +0000 (21:46 +0000)]
Add missing changelog entry.

14 years agobranch: HEAD
ericm [Wed, 14 Oct 2009 21:42:13 +0000 (21:42 +0000)]
branch: HEAD
fix the OST grant number synchronization.
b=20278
r=wangdi
r=vs

14 years agoBranch HEAD
johann [Wed, 14 Oct 2009 20:59:10 +0000 (20:59 +0000)]
Branch HEAD
b=19345
i=shadow
i=wangdi

use shrink_dcache_sb() instead of shrink_dcache_parent() since
the latter can hold the cpu for a long time.

14 years agoBranch b1_8
johann [Tue, 13 Oct 2009 21:01:57 +0000 (21:01 +0000)]
Branch b1_8
b=19763
i=adilger
i=girish

speed up quotacheck. take into account itable_unused_count.

14 years agoBranch HEAD
zam [Tue, 13 Oct 2009 11:40:48 +0000 (11:40 +0000)]
Branch HEAD
b=20740
i=alexey.lyashkov
i=andrew.perepechko

replace client_obd_list_is_locked and the corresponding assertions
in the osc code by ASSERT_SPIN_LOCKED() because the first doesn't
work correctly w/o CONFIG_SMP on.

14 years agoBranch HEAD
zam [Tue, 13 Oct 2009 11:33:00 +0000 (11:33 +0000)]
Branch HEAD
b=20642
i=zhen.liang
i=alexander.zarochentsev

fix for already freed rs object access in commit_replies:
1 . Introduce rs->rs_committed flag to indicate that commit_replies() has done
  all access to the rs object.
2. check rs->rs_committed instead of list_empty_careful() to sure that
   commit_replies does not access the rs object in parallel with
   ptlrpc_handle_rs and it is safe not to use exp_uncommitted_replies_lock.

14 years agoBranch HEAD
tappro [Tue, 13 Oct 2009 07:07:29 +0000 (07:07 +0000)]
Branch HEAD
b=20887
i=nathan
i=rread

use AT naturally for recovery requests. Their deadline is set to at_extra value
so early replay will be set back if request is in recovery queue.

14 years agoBranch HEAD
tappro [Tue, 13 Oct 2009 06:02:55 +0000 (06:02 +0000)]
Branch HEAD
b=19884,20274
i=vitaly
i=rread

wait for mds-ost sync and for destroy is done before calculating free space
after tests

14 years agob=20766
nathan [Mon, 12 Oct 2009 23:26:13 +0000 (23:26 +0000)]
b=20766
i=adilger
i=thomas.leibovici@cea.fr
changelog records using epoch time instead of CURRENT_SECONDS

14 years agob=20689
nathan [Mon, 12 Oct 2009 23:20:39 +0000 (23:20 +0000)]
b=20689
i=manoj
i=yujian
use the correct osc name for add_failnid

14 years ago* fixed comment empty LN_CONFIG_USERSPACE macro definition
eeb [Mon, 12 Oct 2009 19:03:12 +0000 (19:03 +0000)]
* fixed comment empty LN_CONFIG_USERSPACE macro definition

14 years ago* Defined empty LN_CONFIG_USERSPACE macro to avoid a warning when
eeb [Mon, 12 Oct 2009 19:01:16 +0000 (19:01 +0000)]
* Defined empty LN_CONFIG_USERSPACE macro to avoid a warning when
  running ./configure sincew it's called from build scripts shared
  by all branches.

14 years agob=18857
robert.read [Fri, 9 Oct 2009 23:14:52 +0000 (23:14 +0000)]
b=18857

Skip both 33a and 33b.

14 years agob=19720
brian [Fri, 9 Oct 2009 13:47:37 +0000 (13:47 +0000)]
b=19720
i=robert.read
i=dmitry.zogin

Clean up various warnings stemming from unused variables and unchecked
function return values.

14 years ago* Fixed comment describing how cl_lock_operations::clo_modify() is called
eeb [Fri, 9 Oct 2009 12:24:19 +0000 (12:24 +0000)]
* Fixed comment describing how cl_lock_operations::clo_modify() is called

14 years agob=18150
grev [Fri, 9 Oct 2009 11:33:23 +0000 (11:33 +0000)]
b=18150
i=Johann
tets_22: correct check of mount client without ost

14 years agob=20826
jxiong [Fri, 9 Oct 2009 11:21:30 +0000 (11:21 +0000)]
b=20826
r=wangdi,jay

Rework the patch of bug 20305.

14 years ago- Removed confusing comment about an invalid assertion that was removed.
eeb [Fri, 9 Oct 2009 09:25:33 +0000 (09:25 +0000)]
- Removed confusing comment about an invalid assertion that was removed.

14 years agoUpdated for 2.0 build 28.
stinson1947 [Thu, 8 Oct 2009 23:31:52 +0000 (23:31 +0000)]
Updated for 2.0 build 28.

14 years agobranch: HEAD
ericm [Thu, 8 Oct 2009 21:51:14 +0000 (21:51 +0000)]
branch: HEAD
really send setattr cookies to OSTs.
b=20756
r=wangdi
r=tappro

14 years agobranch: HEAD
ericm [Thu, 8 Oct 2009 21:06:14 +0000 (21:06 +0000)]
branch: HEAD
use separate lprocfs counter for softirq context.
b=20650
r=eeb
r=rread

14 years agobranch: HEAD
ericm [Thu, 8 Oct 2009 21:00:29 +0000 (21:00 +0000)]
branch: HEAD
speed up mdsrate test.
b=20501
r=rread
r=grev

14 years agob=19113
panda [Thu, 8 Oct 2009 20:39:20 +0000 (20:39 +0000)]
b=19113
o=Johann Lombardi
i=Nathan Rutman
i=Andrew Perepechko

avoid stopping race with ptlrpc thread

14 years agoFixed a typo.
deshmukh [Thu, 8 Oct 2009 06:49:19 +0000 (06:49 +0000)]
Fixed a typo.

14 years agoBranch HEAD
robert.read [Wed, 7 Oct 2009 17:48:59 +0000 (17:48 +0000)]
Branch HEAD
b=18857

Disable replay-single test 33b.

14 years agob=20784
maxim [Wed, 7 Oct 2009 10:05:39 +0000 (10:05 +0000)]
b=20784
i=rread
Minor fix of regexp in test_215. Re-enabling test_215. Minor change of test_36f to restore locale settings after test.

14 years agoBranch HEAD
vitaly [Wed, 7 Oct 2009 09:54:26 +0000 (09:54 +0000)]
Branch HEAD
b=18629
i=rread

reconnect the client back

14 years agoBranch HEAD
johann [Wed, 7 Oct 2009 09:50:02 +0000 (09:50 +0000)]
Branch HEAD
b=20903
i=rread
i=dmitry

Prevent deadlock if obd_zombie_barrier() is called from the zombie thread context.

14 years agob=20672
deshmukh [Wed, 7 Oct 2009 07:47:12 +0000 (07:47 +0000)]
b=20672
i=adilger
i=bzzz

Details:

The pre-allocation tracker "bb_prealloc_nr" was not descrimented
even if pre-allocation was free. This problem is fixed with this
patch. Also some cleanup.

14 years agoadd cvsignore to tests/mpi
nathan [Tue, 6 Oct 2009 22:45:23 +0000 (22:45 +0000)]
add cvsignore to tests/mpi

14 years agob=20603
nathan [Tue, 6 Oct 2009 22:43:44 +0000 (22:43 +0000)]
b=20603
i=rahul
i=rread
use sync output for changelog so we don't overflow buffer

14 years agoBranch HEAD
vitaly [Tue, 6 Oct 2009 19:18:04 +0000 (19:18 +0000)]
Branch HEAD
b=20098

reverting

14 years agoBranch HEAD
vitaly [Tue, 6 Oct 2009 13:12:42 +0000 (13:12 +0000)]
Branch HEAD
b=20929
i=tappro
i=rread

dequeue req if needed on error

14 years agodoc improvements
nathan [Mon, 5 Oct 2009 21:19:26 +0000 (21:19 +0000)]
doc improvements

14 years agobranch: HEAD
ericm [Mon, 5 Oct 2009 15:00:05 +0000 (15:00 +0000)]
branch: HEAD
fix quota for the patch of bz19778.
a=tianzy
i=fanyong
i=andrew.perepechko

14 years agob=17670
pravins [Mon, 5 Oct 2009 04:23:27 +0000 (04:23 +0000)]
b=17670
fix build failure.

14 years agob=17670
pravins [Sun, 4 Oct 2009 18:13:14 +0000 (18:13 +0000)]
b=17670
i=adilger
i=girish

        add "FID in dirent" support in ext4

14 years agob=17670
pravins [Sun, 4 Oct 2009 18:05:00 +0000 (18:05 +0000)]
b=17670
i=adilger
i=rahul
i=girish

add "FID in dirent" support in ext3

14 years agoBranch HEAD
robert.read [Fri, 2 Oct 2009 23:50:08 +0000 (23:50 +0000)]
Branch HEAD
b=20784,20719

Disable test 214 because of bug 20784.
Revert skip_env changes in test 68a,b.

14 years agob=20878
nathan [Fri, 2 Oct 2009 23:47:09 +0000 (23:47 +0000)]
b=20878
i=rread
temporarily disable 5a, 5b until 20878 is fixed

14 years ago Branch HEAD
dzogin [Fri, 2 Oct 2009 19:47:03 +0000 (19:47 +0000)]
 Branch HEAD
 b=20902
 i=grev

 Modified Files:
  lustre/tests/conf-sanity.sh
Description: Conf-sanity test 50g cleanup

14 years ago* Added make target (mkid) to build idutils database
eeb [Fri, 2 Oct 2009 12:53:31 +0000 (12:53 +0000)]
* Added make target (mkid) to build idutils database

* Change cscope/ctags/etags targets to skip ldiskfs/linux-stage
  directory to avoid duplicate symbol matches.

14 years agoBranch HEAD
shadow [Fri, 2 Oct 2009 11:16:49 +0000 (11:16 +0000)]
Branch HEAD
b=19662
i=adilger
i=shadow

14 years agob=20698
grev [Thu, 1 Oct 2009 21:27:03 +0000 (21:27 +0000)]
b=20698
i=Robert.Read
new base for new test_[a-z] tests

14 years agob=17873
grev [Thu, 1 Oct 2009 13:37:14 +0000 (13:37 +0000)]
b=17873
i=Brian
use skip_env instead of skip

14 years agoBranch HEAD
vitaly [Thu, 1 Oct 2009 10:03:42 +0000 (10:03 +0000)]
Branch HEAD
b=20098
i=tappro
i=green

mod refcount is added to avoid usage after freeing

14 years agoBranch HEAD
johann [Thu, 1 Oct 2009 09:44:06 +0000 (09:44 +0000)]
Branch HEAD
b=20205
i=panda
i=oleg
i=vitaly

don't call ost_rw_prolong_locks() for lockless i/o.

14 years agocorrectly handle too big reply message.
shadow [Thu, 1 Oct 2009 06:18:00 +0000 (06:18 +0000)]
correctly handle too big reply message.

Branch HEAD
b=19526
i=ericm
i=rread

14 years agodon't try dump ldlm lock buffer for llog cancel requests
shadow [Thu, 1 Oct 2009 04:24:28 +0000 (04:24 +0000)]
don't try dump ldlm lock buffer for llog cancel requests
and avoid error
LustreError: 2505:0:(layout.c:1469:__req_capsule_get()) @@@ Wrong buffer for field `dlm_req' (1 of 2) in format `LDLM_CALLBACK': 32 vs. 104 (client)

Branch HEAD
b=20349
i=rread

14 years ago Branch HEAD
dzogin [Thu, 1 Oct 2009 01:14:07 +0000 (01:14 +0000)]
 Branch HEAD
 b=19917
----------------------------------------------------------------------
Modified Files:
lustre/ChangeLog lustre/obdfilter/filter_io.c
----------------------------------------------------------------------
Description: Drop unnecessary __GFP_NOMEMALLOC flag from filter_get_page()

14 years agob=20877
brian [Wed, 30 Sep 2009 13:57:51 +0000 (13:57 +0000)]
b=20877
i=tianzy
i=grev

A better test that does not make assumptions about performance (i.e. that
a given I/O operation will complete in a given amount of time).

Per Tian's suggestion, probably this could be functionalized to deal with
other situations of the same nature.

14 years agoBranch HEAD
yangsheng [Wed, 30 Sep 2009 06:29:21 +0000 (06:29 +0000)]
Branch HEAD
b=20539

Add the target file for OEL5.

14 years agoBranch HEAD
yangsheng [Wed, 30 Sep 2009 05:01:42 +0000 (05:01 +0000)]
Branch HEAD
b=20539

i=johann, bobijam

Add OEL5 support.

14 years agoBranch HEAD
yangsheng [Wed, 30 Sep 2009 04:13:00 +0000 (04:13 +0000)]
Branch HEAD
b=19990

i=adilger, johann

Add patch come from upstream kernel to handle the bitmap counter overflow.

14 years agoBranch HEAD
yangsheng [Wed, 30 Sep 2009 04:06:35 +0000 (04:06 +0000)]
Branch HEAD
b=17153

i=johann, bobijam

Remove the BKL usage.

14 years agobranch: HEAD
ericm [Wed, 30 Sep 2009 02:27:15 +0000 (02:27 +0000)]
branch: HEAD
move common client helper function to lclient.
b=19688
o=adilger
r=tappro
r=ericm

14 years ago* Removed spurious LASSERT from lob_sublock_env_get() - the preceding 'if'
eeb [Tue, 29 Sep 2009 13:40:39 +0000 (13:40 +0000)]
* Removed spurious LASSERT from lob_sublock_env_get() - the preceding 'if'
  expression will SEGV before the LASSERT fails.

14 years ago Branch HEAD
dzogin [Fri, 25 Sep 2009 18:17:01 +0000 (18:17 +0000)]
 Branch HEAD
 b=20482
 i=adilger
----------------------------------------------------------------------
 Modified Files:
  lustre/ChangeLog lustre/tests/conf-sanity.sh
----------------------------------------------------------------------
Description: Conf-sanity.sh 50g test - deactivated OST should not cause a panic.

14 years agob=19242
grev [Fri, 25 Sep 2009 15:44:43 +0000 (15:44 +0000)]
b=19242
i=Robert.Read
add MOUNT2 check to check_and_setup_lustre fn
minor fix

14 years agob=19242
grev [Fri, 25 Sep 2009 15:04:17 +0000 (15:04 +0000)]
b=19242
i=Robert.Read
add MOUNT2 check to check_and_setup_lustre fn

14 years agoBranch b1_8
johann [Fri, 25 Sep 2009 13:52:49 +0000 (13:52 +0000)]
Branch b1_8
b=20205
i=girish

Disable write barrier on ext4/SLES11 as we did for ext3/SLES10, since
it seems to hurt write performance badly.

14 years agoBranch HEAD
bobijam [Fri, 25 Sep 2009 07:53:36 +0000 (07:53 +0000)]
Branch HEAD
'./lustrecvs -r xxxxx' should checkout lustre root directory using tag xxxxx,
while current lustrecvs will checkout lustre root directory using HEAD tag.

14 years agorevert fix - because this hide real problem.
shadow [Fri, 25 Sep 2009 07:20:45 +0000 (07:20 +0000)]
revert fix - because this hide real problem.

Branch HEAD
b=18857

14 years ago Branch HEAD
dzogin [Fri, 25 Sep 2009 03:05:27 +0000 (03:05 +0000)]
 Branch HEAD
 b=18674
 i=johann
 i=andrew.perepechko
 i=nathan.ruthman
 i=alexey.lyashkov
----------------------------------------------------------------------
 Modified Files:
  lustre/ChangeLog lustre/include/lustre_import.h
  lustre/mdt/mdt_handler.c lustre/ptlrpc/import.c
  lustre/tests/conf-sanity.sh
----------------------------------------------------------------------
Description: client could not reconnect to OST because of an active request.
Details    : The client now retries to reconnect to the same server, if a
     connect request failed with EBUSY or -EAGAIN. Test case 35b
     conf-sanity.sh has been created.

14 years agoUpdated for 2.0.0 build 27.
stinson1947 [Fri, 25 Sep 2009 02:33:44 +0000 (02:33 +0000)]
Updated for 2.0.0 build 27.

14 years agob=20762
manoj [Thu, 24 Sep 2009 18:50:29 +0000 (18:50 +0000)]
b=20762
o=tappro
r=alex.zhuravlev
r=tappro

Do truncate only for new kernels

14 years agoi=rread,b=20703:
isaac [Thu, 24 Sep 2009 15:38:03 +0000 (15:38 +0000)]
i=rread,b=20703:
- comment typo fixes.

14 years agoBranch HEAD
johann [Thu, 24 Sep 2009 15:11:32 +0000 (15:11 +0000)]
Branch HEAD
b=18505
i=adilger
i=panda

limit to low memory on 32-bit system.

14 years agob=20529
jxiong [Thu, 24 Sep 2009 12:46:39 +0000 (12:46 +0000)]
b=20529
r=green,wangdi

Fixed ignore lock related things.

14 years agoBranch HEAD
johann [Thu, 24 Sep 2009 12:20:49 +0000 (12:20 +0000)]
Branch HEAD
b=19763
i=girish
i=dmitry

Skip uninit group on quotacheck

14 years agoChanged comment to explain cl_env::ce_node
eeb [Thu, 24 Sep 2009 10:26:35 +0000 (10:26 +0000)]
Changed comment to explain cl_env::ce_node

14 years agoBranch HEAD
bobijam [Thu, 24 Sep 2009 01:24:51 +0000 (01:24 +0000)]
Branch HEAD
b=19317
o=Nic Henke (nic@cray.com)
i=joahnn
i=zhenyu.xu (bobijam)

Allow multiple OBD echo targets.

14 years agoBranch HEAD
adilger [Wed, 23 Sep 2009 21:51:11 +0000 (21:51 +0000)]
Branch HEAD
"sort -u" is only sorting and uniquifying on the first field, so it
discards all lines with the same stack depth...  Use "uniq" instead.

14 years agoi=rread,b=20505:
isaac [Wed, 23 Sep 2009 18:03:13 +0000 (18:03 +0000)]
i=rread,b=20505:
- sanity test_163 should use ${FSNAME}, instead of its default value.

14 years agoBranch HEAD
tappro [Wed, 23 Sep 2009 17:57:06 +0000 (17:57 +0000)]
Branch HEAD
b=3633
i=vitaly
i=zam

don't pass -ESTALE though when it is expected

14 years agob=20689
nathan [Wed, 23 Sep 2009 17:53:52 +0000 (17:53 +0000)]
b=20689
i=manoj
i=yujian
use the old 1.8 lov name for 1.8 config logs for 2.0 interop

14 years ago- fixed a typo in man lfs(1).
isaac [Tue, 22 Sep 2009 17:40:58 +0000 (17:40 +0000)]
- fixed a typo in man lfs(1).

14 years agoBranch HEAD
zam [Tue, 22 Sep 2009 15:33:11 +0000 (15:33 +0000)]
Branch HEAD
b=20317
i=andrew.perepechko
i=alexey.lyashkov

sanity test for bug 20317: a check for direct write in lockless mode
whether it updates file size / KMS correctly.

14 years agoBranch HEAD
zam [Tue, 22 Sep 2009 15:23:01 +0000 (15:23 +0000)]
Branch HEAD
b=20736
i=alexey.lyashkov
i=dmitry.zogin

Fix compilation with CONFIG_SMP off.

14 years agoBranch b1_8
yangsheng [Tue, 22 Sep 2009 12:20:08 +0000 (12:20 +0000)]
Branch b1_8
b=20819

i=johann

Get rid of warning messages for snmp build.

14 years agoRemoved spurious newline in instance of LDLM_DEBUG
eeb [Tue, 22 Sep 2009 10:03:36 +0000 (10:03 +0000)]
Removed spurious newline in instance of LDLM_DEBUG

14 years agoBranch HEAD
tianzy [Tue, 22 Sep 2009 06:28:54 +0000 (06:28 +0000)]
Branch HEAD
fix "the busy llcds"
b=19235
i=shadow
i=tom.wang

14 years agobranch: HEAD
ericm [Tue, 22 Sep 2009 00:02:39 +0000 (00:02 +0000)]
branch: HEAD
minor adjust a msg line.
b=18698
r=tappro
r=fanyong

14 years agoi=rread,b=20771:
isaac [Mon, 21 Sep 2009 15:25:23 +0000 (15:25 +0000)]
i=rread,b=20771:
- fixed vulnerable snprintf usage in  ptlrpcd_start().

14 years agoBranch HEAD
robert.read [Mon, 21 Sep 2009 09:52:14 +0000 (09:52 +0000)]
Branch HEAD

i=eeb

Enable panic on LBUG by default so we get crash dumps for asserts and lbugs.

14 years agoModify changelog to use LustreNetLink instead of seq_file
nathan [Sat, 19 Sep 2009 18:36:40 +0000 (18:36 +0000)]
Modify changelog to use LustreNetLink instead of seq_file
b=20411
i=adilger
i=thomas.leibovici

14 years agoBranch HEAD
robert.read [Sat, 19 Sep 2009 07:06:21 +0000 (07:06 +0000)]
Branch HEAD
b=20814

Temporary patch to improve the stacktraces in our RHEL5 kernels.

14 years agob=19027
nathan [Sat, 19 Sep 2009 03:32:22 +0000 (03:32 +0000)]
b=19027
i=brian
i=rread
Don't be so anal about using _UUID in user interface; e.g. accept
lustre-OST0000, lustre-OST0000-osc-4ba41334 as well as lustre-OST0000_UUID.

14 years agob=20748
grev [Fri, 18 Sep 2009 21:12:52 +0000 (21:12 +0000)]
b=20748
i=Alexey.Lyashkov
skip test_55 for client only testing;
new client_only fn

14 years agob=19418
grev [Fri, 18 Sep 2009 20:22:41 +0000 (20:22 +0000)]
b=19418
i=Brian
use variable instead of store data in temporary file;
create the files with different md5;
minor cleanup

14 years agob=20698
grev [Fri, 18 Sep 2009 17:15:06 +0000 (17:15 +0000)]
b=20698
i=Robert.Read
add pios to sanity-benchmark

14 years agoBranch b1_8
yangsheng [Fri, 18 Sep 2009 17:07:28 +0000 (17:07 +0000)]
Branch b1_8
b=20539

i=johann, bobijam

Add support for OEL5.

14 years agob=20784
maxim [Fri, 18 Sep 2009 10:55:59 +0000 (10:55 +0000)]
b=20784
i=rread
Minor fix to sanity test 215: 'min' columns of lnet.peers can be negative,
so regexp should be aware of it.

14 years agoBranch HEAD
yangsheng [Fri, 18 Sep 2009 06:29:37 +0000 (06:29 +0000)]
Branch HEAD
b=20400

i=shadow, bobijam

Update kernel to RHEL5 2.6.18-128.7.1.el5.

14 years agob=19537
jxiong [Fri, 18 Sep 2009 05:00:23 +0000 (05:00 +0000)]
b=19537
r=rread

Use atomic_dec_and_lock() so that if it is NOT the last refcount, it doesn't need to take the lock.

14 years agob=19791
zhanghc [Fri, 18 Sep 2009 04:22:16 +0000 (04:22 +0000)]
b=19791

l_dentry_open will call dput if there is an error,
then there should be no similar call(l_dput) if error returned

i=adilger@sun.com
i=alexey.lyashkov@sun.com