Whamcloud - gitweb
fs/lustre-release.git
11 years agob=14132
maxim [Tue, 3 Feb 2009 13:43:21 +0000 (13:43 +0000)]
b=14132
i=isaac
acceptor.c cleanup:
 - removed code duplication in acceptor.c for the cases of kernel
   and user-space code
 - uniformed user-space libcfs tcpip primitives to have prototypes
   similar to kernel ones
 - removed parse_int_tunable() from libcfs to lnet because it's not
   generic enough to reside in libcfs
 - untabified and removed trailing spaces in files touched
 - minor cosmetic changes in usocklnd becasue now a socket is
   represented with cfs_socket_t structure and should be released
   properly (just close(fd) is not ehough).

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

11 years agoBranch HEAD
fanyong [Tue, 3 Feb 2009 02:10:04 +0000 (02:10 +0000)]
Branch HEAD
b=18135
i=tianzy
i=andrew.perepechko

Wake up all wait threads on the "lq_waitq" when "lqc_import" is invalid.

11 years agoImplement ll_glimpse_ioctl() in HEAD client.
nikita [Mon, 2 Feb 2009 19:49:38 +0000 (19:49 +0000)]
Implement ll_glimpse_ioctl() in HEAD client.
b=18040
i=adilger@sun.com
i=robert.read@sun.com

11 years agodon't call obd_disconnect under lov_lock.
shadow [Mon, 2 Feb 2009 17:30:44 +0000 (17:30 +0000)]
don't call obd_disconnect under lov_lock.
Branch HEAD
b=17310
i=johann
i=rread

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

