Whamcloud - gitweb
fs/lustre-release.git
18 years ago- uncomment clanup in sanity.sh
yury [Thu, 5 Oct 2006 12:53:35 +0000 (12:53 +0000)]
- uncomment clanup in sanity.sh

18 years ago- in fid_lock() do not pass LDLM_FL_LOCAL_ONLY to ldlm_cli_enqueue_local(), it is...
yury [Thu, 5 Oct 2006 11:56:02 +0000 (11:56 +0000)]
- in fid_lock() do not pass LDLM_FL_LOCAL_ONLY to ldlm_cli_enqueue_local(), it is set anyway in that function;
- in sanity-lmv added correct cleanup stage.

18 years agoBranch b_new_cmd
vitaly [Thu, 5 Oct 2006 11:33:00 +0000 (11:33 +0000)]
Branch b_new_cmd

several size-on-mds related bug fixed

18 years agoThis bug will cause lmv_intent_lookup assert.
fanyong [Thu, 5 Oct 2006 04:24:38 +0000 (04:24 +0000)]
This bug will cause lmv_intent_lookup assert.

18 years ago- enable frame pointer in linux kernel configs
tappro [Wed, 4 Oct 2006 18:37:57 +0000 (18:37 +0000)]
- enable frame pointer in linux kernel configs

18 years agoBranch: b_new_cmd
wangdi [Wed, 4 Oct 2006 17:13:46 +0000 (17:13 +0000)]
Branch: b_new_cmd
update mea hash method to in accordance with ext3 hash method

18 years agoBranch: b_new_cmd
wangdi [Wed, 4 Oct 2006 17:09:47 +0000 (17:09 +0000)]
Branch: b_new_cmd
reset . and .. namehash for not distributing them in split

18 years agoBranch: b_new_cmd
wangdi [Wed, 4 Oct 2006 14:16:09 +0000 (14:16 +0000)]
Branch: b_new_cmd
oops, just miss a file in the last commit

18 years ago- fixed typo in prev. commit.
yury [Wed, 4 Oct 2006 13:17:01 +0000 (13:17 +0000)]
- fixed typo in prev. commit.

18 years ago- fix error handling in lov_llog_origin_add() (-ENOSPC is possible);
yury [Wed, 4 Oct 2006 12:39:19 +0000 (12:39 +0000)]
- fix error handling in lov_llog_origin_add() (-ENOSPC is possible);
- small cleanups.

18 years agoBranch: b_new_cmd
wangdi [Wed, 4 Oct 2006 12:15:23 +0000 (12:15 +0000)]
Branch: b_new_cmd
1)set max md/cookie size for mdc of cmm
2)fix unlink group log problem
3)some other fixes

18 years agoext3-orphans-delay.patch: remove whitespace damage
nikita [Wed, 4 Oct 2006 12:14:57 +0000 (12:14 +0000)]
ext3-orphans-delay.patch: remove whitespace damage

18 years agoext3_handle_error(): add sump_stack() to track bug 11023
nikita [Wed, 4 Oct 2006 11:38:44 +0000 (11:38 +0000)]
ext3_handle_error(): add sump_stack() to track bug 11023

18 years agoSanity test for setuid, setgid, setgrp, rootsquash, remote facl.
fanyong [Wed, 4 Oct 2006 05:07:30 +0000 (05:07 +0000)]
Sanity test for setuid, setgid, setgrp, rootsquash, remote facl.

18 years agoiam: fix defect in ext3_htree_next_block()
nikita [Tue, 3 Oct 2006 21:28:31 +0000 (21:28 +0000)]
iam: fix defect in ext3_htree_next_block()

18 years agoBranch b_new_cmd
vitaly [Tue, 3 Oct 2006 20:31:52 +0000 (20:31 +0000)]
Branch b_new_cmd

recover IO epoch number from replayed open request.

