Whamcloud - gitweb
fs/lustre-release.git
16 years agob=16776,16777
yury [Fri, 19 Sep 2008 11:03:16 +0000 (11:03 +0000)]
b=16776,16777
r=shadow,vitaly,adilger,robert

- new class_hash.c. Using new hashtable for connections, quota, held locks on mds, etc.

16 years agob=17110
yury [Fri, 19 Sep 2008 09:52:09 +0000 (09:52 +0000)]
b=17110
r=shadow,wangdi

- fixes wrong checking for obd_stopping in recov_thread which prevents reco_thread from sending llcds to
mds in disconnect time because obd_stopping is set before filter_disconnect() is called.

This causes issues like this:

LustreError: 6912:0:(filter.c:2446:filter_disconnect()) error flushing logs to MDS: rc -19

16 years agob=16799
grev [Thu, 18 Sep 2008 20:39:16 +0000 (20:39 +0000)]
b=16799
i=Adilger
cleanup_obdclass () fix; check_mem_leak t-f fn

16 years agoShow more info on assertion.
deen [Thu, 18 Sep 2008 16:26:35 +0000 (16:26 +0000)]
Show more info on assertion.

b=16206
i=deen
i=johann

16 years agob=15521
grev [Wed, 17 Sep 2008 22:02:06 +0000 (22:02 +0000)]
b=15521
i=Adilger
force test_127 to fail if no read|write bytes eq 0

16 years agob=14471
grev [Wed, 17 Sep 2008 15:41:33 +0000 (15:41 +0000)]
b=14471
i=Adilger
replace proc with lctl [set|get]_param

16 years agoBranch b1_6
yangsheng [Wed, 17 Sep 2008 14:16:30 +0000 (14:16 +0000)]
Branch b1_6
b=16593
i=johann, robert.read

Add mount retry option for liblustre.

16 years agoBranch b1_6
fanyong [Wed, 17 Sep 2008 02:10:09 +0000 (02:10 +0000)]
Branch b1_6
b=16303
i=nikita
i=johann

Remove old patch.

16 years agoBranch b1_6
fanyong [Wed, 17 Sep 2008 01:49:28 +0000 (01:49 +0000)]
Branch b1_6
b=16303
i=nikita
i=johann

Do not drop reference count for the dentry from VFS when lookup,
VFS will do that by itself.

16 years agoBranch: b1_6
wangdi [Tue, 16 Sep 2008 21:56:28 +0000 (21:56 +0000)]
Branch: b1_6
tab->space fixes

16 years agoBranch: b1_6
wangdi [Tue, 16 Sep 2008 21:40:47 +0000 (21:40 +0000)]
Branch: b1_6
add full plain log test case in llog_test
b=16717
i=Nathan,Umka

16 years agobe carefull about short read.
shadow [Tue, 16 Sep 2008 12:53:22 +0000 (12:53 +0000)]
be carefull about short read.
Branch b1_6
b=16679
i=tappro
i=umka

16 years agoBranch b1_6
johann [Tue, 16 Sep 2008 12:09:57 +0000 (12:09 +0000)]
Branch b1_6
b=17024
i=shadow
i=bobijam

Description: Lustre GPF in {:ptlrpc:ptlrpc_server_free_request+373}
Details    : In case of memory pressure, list_del() can be called twice on
     req->rq_history_list, causing a kernel oops.

16 years agoPut a parent dentry properly.
deen [Tue, 16 Sep 2008 09:50:42 +0000 (09:50 +0000)]
Put a parent dentry properly.

b=15574
i=johann
i=alexey.lyashkov

16 years agoBranch b1_6
yujian [Tue, 16 Sep 2008 07:54:18 +0000 (07:54 +0000)]
Branch b1_6
b=14095
i=nathan.rutman
i=brian

1) add lustre_start utility to start or stop multiple Lustre servers
   from a CSV file
2) fix the utility path issue in bug 14094
3) use 'error_output()' to format error messages
4) move common variables and functions to lc_common
5) fix the "lustre_config -h" issue in bug 14133
6) fix the module_opts issue in bug 14092
7) remove the duplicates from checking lnet connectivity to MGS node