11 years agob=17895
kalpak [Mon, 2 Feb 2009 08:50:37 +0000 (08:50 +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.

11 years agob=17895
kalpak [Mon, 2 Feb 2009 07:17:42 +0000 (07:17 +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.

11 years agob=11245,i=liangzhen:
isaac [Sun, 1 Feb 2009 20:53:27 +0000 (20:53 +0000)]
b=11245,i=liangzhen:
- IB path MTU mistakenly set to 1st path MTU when ib_mtu is off.

11 years agob=17807
vs [Sat, 31 Jan 2009 14:36:51 +0000 (14:36 +0000)]
b=17807
i=nikita
i=huanghua

ll_revalidate_nd: do not return 0 in case of error

11 years agoBranch HEAD
adilger [Fri, 30 Jan 2009 21:05:43 +0000 (21:05 +0000)]
Branch HEAD
Change incorrect error message about file join.

11 years agobranch: HEAD
ericm [Fri, 30 Jan 2009 17:35:56 +0000 (17:35 +0000)]
branch: HEAD
rewrite the bulk i/o security, use same gssapi as on rpc data instead of
invent our own mechanism.
b=16830
r=fanyong
r=vitaly

11 years agoupdated version for the nex 2.0 bi-weekly build
stinson1947 [Fri, 30 Jan 2009 02:34:11 +0000 (02:34 +0000)]
updated version for the nex 2.0 bi-weekly build

11 years agofix obsolete module name.
nikita [Thu, 29 Jan 2009 20:01:59 +0000 (20:01 +0000)]
fix obsolete module name.

11 years agob=15984, i=maxim:
isaac [Thu, 29 Jan 2009 15:23:34 +0000 (15:23 +0000)]
b=15984, i=maxim:
-  uptllnd credit overflow fix.

11 years agoBranch HEAD
huanghua [Thu, 29 Jan 2009 09:30:45 +0000 (09:30 +0000)]
Branch HEAD
b=18318
i=rahul
i=pravin

shrink close reply in resend case.

11 years agob=18165
pravins [Thu, 29 Jan 2009 09:03:37 +0000 (09:03 +0000)]
b=18165
i=rahul
i=huanghua

fix mem leak by releasing readdir private data calling f_op release().

11 years agofix typo
shadow [Wed, 28 Jan 2009 09:40:51 +0000 (09:40 +0000)]
fix typo

11 years agodon't lose wakeup fro imp_recovery_waitq
shadow [Wed, 28 Jan 2009 09:20:21 +0000 (09:20 +0000)]
don't lose wakeup fro imp_recovery_waitq

Branch HEAD
b=18154
i=nathan
i=rread

11 years agofix a typo and an obsolete name in documentation.
nikita [Tue, 27 Jan 2009 21:40:01 +0000 (21:40 +0000)]
fix a typo and an obsolete name in documentation.

11 years ago- added comment about LDLM_FL_* flags at Adilger's request.
yury [Tue, 27 Jan 2009 14:22:47 +0000 (14:22 +0000)]
- added comment about LDLM_FL_* flags at Adilger's request.

11 years ago b=17282
yury [Tue, 27 Jan 2009 14:07:07 +0000 (14:07 +0000)]
 b=17282
 r=johann,shadow

 - simplifies a lot lru resize memory presssure handling. No estimation pass is needed right now as it was too CPU consuming.

11 years ago- add b_hd_transapi support to buildcvs
alex [Tue, 27 Jan 2009 13:06:36 +0000 (13:06 +0000)]
- add b_hd_transapi support to buildcvs

11 years agoBranch HEAD
adilger [Tue, 27 Jan 2009 11:17:02 +0000 (11:17 +0000)]
Branch HEAD
Update ChangeLog to match b_release_1_6_7.
Update the ldiskfs build version for next release.

11 years agoBranch b_release_1_8_0
adilger [Mon, 26 Jan 2009 00:29:21 +0000 (00:29 +0000)]
Branch b_release_1_8_0
Minor ChangeLog updates.

11 years agoBranch HEAD
yangsheng [Sat, 24 Jan 2009 17:49:51 +0000 (17:49 +0000)]
Branch HEAD
b=18091
i=adilger, tappro

Clean up IOC_{INIT, PACK, UNPACK} macros.

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

11 years agoBranch HEAD
adilger [Fri, 23 Jan 2009 19:20:17 +0000 (19:20 +0000)]
Branch HEAD
Don't print function name for DEBUG MARKER messages, it never changes.

11 years agoBranch HEAD
yangsheng [Fri, 23 Jan 2009 17:39:33 +0000 (17:39 +0000)]
Branch HEAD
b=17464

Fixed previous commit.

11 years agob=15524
girish [Fri, 23 Jan 2009 16:27:58 +0000 (16:27 +0000)]
b=15524
i=huanghua
i=kalpak

fix test 102f

11 years agoworkaround for leak space in ESTALE case.
shadow [Fri, 23 Jan 2009 14:22:55 +0000 (14:22 +0000)]
workaround for leak space in ESTALE case.
Branch HEAD

11 years agob=18279
grev [Fri, 23 Jan 2009 14:06:50 +0000 (14:06 +0000)]
b=18279
i=Nathan
AT tests cleanup: run setup/cleanup only if AT tests run

11 years agoBranch HEAD
yangsheng [Fri, 23 Jan 2009 13:24:30 +0000 (13:24 +0000)]
Branch HEAD
b=17464
i=johann, bobijam

Swab lov_mds_md when ioctl() call by liblustre.

11 years agob=17508
jxiong [Fri, 23 Jan 2009 10:01:55 +0000 (10:01 +0000)]
b=17508
r=huanghua,nikita

Fixed a minior issue about mdc device.
Now (mds) mdc device is not really stacked into mdt device family, so
mdc_type_init is not called at all. The hot fix is to call it in cmm_mod_init.

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

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

11 years agoBranch HEAD
vitaly [Thu, 22 Jan 2009 19:43:54 +0000 (19:43 +0000)]
Branch HEAD
b=17748
i=grev
i=adilger

sanityN test fix

11 years agob=17194
yury [Thu, 22 Jan 2009 13:09:15 +0000 (13:09 +0000)]
b=17194
- HEAD version of both patches in this one.

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

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

11 years agoFixed the memory leak cause by the typo
deshmukh [Thu, 22 Jan 2009 04:33:47 +0000 (04:33 +0000)]
Fixed the memory leak cause by the typo
b=18288
i=huanghua
i=jxiong

11 years agoUpdated for the next bi-weekly build of 2.0
stinson1947 [Wed, 21 Jan 2009 21:51:26 +0000 (21:51 +0000)]
Updated for the next bi-weekly build of 2.0

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

don't LASSERT on read-only device

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

- tmp fix for long connect rpc interpret causing the assert

11 years agoBranch HEAD
huanghua [Wed, 21 Jan 2009 11:43:31 +0000 (11:43 +0000)]
Branch HEAD
b=18267
i=yong.fan
i=rahul.deshmukh
i=adilger

handle different set_info protocol: in interop mode, val might be NULL.

11 years agob=18291
girish [Wed, 21 Jan 2009 11:17:58 +0000 (11:17 +0000)]
b=18291
i=deen

Fix typo from commit of bug 17953

11 years agoBranch HEAD
liangzhen [Wed, 21 Jan 2009 07:59:32 +0000 (07:59 +0000)]
Branch HEAD

Lost comma in new added sysctl table

11 years agoBranch HEAD
fanyong [Wed, 21 Jan 2009 03:04:46 +0000 (03:04 +0000)]
Branch HEAD
b=15691
i=huanghua
i=yep

Another diagnostic patch to collect more log when error.

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

11 years agoFor extent locks (that are `asynchronous', that is, enqueued through ptlrpcd)
nikita [Tue, 20 Jan 2009 20:06:45 +0000 (20:06 +0000)]
For extent locks (that are `asynchronous', that is, enqueued through ptlrpcd)
CLIO checks lock->l_granted_mode and accesses lock->l_lvb_data in its
completion AST and in the lock reply upcall (called from
osc_enqueue_fini()). As such things were never done in the pre-existing code,
execution of completion AST and reply upcall is not serialized.

Take lock and resource spin-locks manually to avoid races.

b=17927
i=oleg.drokin@sun.com
i=h.huang@sun.com

11 years agofix a typo
nikita [Tue, 20 Jan 2009 20:03:28 +0000 (20:03 +0000)]
fix a typo

11 years agoBranch HEAD
adilger [Tue, 20 Jan 2009 16:12:45 +0000 (16:12 +0000)]
Branch HEAD
Fix ll_opc2str() due to new DQACQ opcode number change.
i=h.huang (original patch)
i=yong.fan

11 years agomake fast reconnect for mds failover from different nid also.
shadow [Tue, 20 Jan 2009 13:11:56 +0000 (13:11 +0000)]
make fast reconnect for mds failover from different nid also.
Branch HEAD
b=18224

11 years agoBranch HEAD
yangsheng [Tue, 20 Jan 2009 05:56:23 +0000 (05:56 +0000)]
Branch HEAD
b=18056
i=adilger, tappro

Fix warnings during automake-1.9.
Author: Jim Garlick(LLNL)

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

update FIEMAP structures and API to match upstream

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

update fiemap structures and API to match upstream

11 years agob=5498
jxiong [Tue, 20 Jan 2009 04:30:21 +0000 (04:30 +0000)]
b=5498
r=nikita,adilger

Porting lloop driver to HEAD, and add a new test to verify the basic function of
lloop driver in sanity

11 years agoBranch HEAD
fanyong [Tue, 20 Jan 2009 01:33:29 +0000 (01:33 +0000)]
Branch HEAD
b=18182
i=tianzy
i=panda

Set stripe count as 1 and stripte index as 0 to make sure the file is created on first ost.

11 years agoBranch HEAD
adilger [Tue, 20 Jan 2009 00:20:21 +0000 (00:20 +0000)]
Branch HEAD
Fix a serious interoperability problem between quotas on HEAD and b1_x,
becuase the quota request messages had been assigned different message
numbers due to "conflict" with FLD_QUERY RPCs.  Since FLD_QUERY does
not exist in any released Lustre, that RPC message number was changed
instead and the DQACQ and DQREL RPCs now match b1_x.

This was made obvious by comparing the lustre_idl.h files between b1_8
and HEAD, so this patch also includes the (otherwise cosmetic) changes
to lustre_idl.h to make it match with b1_8.
b=17800

11 years agoBranch HEAD
johann [Mon, 19 Jan 2009 12:36:03 +0000 (12:36 +0000)]
Branch HEAD
b=18044
i=bobijam
i=vitaly

copy DISCARD_DATA flag if cp ast includes bl ast.

11 years agoBranch HEAD
liangzhen [Mon, 19 Jan 2009 08:57:06 +0000 (08:57 +0000)]
Branch HEAD

Socklnd protocol V3:
. dedicated connection for emergency message (ZC-ACK)
. keepalive ping

b=14634
i=isaac
i=maxim

11 years agoBranch HEAD
yangsheng [Thu, 15 Jan 2009 02:39:41 +0000 (02:39 +0000)]
Branch HEAD
b=17153
i=adilger, tappro

Remove 2.4 compatibility from HEAD.

11 years agowait until mds<>ost connected.
shadow [Sun, 11 Jan 2009 08:24:27 +0000 (08:24 +0000)]
wait until mds<>ost connected.
Branch HEAD
b=18150
i=grev

11 years agoBranch: HEAD
wangdi [Sat, 10 Jan 2009 08:45:14 +0000 (08:45 +0000)]
Branch: HEAD
fix journal handle problem.
b=13142
i=shadow,oleg

11 years agoChange sanity.sh to test "tar --xattr"
girish [Fri, 9 Jan 2009 18:06:42 +0000 (18:06 +0000)]
Change sanity.sh to test "tar --xattr"
b=15524
i=adilger
i=kalpak.shah

11 years agob=18114
yury [Fri, 9 Jan 2009 13:01:20 +0000 (13:01 +0000)]
b=18114
r=umka,bzzz

- patch from shadow which fixes use after free in lov_cleanup()

11 years agoBranch HEAD
fanyong [Fri, 9 Jan 2009 01:32:26 +0000 (01:32 +0000)]
Branch HEAD
b=18124
i=eric.mei
i=grev

Define "sec_cleanup" before use it.

11 years agoAdd configure option to allow repackaging of e2fsprogs as ldiskfsprogs. (by Jim Garlick)
girish [Thu, 8 Jan 2009 18:09:08 +0000 (18:09 +0000)]
Add configure option to allow repackaging of e2fsprogs as ldiskfsprogs. (by Jim Garlick)
b=17953
i=adilger
i=girish.shilamkar

11 years agoAdd configure option to allow repackaging of e2fsprogs as ldiskfsprogs. (by Jim Garlick)
girish [Thu, 8 Jan 2009 17:44:36 +0000 (17:44 +0000)]
Add configure option to allow repackaging of e2fsprogs as ldiskfsprogs. (by Jim Garlick)
b=17953
i=adilger
i=girish.shilamkar

11 years agoAdd configure option to allow repackaging of e2fsprogs as ldiskfsprogs. (By Jim Garlick)
girish [Thu, 8 Jan 2009 17:29:25 +0000 (17:29 +0000)]
Add configure option to allow repackaging of e2fsprogs as ldiskfsprogs. (By Jim Garlick)
b=17953
i=adilger
i=girish.shilamkar

11 years agoBranch HEAD
adilger [Thu, 8 Jan 2009 10:17:58 +0000 (10:17 +0000)]
Branch HEAD
Use __GFP_HIGHMEM so that the pages can use all of the available memory
on 32-bit machines.

b=17576
i=adilger (alex.zhuravlev original patch)
i=nikita

Use local "obd" variable in filter_preprw_write() instead of exp->exp_obd.

11 years agob=17694
vs [Thu, 8 Jan 2009 01:23:51 +0000 (01:23 +0000)]
b=17694
i=adilger

run the test in separate directory

11 years agoBranch HEAD
liangzhen [Wed, 7 Jan 2009 08:09:24 +0000 (08:09 +0000)]
Branch HEAD

lnet_parse_put() should re-match after lnet_eager_recv_locked()

b=17537
i=isaac
i=maxim

11 years agob=17710
zhanghc [Wed, 7 Jan 2009 08:07:04 +0000 (08:07 +0000)]
b=17710

uncommit the patch for further investigation

i=Andreas

11 years agoBranch HEAD
liangzhen [Wed, 7 Jan 2009 07:42:48 +0000 (07:42 +0000)]
Branch HEAD

. Fix for hitting ASSERTION(tx->tx_queued) in o2iblnd
. Enable neterror by default

b=17780
i=isaac
i=maxim

11 years agob=18108
pravins [Tue, 6 Jan 2009 18:14:49 +0000 (18:14 +0000)]
b=18108
i=huanghua
i=nathan

fix fid_pack() according to new seq allocation.

11 years agob=18068
pravins [Tue, 6 Jan 2009 17:58:25 +0000 (17:58 +0000)]
b=18068
i=umka
i=huanghua

update fld on every meta sequence replay.

11 years agoBranch HEAD
tianzy [Tue, 6 Jan 2009 04:23:41 +0000 (04:23 +0000)]
Branch HEAD
Additional patch for HEAD
b=16542
i=yong.fan

11 years agoBranch HEAD
tianzy [Tue, 6 Jan 2009 04:17:14 +0000 (04:17 +0000)]
Branch HEAD
Enforce op. quota file format for MDS too
b=18083
i=Yong Fan

11 years agoBranch HEAD
adilger [Tue, 6 Jan 2009 03:35:07 +0000 (03:35 +0000)]
Branch HEAD
Remove obsolete test script.

11 years agob=18080
yury [Mon, 5 Jan 2009 20:45:10 +0000 (20:45 +0000)]
b=18080
- fixes in test 35;

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

11 years agob=18127
yury [Wed, 31 Dec 2008 16:21:06 +0000 (16:21 +0000)]
b=18127
- reformat after test 46a

11 years agob=17797
grev [Tue, 30 Dec 2008 15:36:19 +0000 (15:36 +0000)]
b=17797
i=H.Huang
test_57b remote mds fix

11 years agob=17710
zhanghc [Tue, 30 Dec 2008 06:48:40 +0000 (06:48 +0000)]
b=17710

add "sys.ldlm_timeout" as an option to the
MKFS.LUSTRE for setting "ldlm_timeout"

i=Johann
i=Nathan.Rutman

11 years agoBranch HEAD
fanyong [Tue, 30 Dec 2008 06:17:46 +0000 (06:17 +0000)]
Branch HEAD
b=17916
i=Hongchao.zhang
i=pravin.shelar

Initialize "lcf_cache" for liblustre case.

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

11 years agorevert fix from bug 16417
shadow [Mon, 29 Dec 2008 06:18:15 +0000 (06:18 +0000)]
revert fix from bug 16417

11 years agoBranch HEAD
yangsheng [Sun, 28 Dec 2008 15:38:16 +0000 (15:38 +0000)]
Branch HEAD
b=17970
i=adilger, shadow

Update the wiretest.c

11 years agonow objid<2 is say 'this new ost' not zero objid.
shadow [Thu, 25 Dec 2008 06:30:22 +0000 (06:30 +0000)]
now objid<2 is say 'this new ost' not zero objid.

Branch HEAD
b=17890
i=umka

11 years agochecking maximal acl size before set.
shadow [Wed, 24 Dec 2008 21:41:57 +0000 (21:41 +0000)]
checking maximal acl size before set.

Branch HEAD
b=17636
i=umka
i=deen

11 years agob=18043
zhanghc [Wed, 24 Dec 2008 11:36:14 +0000 (11:36 +0000)]
b=18043

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

i=nathan.rutman
i=jc.lafoucriere

11 years agoBranch HEAD
fanyong [Wed, 24 Dec 2008 01:57:00 +0000 (01:57 +0000)]
Branch HEAD
b=18099
i=andrew.perepechko
i=tianzy

fix lfs quota output format to be compatible with b1_8

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

11 years agobranch: HEAD
ericm [Tue, 23 Dec 2008 18:24:11 +0000 (18:24 +0000)]
branch: HEAD
set default mgc-mgs flavor for liblustre.
b=17916
r=fanyong
r=zhanghc

11 years agoBranch HEAD
liangzhen [Tue, 23 Dec 2008 16:17:17 +0000 (16:17 +0000)]
Branch HEAD

Tag for performance tests

11 years agoBranch HEAD
yangsheng [Tue, 23 Dec 2008 16:08:48 +0000 (16:08 +0000)]
Branch HEAD
b=18061
i=johann, bobijam

Update kernel for SLES10 kernel-2.6.16.60-0.33.

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

11 years agoBranch HEAD
yangsheng [Tue, 23 Dec 2008 15:29:04 +0000 (15:29 +0000)]
Branch HEAD
b=18060
i=johann, bobijam

Update to RHEL5 kernel-2.6.18-92.1.22.el5.

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

11 years ago b=18080
yury [Tue, 23 Dec 2008 12:53:20 +0000 (12:53 +0000)]
 b=18080
 r=shadow

 - handle possible hangup while waiting for children processes in test_35;

11 years agoformat:
bobijam [Tue, 23 Dec 2008 07:15:31 +0000 (07:15 +0000)]
format:
* trim trailing white spaces
* \t -> ' ' * 8