Whamcloud - gitweb
fs/lustre-release.git
16 years agoBranch b_release_1_8_0
johann [Thu, 5 Mar 2009 21:34:31 +0000 (21:34 +0000)]
Branch b_release_1_8_0
b=18154
i=shadow
i=johann (original patch from bobijam)

always calls ptlrpc_import_recovery_state_machine() in
invalidate_import_thread() because otherwise threads sleeping on
the import's imp_recovery_waitq could be never woken up.

16 years ago- use truncate instead of invalidate to drop referenced pages from cache. This
tappro [Thu, 5 Mar 2009 06:54:15 +0000 (06:54 +0000)]
- use truncate instead of invalidate to drop referenced pages from cache. This
  is needed to disable ROC correctly
b:18520
i:adilger,green

16 years agob=17614
green [Wed, 4 Mar 2009 19:13:48 +0000 (19:13 +0000)]
b=17614
r=adilger, shadow

Do not put cancelled locks into replay list, hold references on locks in replay list

16 years agoBranch b_release_1_8_0
zam [Wed, 4 Mar 2009 18:43:19 +0000 (18:43 +0000)]
Branch b_release_1_8_0
b=17397
i=alexey.zhuravlev
i=andrew.perepechko

To avoid a deadlock in case of concurrent punch/write requests from one
client, filter writes and filter truncates are serialized by i_alloc_sem,
allowing multiple writes or single truncate.

16 years agoBranch b_release_1_8_0
johann [Tue, 3 Mar 2009 17:50:52 +0000 (17:50 +0000)]
Branch b_release_1_8_0
b=18414
i=nathan
i=shadow

fix watchdog timeout printed on the console. This was wrong since
support variable watchdogs has been landed.

16 years agob=17757
zhanghc [Tue, 3 Mar 2009 16:42:37 +0000 (16:42 +0000)]
b=17757

clear DISP_OPEN_LOCK flag in "reconstruct_open"
if the corresponding lock was canceled

i=Green
i=Johann

16 years agoBranch b_release_1_8_0
johann [Tue, 3 Mar 2009 15:08:48 +0000 (15:08 +0000)]
Branch b_release_1_8_0
b=18374
i=adilger
i=shadow

use memmove instead of memcpy when shrinking the reply since the two memory
areas can overlap.

16 years agob=17524
grev [Tue, 3 Mar 2009 13:02:31 +0000 (13:02 +0000)]
b=17524
reset_enospc fn: fix defect of previous commit

16 years agob=17524
grev [Fri, 27 Feb 2009 00:38:21 +0000 (00:38 +0000)]
b=17524
i=Adilger
exhaust_precreations, reset_enospc, test_27n, test_27s fixes

16 years agofix typo in b=17839 commit (made while ported from HEAD)
grev [Fri, 27 Feb 2009 00:16:49 +0000 (00:16 +0000)]
fix typo in b=17839 commit (made while ported from HEAD)

16 years agob=18606
nathan [Thu, 26 Feb 2009 19:51:45 +0000 (19:51 +0000)]
b=18606
i=adigler
i=johann
use pool of "all" if specified pool is empty

16 years agob=17846
girish [Thu, 26 Feb 2009 06:19:48 +0000 (06:19 +0000)]
b=17846
i=girish
i=h.huang
o=adilger

ignore stripe index 0 when setting striping via setxattr

16 years agob=18468
grev [Wed, 25 Feb 2009 16:52:48 +0000 (16:52 +0000)]
b=18468
o=Adilger
i=Oleg.Drokin
i=grev
make racer harder

16 years agoBranch b_release_1_8_0
fanyong [Wed, 25 Feb 2009 16:36:30 +0000 (16:36 +0000)]
Branch b_release_1_8_0
b=15691
i=huanghua
i=yep

Another diagnostic patch to collect more log when error.

16 years agob=17839
grev [Tue, 24 Feb 2009 22:41:36 +0000 (22:41 +0000)]
b=17839
i=Brian
cmd3-17 port to acc-sm

16 years agob=18443
grev [Fri, 20 Feb 2009 21:25:42 +0000 (21:25 +0000)]
b=18443
i=Adilger
remove obsolete tests scripts