18 years agoBranch b_new_cmd
vitaly [Tue, 3 Oct 2006 19:30:50 +0000 (19:30 +0000)]
Branch b_new_cmd

pass the correct pointer to mdd_get_md

18 years agoBranch: b_new_cmd
wangdi [Tue, 3 Oct 2006 18:14:45 +0000 (18:14 +0000)]
Branch: b_new_cmd
1) fix a typo in mdd_set_lov_md, found by nikita
2) init credits in mdd LCFG_SETUP setup, which may fix b11016

18 years agoBranch: b_new_cmd
wangdi [Tue, 3 Oct 2006 17:47:51 +0000 (17:47 +0000)]
Branch: b_new_cmd
it should handle the last link for those cross-ref/splitted object unlink

18 years agoadd support for tunable levels of debugging checks in iam code.
nikita [Tue, 3 Oct 2006 17:23:55 +0000 (17:23 +0000)]
add support for tunable levels of debugging checks in iam code.

Currently this can be adjusted through EXT3_{ASSERT,CORRECTNESS,INVARIANT}
switches in lustre_iam.h, support for ./configure options in under way.

18 years agoUser can touch file with WRITE permission.
fanyong [Tue, 3 Oct 2006 16:33:51 +0000 (16:33 +0000)]
User can touch file with WRITE permission.

18 years ago- fix test 3b and fix related bug
tappro [Tue, 3 Oct 2006 15:43:59 +0000 (15:43 +0000)]
- fix test 3b and fix related bug

18 years ago-fix bug with lost reference on device due to too early device freeing
tappro [Tue, 3 Oct 2006 12:02:54 +0000 (12:02 +0000)]
-fix bug with lost reference on device due to too early device freeing

18 years ago- removed using pkg_config macros in configure tp avoid dependance on it. By now...
yury [Tue, 3 Oct 2006 11:43:56 +0000 (11:43 +0000)]
- removed using pkg_config macros in configure tp avoid dependance on it. By now GSS and krb5 related stuff is detected by pure autoconf macros;
- added detection of sunrpc in kernel as gss will not work if it is disabled.

18 years agoBranch: b_new_cmd
wangdi [Tue, 3 Oct 2006 09:51:44 +0000 (09:51 +0000)]
Branch: b_new_cmd
1) get rid of sign bit of ino to compatiable with glibc
2) correct bit size for filldir

18 years agoProcess rootsquash for reint ops.
fanyong [Tue, 3 Oct 2006 06:39:53 +0000 (06:39 +0000)]
Process rootsquash for reint ops.

18 years agoInitialize mu_(fs)uid/mu_(fs)gid when they are not squashed.
fanyong [Tue, 3 Oct 2006 06:33:18 +0000 (06:33 +0000)]
Initialize mu_(fs)uid/mu_(fs)gid when they are not squashed.

18 years agofix iam defects that caused 11011/mdsrate failures:
nikita [Mon, 2 Oct 2006 20:36:09 +0000 (20:36 +0000)]
fix iam defects that caused 11011/mdsrate failures:

 - defect: split_index_node(): update ->at in new root node.

 - defect: split_index_node(): index node split: new node should contain
 header.

 - defect: split_index_node(): take dx_countlimit into account when setting frame->at of newly split node.

 - defect: shift_entries(): adjust entry count in the new node.

18 years agobranch: b_new_cmd
ericm [Mon, 2 Oct 2006 18:45:13 +0000 (18:45 +0000)]
branch: b_new_cmd
enable gss configuration lines.

18 years agoBranch: b_new_cmd
wangdi [Mon, 2 Oct 2006 18:28:45 +0000 (18:28 +0000)]
Branch: b_new_cmd
correct bit size when do div

18 years agoBranch: b_new_cmd
wangdi [Mon, 2 Oct 2006 18:25:37 +0000 (18:25 +0000)]
Branch: b_new_cmd
correct res match, after we have filter group support