16 years agoThis commit was manufactured by cvs2svn to create branch 'b1_6'.
cvs2svn [Tue, 16 Sep 2008 07:54:17 +0000 (07:54 +0000)]
This commit was manufactured by cvs2svn to create branch 'b1_6'.

16 years agoBranch b1_6
vitaly [Mon, 15 Sep 2008 18:45:28 +0000 (18:45 +0000)]
Branch b1_6
b=15949
i=adilger
i=shadow

mds_body.capability fix

16 years agoBranch b1_6
johann [Mon, 15 Sep 2008 11:56:19 +0000 (11:56 +0000)]
Branch b1_6
Branch b_release_1_6_6
b=16303
i=adilger
Description: Oops in statahead when CONFIG_SLUB is enabled
Details    : Disable statahead by default on systems with CONFIG_SLUB enabled,
             until such a time as problem is understood.

16 years agoBranch b1_6
tianzy [Thu, 11 Sep 2008 14:50:17 +0000 (14:50 +0000)]
Branch b1_6
This patch includes att18982, att18236, att18237,att18983 and att19061 in bz14840.
Slove "quota recovery deadlock during mds failover", it includes:
1. fix osts hang when mds does failover with quotaon
2. prevent watchdog storm when osts threads wait for the
   recovery of mds
b=14840
i=johann
i=shadow
i=panda

16 years ago- revert back 18957
tappro [Thu, 11 Sep 2008 06:58:42 +0000 (06:58 +0000)]
- revert back 18957

16 years ago- different deadline for AT during recovery
tappro [Wed, 10 Sep 2008 05:26:51 +0000 (05:26 +0000)]
- different deadline for AT during recovery
  b:16389
  i:nathan, rread

16 years agob=15899 (downgrade patch)
nathan [Wed, 10 Sep 2008 04:49:40 +0000 (04:49 +0000)]
b=15899 (downgrade patch)
i=nathan
i=adilger
add support for understanding pools-striped files in case of a downgrade
to this version

16 years agoBranch b1_6
bobijam [Wed, 10 Sep 2008 03:11:00 +0000 (03:11 +0000)]
Branch b1_6
b=17023
o=adilger
i=zhenyu.xu (bobijam)
i=johann

increment correct per-nid stats counter.

16 years agoBranch b1_8_gate
bobijam [Wed, 10 Sep 2008 02:59:34 +0000 (02:59 +0000)]
Branch b1_8_gate
b=16643
o=Herb Wartens (hwartens@llnl.gov)
i=adilger
i=johann

Description: Generic /proc file permissions
Details    : Set /Proc file permissions in a more generic way to enable non-
             root users operate on some /proc files.

16 years agoBranch b1_6
bobijam [Wed, 10 Sep 2008 01:56:34 +0000 (01:56 +0000)]
Branch b1_6
b=16561
o=oleg.drokin (green)
i=johann
i=zhenyu.xu (bobijam)

Description: Hitting mdc_commit_close() ASSERTION
Details    : Properly handle request reference release in
             ll_release_openhandle().

16 years agoFix the hunk failures.
girish [Tue, 9 Sep 2008 17:33:56 +0000 (17:33 +0000)]
Fix the hunk failures.

16 years agoBranch b1_6
yangsheng [Tue, 9 Sep 2008 15:43:12 +0000 (15:43 +0000)]
Branch b1_6
b=16949
i=yury, deen

Add labs(x) as a inline function because absent since 2.6.22.

16 years ago- avoid recovery timeout grow
tappro [Tue, 9 Sep 2008 14:04:22 +0000 (14:04 +0000)]
- avoid recovery timeout grow
  b:16389
  i:nathan,rread

16 years agoBranch b1_6
johann [Mon, 8 Sep 2008 22:30:02 +0000 (22:30 +0000)]
Branch b1_6
b=16260
i=tianzy
i=panda

The quota master must return EAGAIN to quota request until the config is
processed.

16 years agoBranch b1_6
johann [Mon, 8 Sep 2008 21:35:34 +0000 (21:35 +0000)]
Branch b1_6
b=16813
i=johann

Workaround build issue on craynv (its asm/pgtable.h includes mm.h causing
configure checks to fail)