16 years agob=18521
grev [Thu, 19 Feb 2009 22:18:01 +0000 (22:18 +0000)]
b=18521
i=Alex.Zhuravlev
sanity test_151, t-f localize var fix

16 years agob=18266
nathan [Wed, 18 Feb 2009 00:04:39 +0000 (00:04 +0000)]
b=18266
allow pool_cmd to work on MGS with no MDT or client
b=18516
fix parsing to correctly handle hex OST numbers
i=jc.lafoucriere
i=johann

16 years agob=18285
grev [Tue, 17 Feb 2009 20:42:18 +0000 (20:42 +0000)]
b=18285
i=Rahul
i=Nathan
test_32a fix: remove mount client part

16 years agob=18428
vs [Tue, 17 Feb 2009 20:16:40 +0000 (20:16 +0000)]
b=18428
i=shadow,tappro,rread

do not send requests to inactive targets

16 years agob=18470
girish [Mon, 16 Feb 2009 07:47:42 +0000 (07:47 +0000)]
b=18470
i=johann
i=adilger

Correct error handling

16 years agob=15428
jxiong [Sun, 15 Feb 2009 02:35:14 +0000 (02:35 +0000)]
b=15428
r=adilger

Fixed a crash issue for raid56-zerocopy

16 years agob=18333
grev [Fri, 13 Feb 2009 19:54:12 +0000 (19:54 +0000)]
b=18333
i=Oleg.Drokin
add flock to default mount opts

16 years agofix typo for
grev [Fri, 13 Feb 2009 13:44:13 +0000 (13:44 +0000)]
fix typo for
b=16488
i=Oleg.Drokin
RACER acc-sm test suit

16 years agob=17839
grev [Thu, 12 Feb 2009 18:51:55 +0000 (18:51 +0000)]
b=17839
i=Brian
recovery-mds-scale for SLOW=no

16 years agorevert b=17839 commit
grev [Thu, 12 Feb 2009 16:14:38 +0000 (16:14 +0000)]
revert b=17839 commit

16 years agob=17839
grev [Thu, 12 Feb 2009 15:32:45 +0000 (15:32 +0000)]
b=17839
i=Brian
recovery-mds-scale for SLOW=no

16 years agob=18417
girish [Wed, 11 Feb 2009 18:08:16 +0000 (18:08 +0000)]
b=18417
o=h.huang
i=girish

Fix typo from last commit which caused test-framework to exit wrongly

16 years agob=18417
girish [Wed, 11 Feb 2009 06:55:51 +0000 (06:55 +0000)]
b=18417
i=kalpak
i=girish
o=adilger

cleanup correctly after sanity 102 tests

16 years agob=15428
jxiong [Tue, 10 Feb 2009 07:05:18 +0000 (07:05 +0000)]
b=15428
r=adilger

Fix a crash issue for raid5 zercopy patch.

16 years agoBranch b_release_1_8_0
tianzy [Tue, 10 Feb 2009 04:29:47 +0000 (04:29 +0000)]
Branch b_release_1_8_0
add an entry under /proc to support what policy(RR or QOS) will be used.
b=18334
i=nathan
i=adilger

16 years agob=18366
grev [Mon, 9 Feb 2009 23:44:35 +0000 (23:44 +0000)]
b=18366
i=Johann
test_5 ENOSPC fix

16 years agoBranch b_release_1_8_0
johann [Mon, 9 Feb 2009 14:59:19 +0000 (14:59 +0000)]
Branch b_release_1_8_0
i=johann (patch from Tappro)
i=shadow

Return only valid cookies, empty slot for failed ones.
This fixes a memory corruption causing random oops.

16 years agoBranch b_release_1_8_0
johann [Mon, 9 Feb 2009 14:57:20 +0000 (14:57 +0000)]
Branch b_release_1_8_0
b=18374
i=shadow
i=tappro

Wait for mds_fl_synced to be set during recovery before allowing clients
to reconnect. This is done to make sure that llog is properly set up.

16 years agoBranch b_release_1_8_0
johann [Mon, 9 Feb 2009 14:56:09 +0000 (14:56 +0000)]
Branch b_release_1_8_0
b=18067
i=johann
i=adilger

Change oap magic LASSERT into LASSERTF to aid debugging.

16 years agob=16823
green [Mon, 9 Feb 2009 00:17:38 +0000 (00:17 +0000)]
b=16823
r=adilger,shadow