18 years agoget remote permisson request should follow the request format of MDS_GETATTR.
lsy [Mon, 2 Oct 2006 15:46:20 +0000 (15:46 +0000)]
get remote permisson request should follow the request format of MDS_GETATTR.

18 years agoshut up annoying messages
tappro [Mon, 2 Oct 2006 15:04:52 +0000 (15:04 +0000)]
shut up annoying messages

18 years agoMore clear and accurate permission check.
fanyong [Mon, 2 Oct 2006 14:27:21 +0000 (14:27 +0000)]
More clear and accurate permission check.

18 years ago- fixes in replay-ost-single.sh
yury [Mon, 2 Oct 2006 13:45:30 +0000 (13:45 +0000)]
- fixes in replay-ost-single.sh

18 years ago- added lmv support to many local tests including recovery ones.
yury [Mon, 2 Oct 2006 13:40:54 +0000 (13:40 +0000)]
- added lmv support to many local tests including recovery ones.

18 years agoadd quotation mark around argument
huanghua [Mon, 2 Oct 2006 11:29:09 +0000 (11:29 +0000)]
add quotation mark around argument

18 years agore-assign the lmm_size and cookie_size
huanghua [Mon, 2 Oct 2006 11:09:33 +0000 (11:09 +0000)]
re-assign the lmm_size and cookie_size

18 years ago- comment re-defined macros in obdclass.
yury [Mon, 2 Oct 2006 09:47:38 +0000 (09:47 +0000)]
- comment re-defined macros in obdclass.

18 years ago- added assert in qos_calc_rr();
yury [Mon, 2 Oct 2006 08:21:04 +0000 (08:21 +0000)]
- added assert in qos_calc_rr();
- fixed using mdt_join_rec in mdc;
- fixes about umount in mgs and mds (from 1_5);

18 years ago- merge recovery from cmd2
tappro [Mon, 2 Oct 2006 07:30:21 +0000 (07:30 +0000)]
- merge recovery from cmd2

18 years ago*** empty log message ***
wangdi [Mon, 2 Oct 2006 06:47:18 +0000 (06:47 +0000)]
*** empty log message ***

18 years agosimplified a bit by using pointer
huanghua [Sun, 1 Oct 2006 17:08:38 +0000 (17:08 +0000)]
simplified a bit by using pointer

18 years agoFix oops when umount with identity upcall.
fanyong [Sun, 1 Oct 2006 16:38:23 +0000 (16:38 +0000)]
Fix oops when umount with identity upcall.

18 years ago- fixes in lmv which caused attempt to release already released locks.
yury [Sun, 1 Oct 2006 15:30:11 +0000 (15:30 +0000)]
- fixes in lmv which caused attempt to release already released locks.

18 years agoBranch: b_new_cmd
wangdi [Sun, 1 Oct 2006 13:44:16 +0000 (13:44 +0000)]
Branch: b_new_cmd
disable some code we do not need currently

18 years ago- fixes and cleanups in mdd about txn init. call obd_notify() in mdd_recovery_complet...
yury [Sun, 1 Oct 2006 13:20:18 +0000 (13:20 +0000)]
- fixes and cleanups in mdd about txn init. call obd_notify() in mdd_recovery_complete() to re-calc credits.

18 years ago- fixed --enable-gss handling in configure
yury [Sun, 1 Oct 2006 11:31:29 +0000 (11:31 +0000)]
- fixed --enable-gss handling in configure

18 years agoBranch: b_new_cmd
wangdi [Sat, 30 Sep 2006 16:09:04 +0000 (16:09 +0000)]
Branch: b_new_cmd
ll_setattr_done_writing result will overwrite the previous rc error
in ll_setattr_raw. which cause recovery-small 20b failed

18 years agoBranch: b_new_cmd
wangdi [Sat, 30 Sep 2006 14:04:07 +0000 (14:04 +0000)]
Branch: b_new_cmd
fixes for 18b recovery-small.sh