16 years agoBranch b1_6
johann [Mon, 8 Sep 2008 21:34:39 +0000 (21:34 +0000)]
Branch b1_6
b=16813
i=johann
i=panda

restore the ability to pass LD= through autoconf since x2 requires an
alternate LD program (x2ld).

16 years agoBranch b1_6
johann [Mon, 8 Sep 2008 12:05:33 +0000 (12:05 +0000)]
Branch b1_6
b=16972
i=rread
i=nathan

ptlrpc_at_recv_early_reply() should not modify req->rq_repmsg
because it can be accessed by reply_in_callback() without the
rq_lock held.

16 years agoCombined patch for bug 16882.
deen [Mon, 8 Sep 2008 10:57:52 +0000 (10:57 +0000)]
Combined patch for bug 16882.

b=16882
i=adilger
i=nathan
i=he.huang

16 years agoadd workaround for race in dcache with patchless client.
shadow [Mon, 8 Sep 2008 08:57:42 +0000 (08:57 +0000)]
add workaround for race in dcache with patchless client.
Branch b1_6
b=15975
i=johann
i=adilger

16 years agoBranch b1_6
tianzy [Mon, 8 Sep 2008 06:51:34 +0000 (06:51 +0000)]
Branch b1_6
lfs lacks quota support if building with confiugre --disable-modules
b=16481
i=shadow
i=rread

16 years agoRevert the changes made for bug-fix (16526)
girish [Sat, 6 Sep 2008 11:45:11 +0000 (11:45 +0000)]
Revert the changes made for bug-fix (16526)

16 years agoBranch b1_6
bobijam [Sat, 6 Sep 2008 10:44:28 +0000 (10:44 +0000)]
Branch b1_6
b=16871
i=johann
i=adilger

instead of LASSERTing MDS, return an error when inode created is not what we expect.

16 years agoEnable journal checksum.
girish [Fri, 5 Sep 2008 19:30:33 +0000 (19:30 +0000)]
Enable journal checksum.

16 years agoBranch b1_6
adilger [Fri, 5 Sep 2008 17:30:08 +0000 (17:30 +0000)]
Branch b1_6
Fix file join to get right message buffer.
b=16658
i=tom.wang
i=adilger (oleg.drokin original patch)

16 years agofix paralel init for llog.
shadow [Fri, 5 Sep 2008 11:14:54 +0000 (11:14 +0000)]
fix paralel init for llog.
make llog more smp safe.
don't write big array into journal.
fix return codes in llog_put_cat_list/llog_get_cat_list.

Branch b1_6
b=16679
i=umka
i=adilger

16 years agoBranch b1_6
wangdi [Fri, 5 Sep 2008 07:45:15 +0000 (07:45 +0000)]
Branch b1_6
b=16717
fix lbug when conf llog is full
i=nathan,umka

16 years agoBranch b1_6
tianzy [Fri, 5 Sep 2008 06:41:09 +0000 (06:41 +0000)]
Branch b1_6
Lustre returns an EQUOTA error before hitting the block quota hardlimit
b=16948
i=johann
i=panda

16 years agoFix to pass correct flags.
girish [Thu, 4 Sep 2008 16:23:37 +0000 (16:23 +0000)]
Fix to pass correct flags.
b=16526
i=adilger
i=johann

16 years agoBranch b1_6
adilger [Thu, 4 Sep 2008 10:41:19 +0000 (10:41 +0000)]
Branch b1_6
Skip test 32b for remote OST.

16 years agoBranch b1_6
yangsheng [Thu, 4 Sep 2008 10:05:19 +0000 (10:05 +0000)]
Branch b1_6
b=16373
i=zhenyu.xu, shengyang

Search for ":/" instead of ":"

16 years agoBranch b1_6
yangsheng [Thu, 4 Sep 2008 09:59:45 +0000 (09:59 +0000)]
Branch b1_6
b=16875
i=Robert, johann

Use single quotes around devices when building debugfs commands.

16 years agoBranch b1_6
yangsheng [Thu, 4 Sep 2008 09:31:10 +0000 (09:31 +0000)]
Branch b1_6
b=16770

Fix the typo.

16 years agoBranch b1_6
yangsheng [Thu, 4 Sep 2008 09:09:32 +0000 (09:09 +0000)]
Branch b1_6
b=16770
i=johann, adilger