Update offset calculations for 32 bit platforms

16 years agoBranch b_release_1_8_0
yangsheng [Thu, 5 Feb 2009 07:49:49 +0000 (07:49 +0000)]
Branch b_release_1_8_0
b=17459

i=adilger, bobijam

Fixed ext2_{...}_bit() works well in BIGENDIAN.

16 years agoBranch b_release_1_8_0
yangsheng [Thu, 5 Feb 2009 07:43:06 +0000 (07:43 +0000)]
Branch b_release_1_8_0
b=17379
i=johann, bobijam

Fixed correct depth for test-140.

16 years agob=17899
grev [Tue, 3 Feb 2009 13:32:57 +0000 (13:32 +0000)]
b=17899
i=Johann
test_53* fix: rm dirs used at start

16 years agoBranch b_release_1_8_0
tianzy [Tue, 3 Feb 2009 06:44:35 +0000 (06:44 +0000)]
Branch b_release_1_8_0
use QUOTA_REQ_RETURNED to replace -EAGAIN when a quota req is finished.
b=18307
i=johann
i=panda

16 years agoremove debug line
grev [Mon, 2 Feb 2009 13:53:14 +0000 (13:53 +0000)]
remove debug line

16 years agob=16818
grev [Mon, 2 Feb 2009 12:59:18 +0000 (12:59 +0000)]
b=16818
i=Nathan
get rid of set_obd_timeout(), improve test_26*

16 years agob=17895
kalpak [Mon, 2 Feb 2009 09:15:37 +0000 (09:15 +0000)]
b=17895
i=adilger
i=alex

While using HA for Lustre servers with Linux RAID, it is possible that MMP will not detect multiple mounts. To make this work we need to unplug the device queue in RAID when the MMP block is being written. Also while reading the MMP block, we should read it from disk and not the cached one.

16 years agoBranch b_release_1_8_0
huanghua [Thu, 29 Jan 2009 09:08:55 +0000 (09:08 +0000)]
Branch b_release_1_8_0

b=18318
i=rahul
i=pravin

reserve larger reply buffer for close and unlink:
2.0 mds wire protocol returns capabilities.

16 years agoReturn EXT_UNSET_BLOCK from ext3_ext_next_leaf_block.
girish [Wed, 28 Jan 2009 11:29:40 +0000 (11:29 +0000)]
Return EXT_UNSET_BLOCK from ext3_ext_next_leaf_block.
Patch was missing for 2.6.22
Added changelog entry along with newer build version.
b=16114

16 years agodon't lose wakeup for imp_recovery_waitq
shadow [Wed, 28 Jan 2009 09:09:30 +0000 (09:09 +0000)]
don't lose wakeup for imp_recovery_waitq

Branch b_release_1_8_0
b=18154
i=nathan
i=rread

16 years agob=16895
girish [Wed, 28 Jan 2009 03:52:26 +0000 (03:52 +0000)]
b=16895
i=adilger (o=johann)
i=girish

dont assert on lvfs_check_rdonly()

16 years agoBranch b_release_1_8_0
yangsheng [Sat, 24 Jan 2009 18:11:57 +0000 (18:11 +0000)]
Branch b_release_1_8_0
b=15593
i=nikita, shadow

Force to remove the suid in interop environment.

16 years agob=18045
grev [Sat, 24 Jan 2009 09:16:51 +0000 (09:16 +0000)]
b=18045
i=Adilger
-- get rid of Hendrix rates values
-- create NUM_FILES -le IFree
-- use mdsrate for cleanup instead of rm

16 years agoBranch b_release_1_8_0
huanghua [Sat, 24 Jan 2009 02:09:36 +0000 (02:09 +0000)]
Branch b_release_1_8_0
b=17777
i=robert.read

as Robert suggests, get lustre version with more precise match.

16 years agob=17777
huanghua [Fri, 23 Jan 2009 17:09:51 +0000 (17:09 +0000)]
b=17777
i=grev
i=adilger
i=robert.read

test scripts improvement to enable interop testing between 1.8 and 2.0

16 years agob=18279
grev [Fri, 23 Jan 2009 13:55:43 +0000 (13:55 +0000)]
b=18279
i=Nathan
AT tests cleanup: run setup/cleanup only if AT tests run