18 years agomake getidentity upcall can be enable/disable by hand.
fanyong [Sat, 30 Sep 2006 10:15:38 +0000 (10:15 +0000)]
make getidentity upcall can be enable/disable by hand.

18 years agoBranch: b_new_cmd
wangdi [Sat, 30 Sep 2006 10:04:42 +0000 (10:04 +0000)]
Branch: b_new_cmd
fixes for recovery-small 18.
1) we should use ldlm_lock_match in extent lock revokation, since it might
   happen when obd inactive. and the page should be truncated anyway, even
   lock match failed.
2) fix osc name of test 18 in recovery-small

18 years agonew format should be larger than old one, otherwise extend will LBUG.
lsy [Sat, 30 Sep 2006 10:04:23 +0000 (10:04 +0000)]
new format should be larger than old one, otherwise extend will LBUG.

18 years agor=wangdi
lsy [Sat, 30 Sep 2006 07:37:59 +0000 (07:37 +0000)]
r=wangdi

fix intent getattr reply format: intent getattr will fetch MDS capability only.

18 years agoSmall fix for setup/clean l_getidentity/l_facl.
fanyong [Sat, 30 Sep 2006 07:09:44 +0000 (07:09 +0000)]
Small fix for setup/clean l_getidentity/l_facl.

18 years agoshrink reply message before return
huanghua [Sat, 30 Sep 2006 04:02:29 +0000 (04:02 +0000)]
shrink reply message before return

18 years agomust shrink reply message before return
huanghua [Sat, 30 Sep 2006 03:58:26 +0000 (03:58 +0000)]
must shrink reply message before return

18 years agoBranch b_new_cmd
vitaly [Fri, 29 Sep 2006 18:18:54 +0000 (18:18 +0000)]
Branch b_new_cmd

allocate enough, do not corrupt memory beyond the allocated region.

18 years ago- using cobj in mdd_may_delete(), pobj may be NULL.
yury [Fri, 29 Sep 2006 17:07:36 +0000 (17:07 +0000)]
- using cobj in mdd_may_delete(), pobj may be NULL.

18 years ago(1) add lproc for root_squash, identity upcall and remote facl upcall.
fanyong [Fri, 29 Sep 2006 17:04:53 +0000 (17:04 +0000)]
(1) add lproc for root_squash, identity upcall and remote facl upcall.
(2) do not use no_gss_support flag.
(3) some change for connect flags.
(4) some fixes after landing env stuff.

18 years agoBranch: b_new_cmd
wangdi [Fri, 29 Sep 2006 16:14:12 +0000 (16:14 +0000)]
Branch: b_new_cmd
remove LC_CONFIG_SPLIT in LC_PROC_LINUX

18 years agooh, should check has field first
huanghua [Fri, 29 Sep 2006 15:59:18 +0000 (15:59 +0000)]
oh, should check has field first

18 years ago- fixed HAVE_SPLIT_SUPPORT defining.
yury [Fri, 29 Sep 2006 15:58:22 +0000 (15:58 +0000)]
- fixed HAVE_SPLIT_SUPPORT defining.

18 years agocheck buffer present first, then check length, and then get buffer.
huanghua [Fri, 29 Sep 2006 15:53:40 +0000 (15:53 +0000)]
check buffer present first, then check length, and then get buffer.

18 years ago- cleanups about --enable-split.
yury [Fri, 29 Sep 2006 15:04:57 +0000 (15:04 +0000)]
- cleanups about --enable-split.

18 years ago- fix rename sanity check. it was broken in cmd environment
tappro [Fri, 29 Sep 2006 14:36:54 +0000 (14:36 +0000)]
- fix rename sanity check. it was broken in cmd environment

18 years agoBranch: b_new_cmd
wangdi [Fri, 29 Sep 2006 14:30:25 +0000 (14:30 +0000)]
Branch: b_new_cmd
1)add is_dir check for add/remove entries in split.
2)some fixes and cleanup