Use struct stat in powerpc64 environment to avoid different member offset.

16 years agoBranch b1_6
tianzy [Thu, 4 Sep 2008 07:55:31 +0000 (07:55 +0000)]
Branch b1_6
sanity-quota test_23 failed with 7 OSTs
b=16948
i=johann
i=panda

16 years agoBranch b1_6
bobijam [Thu, 4 Sep 2008 07:12:06 +0000 (07:12 +0000)]
Branch b1_6
b=16561

roll back (cannot finish sanitN.sh)

16 years agoBranch b1_6
bobijam [Thu, 4 Sep 2008 02:56:26 +0000 (02:56 +0000)]
Branch b1_6
b=16907
o=Brian Behlendorf <behlendorf1@llnl.gov>
i=yury.umanets
i=robert.read

Description: Prevent import from entering FULL state when server in recovery

16 years agoBranch b1_6
bobijam [Thu, 4 Sep 2008 02:38:26 +0000 (02:38 +0000)]
Branch b1_6
b=16750
i=nathan.rutman
i=sheng.yang

Description: service mount cannot take device name with ":"
Details    : Only when device name contains ":/" will mount treat it as
             client mount.

16 years agoBranch b1_6
bobijam [Thu, 4 Sep 2008 02:23:29 +0000 (02:23 +0000)]
Branch b1_6
b=16561
i=Oleg Drokin (green)
i=johann

Description: Hitting mdc_commit_close() ASSERTION
Details    : Properly handle request reference release in
             ll_release_openhandle().

16 years agoBranch b1_6
adilger [Wed, 3 Sep 2008 19:29:15 +0000 (19:29 +0000)]
Branch b1_6
Quiet spurious ") 0: Success" messages from openfile in sanity.sh test 57b.

16 years agoBranch b1_6
adilger [Wed, 3 Sep 2008 19:25:28 +0000 (19:25 +0000)]
Branch b1_6
Fix up console message to print previous default stripe size.

16 years agoBranch b1_6
adilger [Wed, 3 Sep 2008 17:30:37 +0000 (17:30 +0000)]
Branch b1_6
Check for new-format "patchless_client" kernel version.
b=16516

16 years agoBranch b1_6
adilger [Wed, 3 Sep 2008 17:17:02 +0000 (17:17 +0000)]
Branch b1_6
Quiet spurious error about mdsrate not found.

16 years agob=16898
yury [Wed, 3 Sep 2008 10:22:30 +0000 (10:22 +0000)]
b=16898
r=shadow,wangdi

- stop recov thread before llog_cleanup() to release busy ctxt.

16 years agoBranch b1_6
yangsheng [Wed, 3 Sep 2008 10:09:49 +0000 (10:09 +0000)]
Branch b1_6
b=16771

Cleanup the unuse variable.

16 years agoBranch b1_6
yangsheng [Wed, 3 Sep 2008 09:12:00 +0000 (09:12 +0000)]
Branch b1_6
b=16580
i=johann, shadow

Fixed the build issue for sles9/ppc64.

16 years agoBranch b1_6
yangsheng [Wed, 3 Sep 2008 08:58:03 +0000 (08:58 +0000)]
Branch b1_6
b=<bug>
i=adilger, johann

Swab cfg_marker along with lcfg.

16 years agoBranch b1_6
adilger [Tue, 2 Sep 2008 23:37:12 +0000 (23:37 +0000)]
Branch b1_6
Remove use of printk() lustre core code.
b=16517
i=nikita
i=shadow (yury original patch)

16 years agoBranch b1_6
adilger [Tue, 2 Sep 2008 22:42:25 +0000 (22:42 +0000)]
Branch b1_6
Quiet compiler warnings about mismatched signed/unsigned comparisons.

16 years agoBranch b1_6
adilger [Tue, 2 Sep 2008 22:36:46 +0000 (22:36 +0000)]
Branch b1_6
Add compatibility function for llapi_file_fget_lov_uuid(), to match b1_8
and HEAD.