16 years agodon't leak openhandle in ESTALE case.
shadow [Fri, 23 Jan 2009 13:32:34 +0000 (13:32 +0000)]
don't leak openhandle in ESTALE case.

Branch b_release_1_8_0
b=16417
i=green
i=johann
i=bobijam

16 years agoBranch b_release_1_8_0
tianzy [Fri, 23 Jan 2009 09:50:27 +0000 (09:50 +0000)]
Branch b_release_1_8_0
when there is any inactive ost, refuse to do quotacheck
b=18151
i=johann
i=andrew.perepechko

16 years agoBranch b_release_1_8_0
tianzy [Fri, 23 Jan 2009 06:21:14 +0000 (06:21 +0000)]
Branch b_release_1_8_0
fix the test issue of test_12 in sanity-quota.sh
b=18151
i=johann
i=panda

16 years agob=18173
girish [Thu, 22 Jan 2009 07:37:33 +0000 (07:37 +0000)]
b=18173
i=adilger
i=kalpak

If there is error during mount, MMP should error out correctly

16 years agob=16895
girish [Wed, 21 Jan 2009 18:38:51 +0000 (18:38 +0000)]
b=16895
i=adilger (o=johann)
i=girish

don't LASSERT on read-only device

16 years agoBranch b_release_1_8_0
huanghua [Wed, 21 Jan 2009 18:22:18 +0000 (18:22 +0000)]
Branch b_release_1_8_0
b=18267

i=yong.fan
i=rahul.deshmukh

pass default group value, that is 0,  to ost:
  this is for such interop: 1.8 client + 1.8 mds + 2.0 ost.

16 years agob=17310
yury [Wed, 21 Jan 2009 16:48:03 +0000 (16:48 +0000)]
b=17310
r=johann

- tmp fix for long connect rpc interpreyt which causes the assert

16 years agoBranch b_release_1_8_0
tianzy [Wed, 21 Jan 2009 02:56:48 +0000 (02:56 +0000)]
Branch b_release_1_8_0
take refcount of export when quotacheck is going on
b=18126
i=shadow
i=panda

16 years agoalways handle mds connect as reconnect.
shadow [Tue, 20 Jan 2009 12:08:22 +0000 (12:08 +0000)]
always handle mds connect as reconnect.

Branch b_release_1_8_0
b=18224
i=johhan
i=green
i=adilger
i=wangdi

16 years agodon't confuse mds_finish_transno() with PTR_ERR(-ENOENT)
shadow [Tue, 20 Jan 2009 09:02:21 +0000 (09:02 +0000)]
don't confuse mds_finish_transno() with PTR_ERR(-ENOENT)

Branch b_release_1_8_0
b=18238
i=green
i=umka

16 years agob=17942
kalpak [Tue, 20 Jan 2009 04:43:58 +0000 (04:43 +0000)]
b=17942
i=adilger
i=girish

update fiemap structures and API to match upstream

16 years agorelease lock refernce only after add page to pages list.
shadow [Mon, 19 Jan 2009 21:21:30 +0000 (21:21 +0000)]
release lock refernce only after add page to pages list.

Branch b_release_1_8_0
b=17972
i=shadow
i=johann

16 years agob=17787
zhanghc [Tue, 13 Jan 2009 23:54:06 +0000 (23:54 +0000)]
b=17787

1, print the actual time to wait for
   lock cancellation in "waiting_locks_callback"

2, compare resource in "ost_rw_hpreq_lock_match"

3, replace "LDLM_ERROR" with "LDLM_WARN" if a lock
   is completed after waiting more than obd_timeout

i=vitaly.fertman
i=johann

16 years ago- replace assert with cwarn when gap is found in objids. This is allowed
tappro [Tue, 13 Jan 2009 07:21:42 +0000 (07:21 +0000)]
- replace assert with cwarn when gap is found in objids. This is allowed
situation due to inode reuse
b:18168
i:adilger, shadow

16 years agowait until mds<>ost connect finished.
shadow [Sun, 11 Jan 2009 08:29:34 +0000 (08:29 +0000)]
wait until mds<>ost connect finished.
Branch b_release_1_8_0
b=18150
i=grev