18 years ago- added comment about access capa fields in mdt_body_unpack().
yury [Fri, 29 Sep 2006 12:51:30 +0000 (12:51 +0000)]
- added comment about access capa fields in mdt_body_unpack().

18 years ago- fixes about capa.
yury [Fri, 29 Sep 2006 11:58:55 +0000 (11:58 +0000)]
- fixes about capa.

18 years agoadd lost file
tappro [Fri, 29 Sep 2006 11:52:56 +0000 (11:52 +0000)]
add lost file

18 years ago- add is_dir parameter in mdo_name_remove() to know that parent nlink should be
tappro [Fri, 29 Sep 2006 11:42:09 +0000 (11:42 +0000)]
- add is_dir parameter in mdo_name_remove() to know that parent nlink should be
  decref-ed or not
- small fixes in mdd_rename_tgt()

18 years agolu_context_key: make ->lct_used atomic to avoid races
nikita [Fri, 29 Sep 2006 11:12:24 +0000 (11:12 +0000)]
lu_context_key: make ->lct_used atomic to avoid races

18 years agocorrect load modules order due to latest cheanges in their relationship
tappro [Fri, 29 Sep 2006 11:02:41 +0000 (11:02 +0000)]
correct load modules order due to latest cheanges in their relationship

18 years agoBranch: b_new_cmd
wangdi [Fri, 29 Sep 2006 10:19:24 +0000 (10:19 +0000)]
Branch: b_new_cmd
seems a typo in the merge

18 years agoBranch: b_new_cmd
wangdi [Fri, 29 Sep 2006 09:41:33 +0000 (09:41 +0000)]
Branch: b_new_cmd
refine mdd credits calculation

18 years agoBranch: b_new_cmd
wangdi [Fri, 29 Sep 2006 09:33:49 +0000 (09:33 +0000)]
Branch: b_new_cmd
split fixes after some commit

18 years agoreplace alloc memory dynamicly with static buffer for acl check.
fanyong [Fri, 29 Sep 2006 09:14:13 +0000 (09:14 +0000)]
replace alloc memory dynamicly with static buffer for acl check.

18 years agoBranch: b_new_cmd
wangdi [Fri, 29 Sep 2006 07:23:52 +0000 (07:23 +0000)]
Branch: b_new_cmd
enable split by default

18 years agoBranch: b_new_cmd
wangdi [Fri, 29 Sep 2006 05:56:39 +0000 (05:56 +0000)]
Branch: b_new_cmd
some cleanup and fixes for split after landing env stuff

18 years agocleanup of md_ucred handling.
nikita [Thu, 28 Sep 2006 23:03:22 +0000 (23:03 +0000)]
cleanup of md_ucred handling.

Use per-session context, introduced by last commit to store struct md_ucred.

18 years agointroduce struct lu_buf used instead of (buf, len) pairs.
nikita [Thu, 28 Sep 2006 21:21:15 +0000 (21:21 +0000)]
introduce struct lu_buf used instead of (buf, len) pairs.

18 years agoIntroduction of lu_env.
nikita [Thu, 28 Sep 2006 18:56:53 +0000 (18:56 +0000)]
Introduction of lu_env.

With this patch majority of md/dt methods in new server stack get struct lu_env argument instead of struct lu_context.

lu_env consists of two contexts:

 - ->le_ctx: this is "local" context used to avoid allocating data on stack,
 and to avoid short-term dynamic allocations. This is a repalcement for old
 @ctx argument.

 - ->le_ses: this is "session": a context associated with request. Here live
 data that are to be shared between different stack levels. E.g., credentials
 (struct md_cred), and capability.

18 years agoiam: rediff patches (a side-effect of quilt)
nikita [Thu, 28 Sep 2006 18:18:11 +0000 (18:18 +0000)]
iam: rediff patches (a side-effect of quilt)