16 years agob=16890
anserper [Tue, 2 Sep 2008 21:15:09 +0000 (21:15 +0000)]
b=16890
i=Alexander Zarochentsev (alexander.zarochentsev@sun.com)
i=ZhiYong Tian (tianzy@sun.com)

fix HAVE_QUOTA_SUPPORT usage

16 years agob=14471
grev [Tue, 2 Sep 2008 20:39:23 +0000 (20:39 +0000)]
b=14471
i=Adilger
i=grev
replace proc with lctl [set|get]_param

16 years agob=16809
grev [Tue, 2 Sep 2008 19:08:42 +0000 (19:08 +0000)]
b=16809
i=Adilger
build mpitests only if --disable-mpitests is not set

16 years agob=13306
grev [Tue, 2 Sep 2008 18:33:46 +0000 (18:33 +0000)]
b=13306
i=Nathan.Rutman
ignore test_116 failure

16 years agoBranch b1_6
yangsheng [Tue, 2 Sep 2008 04:56:17 +0000 (04:56 +0000)]
Branch b1_6
b=16208
i=johann, adilger

Bring down the stack usage

16 years agoBranch b1_6
bobijam [Mon, 1 Sep 2008 01:46:21 +0000 (01:46 +0000)]
Branch b1_6
b=16570
i=robert.read, h.huang

Make MDS_SETXATTR request replayable.

16 years agoFix casting.
deen [Fri, 29 Aug 2008 13:20:44 +0000 (13:20 +0000)]
Fix casting.

b=16698
i=oleg.drokin
i=robert.read

16 years agorevert bug 16839
shadow [Fri, 29 Aug 2008 13:15:52 +0000 (13:15 +0000)]
revert bug 16839
Branch b1_6

16 years agoEnhance conf-sanity:test_33a to be able to catch up wrong md/easize failures.
deen [Fri, 29 Aug 2008 13:04:32 +0000 (13:04 +0000)]
Enhance conf-sanity:test_33a to be able to catch up wrong md/easize failures.

b=16678
i=nathan

16 years agob=16716
grev [Fri, 29 Aug 2008 12:18:38 +0000 (12:18 +0000)]
b=16716
i=Nathan.Rutman
restore the original at_max on all nodes

16 years agoBranch b1_6
tianzy [Fri, 29 Aug 2008 06:37:18 +0000 (06:37 +0000)]
Branch b1_6
invert printk to CERROR/CWARN in lustre_quota_fmt
b=16851
i=johann
i=panda

16 years agoBranch b1_6
anserper [Thu, 28 Aug 2008 14:18:04 +0000 (14:18 +0000)]
Branch b1_6
b=16676
i=Johann Lombardi (johann@sun.com)
i=Zhenyu Xu (zhenyu.xu@sun.com)

add inode locking around vfs-calling critical sections

16 years agoBranch b1_6
anserper [Thu, 28 Aug 2008 11:50:24 +0000 (11:50 +0000)]
Branch b1_6
b=16646
i=ZhiYong Tian(tianzy@sun.com)
i=Sergey Glushchenko(deen@sun.com)
i=Johann Lombardi(johann@sun.com)

lfs to put * when a limit is reached

16 years agoBranch b1_6
yangsheng [Thu, 28 Aug 2008 05:36:59 +0000 (05:36 +0000)]
Branch b1_6
b=16758
i=shadow, adilger, johann

Fixed the endian problem for PPC64 patchless client.

16 years agob=16209
grev [Wed, 27 Aug 2008 19:33:22 +0000 (19:33 +0000)]
b=16209
i=Adilger
i=Robert.Read
test_14 fix: use multiop instead of exec

16 years agob=16209
grev [Wed, 27 Aug 2008 18:52:16 +0000 (18:52 +0000)]
b=16209
i=Robert.Read
o=Brian.Behlendorf
test_27b fix: check mount

16 years agob=16248
grev [Wed, 27 Aug 2008 17:23:21 +0000 (17:23 +0000)]
b=16248
i=Adilger
increase MINRES to 2^32 -1

16 years agoHandle FLCOOKIE and FLHANDLE flags properly in obdo_cpy_md().
deen [Wed, 27 Aug 2008 15:34:36 +0000 (15:34 +0000)]
Handle FLCOOKIE and FLHANDLE flags properly in obdo_cpy_md().