16 years agoresolve compile issue after 16919 landing.
shadow [Sun, 11 Jan 2009 07:16:58 +0000 (07:16 +0000)]
resolve compile issue after 16919 landing.
b=16919
Branch b_release_1_8_0

16 years agob=18016
green [Sat, 10 Jan 2009 06:45:17 +0000 (06:45 +0000)]
b=18016
r=deen,wangdi

page index type in ll_read_ahead_page should be pgoff_t, not int

16 years agob=18114
yury [Fri, 9 Jan 2009 12:29:36 +0000 (12:29 +0000)]
b=18114
r=umka,bzzz

- patch from shadow to fix use after free in lov_cleanup()

16 years agob=16919
green [Fri, 9 Jan 2009 04:35:08 +0000 (04:35 +0000)]
b=16919
r=adilger,shadow

Implement replay of bulk write RPCs, allow servers to reply to write RPCs before
all the metadata was finally committed to disk

16 years agob=17694
vs [Wed, 7 Jan 2009 23:47:40 +0000 (23:47 +0000)]
b=17694
i=adilger

run the test in separate directory

16 years ago- clear abort_recovery flag in target_recovery_check_and_stop()
tappro [Tue, 6 Jan 2009 07:27:25 +0000 (07:27 +0000)]
- clear abort_recovery flag in target_recovery_check_and_stop()
- evict delay_list in class_handle_stale_exports() also if no delayed recovery
b:18148
i:bzzz, shadow

16 years agoBranch: b_release_1_8_0
wangdi [Tue, 6 Jan 2009 01:39:10 +0000 (01:39 +0000)]
Branch: b_release_1_8_0
remove test 160 for bug16117

16 years agob=18080
yury [Mon, 5 Jan 2009 20:04:28 +0000 (20:04 +0000)]
b=18080
- synchronize test with HEAD version and rename it to test_35 (just like in HEAD);

- OBD_RACE in all execution branches in ldlm_lock_decref_internal() to balance OBD_RACE in bl_ast
and prevent hanging.

16 years agoBranch: b_release_1_8_0
wangdi [Sat, 3 Jan 2009 02:00:32 +0000 (02:00 +0000)]
Branch: b_release_1_8_0
b=16117
The patch from Andreas to handle the corrupt debug log nicely for lctl df.
i=adilger,wangdi

16 years agob=18127
yury [Wed, 31 Dec 2008 16:16:40 +0000 (16:16 +0000)]
b=18127
- reformat after test 46a which uses 6 OST

16 years agob=17797
grev [Tue, 30 Dec 2008 12:16:07 +0000 (12:16 +0000)]
b=17797
i=H.Huang
test_57b remote mds fix

16 years agoUpdated version for the 1.8.0 release candidate.
stinson1947 [Mon, 29 Dec 2008 15:53:21 +0000 (15:53 +0000)]
Updated version for the 1.8.0 release candidate.

16 years agosend ACTIVATE event only if connect finished and import have state FULL.
shadow [Mon, 29 Dec 2008 08:39:45 +0000 (08:39 +0000)]
send ACTIVATE event only if connect finished and import have state FULL.

Branch b_release_1_8_0
i=addilger
i=tappro
i=green

16 years agoBranch b_release_1_8_0
tianzy [Mon, 29 Dec 2008 07:19:09 +0000 (07:19 +0000)]
Branch b_release_1_8_0
fix test problems in test_18 of sanity-quota.sh
b=17985
i=shadow

16 years ago- move extra functionality from interrupt handler function
tappro [Thu, 25 Dec 2008 07:10:42 +0000 (07:10 +0000)]
- move extra functionality from interrupt handler function
b:18103
i:adilger, bzzz

16 years agochecking maximal acl size before set.
shadow [Wed, 24 Dec 2008 21:13:39 +0000 (21:13 +0000)]
checking maximal acl size before set.

Branch b_release_1_8_0
b=17636
i=johann
i=deen

16 years agob=18083
anserper [Wed, 24 Dec 2008 17:34:18 +0000 (17:34 +0000)]
b=18083
i=Yong Fan
i=Andrew Perepechko

Enforce op. quota file format for MDS too