18 years agoBranch b_new_cmd
vitaly [Thu, 28 Sep 2006 18:07:33 +0000 (18:07 +0000)]
Branch b_new_cmd

missed i_mode is packed to close rpc

18 years ago- fixes in mdd about lockful and lockless versions of __mdd_lookup();
yury [Thu, 28 Sep 2006 16:37:15 +0000 (16:37 +0000)]
- fixes in mdd about lockful and lockless versions of __mdd_lookup();
- some cleanups in mdt_open.c;
- fixes in fld about adding targets.
- rename md_data->create_mode to ->mode as it is also used in others than create requests.

18 years agoupdate .cvsignore.
lsy [Thu, 28 Sep 2006 15:35:11 +0000 (15:35 +0000)]
update .cvsignore.

18 years agoadd ll_finish_md_op_data, rename ll_prepare_md_op_data to ll_prep_md_op_data.
lsy [Thu, 28 Sep 2006 15:32:53 +0000 (15:32 +0000)]
add ll_finish_md_op_data, rename ll_prepare_md_op_data to ll_prep_md_op_data.
add md_get_info() for obd_connect_data.
other capability related small fixes.

18 years agomdt: rename ->no_gss_support to match the rest
nikita [Thu, 28 Sep 2006 14:14:33 +0000 (14:14 +0000)]
mdt: rename ->no_gss_support to match the rest

18 years agolu: add LCT_SESSION context tag for per-request data
nikita [Thu, 28 Sep 2006 13:53:22 +0000 (13:53 +0000)]
lu: add LCT_SESSION context tag for per-request data

18 years agouse modprobe instead insmod if modules are loaded already
huanghua [Thu, 28 Sep 2006 11:00:25 +0000 (11:00 +0000)]
use modprobe instead insmod if modules are loaded already

18 years agosmall fix for string array augument
huanghua [Thu, 28 Sep 2006 10:55:48 +0000 (10:55 +0000)]
small fix for string array augument

18 years agoBranch: b_new_cmd
wangdi [Thu, 28 Sep 2006 10:50:58 +0000 (10:50 +0000)]
Branch: b_new_cmd
missing some readlock in mdd api

18 years agoBranch: b_new_cmd
wangdi [Thu, 28 Sep 2006 10:36:28 +0000 (10:36 +0000)]
Branch: b_new_cmd
refine the credits with enum

18 years agoBranch: b_new_cmd
wangdi [Thu, 28 Sep 2006 10:06:12 +0000 (10:06 +0000)]
Branch: b_new_cmd
merge group filter lproc fixes from HEAD

18 years agoBranch: b_new_cmd
wangdi [Thu, 28 Sep 2006 07:58:28 +0000 (07:58 +0000)]
Branch: b_new_cmd
refine the credits computation in mdd layer

18 years agoreplace array len (char pw_name[32]) with system config.
fanyong [Thu, 28 Sep 2006 07:47:10 +0000 (07:47 +0000)]
replace array len (char pw_name[32]) with system config.

18 years ago(1) name fix.
fanyong [Thu, 28 Sep 2006 07:27:30 +0000 (07:27 +0000)]
(1) name fix.
(2) copy pw->pw_gid out before getgrent, otherwise it maybe overwrited by others.

18 years agoremove dir entry in *OBJ_TEMP* while deleting file (also as a hack).
huanghua [Thu, 28 Sep 2006 07:18:40 +0000 (07:18 +0000)]
remove dir entry in *OBJ_TEMP* while deleting file (also as a hack).

18 years agoFix bad return value in getfacl/setfacl.
fanyong [Thu, 28 Sep 2006 07:10:39 +0000 (07:10 +0000)]
Fix bad return value in getfacl/setfacl.

18 years agobranch: b_new_cmd
ericm [Thu, 28 Sep 2006 04:07:47 +0000 (04:07 +0000)]
branch: b_new_cmd
temporarily split ldlm debug message into 2 lines to avoid excessive
"doesn't end in newline" warnings.