i=shadow
i=johann
b=15198

16 years agob=16798
grev [Wed, 27 Aug 2008 10:49:01 +0000 (10:49 +0000)]
b=16798
i=Adilger
runbench fix: skip if dbench or client are not found
t-f skip fn fix: do not fail if TESTSUITELOG is not found;
log fn: escape /

16 years agob=16789
kalpak [Wed, 27 Aug 2008 06:37:30 +0000 (06:37 +0000)]
b=16789
i=adilger
i=johann

correction in fiemap macros in wirecheck and other fixes to wirecheck

16 years agoif ost is restarted before set_info(KEY_MDS_CONN) finished, this
shadow [Wed, 27 Aug 2008 05:18:48 +0000 (05:18 +0000)]
if ost is restarted before set_info(KEY_MDS_CONN) finished, this
request will resend before finished ost llog init and this produce
access to non init llog context.

Branch b1_6
b=16839
i=adilger
i=rread

16 years agob=16854
grev [Tue, 26 Aug 2008 18:03:44 +0000 (18:03 +0000)]
b=16854
tests 20c, 32, 37 fixes: let pid to be killed

16 years agob=16808
grev [Tue, 26 Aug 2008 13:26:32 +0000 (13:26 +0000)]
b=16808
remote command fix for previous commit

16 years agob=16098
kalpak [Tue, 26 Aug 2008 04:53:15 +0000 (04:53 +0000)]
b=16098
i=hua.huang

add a special LICENSE file for Cray

16 years agob=14471
grev [Mon, 25 Aug 2008 18:12:01 +0000 (18:12 +0000)]
b=14471
i=Adilger
test_101 fix

16 years agob=16808
grev [Mon, 25 Aug 2008 12:46:03 +0000 (12:46 +0000)]
b=16808
i=Adilger
check CATASTROPHE on all nodes

16 years agob=16548
grev [Mon, 25 Aug 2008 11:22:40 +0000 (11:22 +0000)]
b=16548
i=Adilger
make oos.sh to be verbose; get rid of proc

16 years ago- make dist fixes.
yury [Mon, 25 Aug 2008 08:40:04 +0000 (08:40 +0000)]
- make dist fixes.

16 years agoForce OBD_NOTIFY_ACTIVE and OBD_NOTIFY_SYNC events to send
shadow [Mon, 25 Aug 2008 05:56:15 +0000 (05:56 +0000)]
Force OBD_NOTIFY_ACTIVE and OBD_NOTIFY_SYNC events to send
index of lov target as data parameter.

Branch b1_6
b=16826
i=adilger
i=green

16 years agob=14608
yury [Sun, 24 Aug 2008 14:05:52 +0000 (14:05 +0000)]
b=14608
r=shadow,wangdi

- new recov_thread.c code;
- cleanups, fixes

16 years agoBranch b1_6
adilger [Sun, 24 Aug 2008 06:00:37 +0000 (06:00 +0000)]
Branch b1_6
Ignore generated file.

16 years agoBranch b1_6
adilger [Sat, 23 Aug 2008 04:39:23 +0000 (04:39 +0000)]
Branch b1_6
Don't print console message the first time the import is set.

16 years agonot send lmm in replay to client this avoid problems with reply size in case
shadow [Fri, 22 Aug 2008 05:01:00 +0000 (05:01 +0000)]
not send lmm in replay to client this avoid problems with reply size in case
ost count is different between original processing and replay.
not count ost twice in case ost connected before recovery finished.

Branch b_1_6
b=16736
i=tappro
i=green

16 years agob=16811
grev [Thu, 21 Aug 2008 17:11:20 +0000 (17:11 +0000)]
b=16811
i=Tappro
test_34 fix: let pid to be killed

16 years agoBranch b1_6
yangsheng [Thu, 21 Aug 2008 14:57:25 +0000 (14:57 +0000)]
Branch b1_6
b=16156
i=shadow, zhenyu.xu

Use patchless_client instead patchless to avoid misunderstanding.

16 years agob=15747
grev [Thu, 21 Aug 2008 08:41:22 +0000 (08:41 +0000)]
b=15747
i=Tappro
test_24 and t-f client_reconnect fn fix