16 years agor=shadow
yury [Wed, 24 Dec 2008 13:02:56 +0000 (13:02 +0000)]
r=shadow
  - check for OBD_FAIL_OBD_LLOG_SETUP fail_loc regardless ->lop_setup definition. This is required because
  after changes in mds_ost llog setup, which is now done on behalf of separate thread, we need to make
  llog_setup() fail in context of mds start thread to make the test actualy work. And those llogs which
  get initialized in mds start thread do not have ->lop_setup defined.

16 years agob=17757
zhanghc [Wed, 24 Dec 2008 11:54:58 +0000 (11:54 +0000)]
b=17757

remove redundant code in previous patch

i=tappro

16 years agob=18043
zhanghc [Wed, 24 Dec 2008 11:06:02 +0000 (11:06 +0000)]
b=18043

fix a bug in lov_ost_pool_extend, which
use "min" instead of "max" incorrectly

i=nathan.rutman
i=jc.lafoucriere

16 years ago- keep request in export replay queue until it is processed to prevent resent
tappro [Wed, 24 Dec 2008 09:27:47 +0000 (09:27 +0000)]
- keep request in export replay queue until it is processed to prevent resent
for same request to be added in recovery queue again
b:18031
i:adilger, rread

16 years agob=17839
grev [Tue, 23 Dec 2008 23:10:18 +0000 (23:10 +0000)]
b=17839
i=Brian
remote rundbench run fix

16 years agob=17589
grev [Tue, 23 Dec 2008 16:19:23 +0000 (16:19 +0000)]
b=17589
i=Nathan.Rutman
i=Robert.Read
zconf_umount_client{s} fix: kill ps-s before force umount

16 years agoBranch: b_release_1_8_0
wangdi [Tue, 23 Dec 2008 15:56:03 +0000 (15:56 +0000)]
Branch: b_release_1_8_0
b=16117
add test script for b16117
i=adilger,johann

16 years agob=18080
yury [Tue, 23 Dec 2008 12:41:16 +0000 (12:41 +0000)]
b=18080
  r=shadow

  - handle possible hangup while waiting for dd processes;
  - write concurrently in smaller steps so probablity of bl_ast is higher.

16 years agoBranch b_release_1_8_0
bobijam [Tue, 23 Dec 2008 05:59:44 +0000 (05:59 +0000)]
Branch b_release_1_8_0
b=18049
o=johann
i=adilger
i=zhenyu.xu (bobijam)

Descriptoin: aborting recovery hang on MDS
Details    : don't throttle destroy RPCs for the MDT.

16 years agoBranch b_release_1_8_0
adilger [Mon, 22 Dec 2008 20:26:59 +0000 (20:26 +0000)]
Branch b_release_1_8_0
Add potential release date for 1.8.0 instead of leaving as TBD.

16 years agob=17757
zhanghc [Mon, 22 Dec 2008 16:06:16 +0000 (16:06 +0000)]
b=17757

restore "open lock" in reconstruct_open
in case MDS_OPEN_LOCK is set

i=Green
i=Johann

16 years ago- replace CWARN with CDEBUG
yury [Mon, 22 Dec 2008 09:06:00 +0000 (09:06 +0000)]
- replace CWARN with CDEBUG

16 years agoBranch b1_8
adilger [Fri, 19 Dec 2008 18:03:05 +0000 (18:03 +0000)]
Branch b1_8
Use "lfs pool_list" instead of "poollist", to match all of the other commands
like "lctl pool_list" and "lctl pool_*" that have underscores.
b=18079
i=johann

16 years agoBranch b_release_1_8_0
zam [Fri, 19 Dec 2008 12:03:11 +0000 (12:03 +0000)]
Branch b_release_1_8_0
b=17688
i=oleg.drokin
i=alexey.lyashkov

A lockless truncate fix, to prevent excessive lock pingpong on multistipe
files.

16 years agoClear dev_rdonly flag for external journal devices (Andreas)
girish [Thu, 18 Dec 2008 07:08:19 +0000 (07:08 +0000)]
Clear dev_rdonly flag for external journal devices (Andreas)
b=18018
i=johann
i=girish

16 years agoBranch b_release_1_8_0
yangsheng [Thu, 18 Dec 2008 06:15:42 +0000 (06:15 +0000)]
Branch b_release_1_8_0
b=17993
i=sheng.yang, johann

Author: Jim Garlick(LLNL)
Clear rq_rep_swab_mask before DEBUG_REQ;