Whamcloud - gitweb
fs/lustre-release.git
17 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.

17 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.

17 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

17 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.

17 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

17 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

17 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

17 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.

17 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

17 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.

17 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.

17 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.

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

17 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

17 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.

17 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.

17 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.

17 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

17 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

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

17 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.

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

17 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

17 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

17 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().

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

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

17 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()

17 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

17 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

17 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

17 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

17 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

17 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.

17 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

17 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

17 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.

17 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.

17 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.

17 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)

17 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

17 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.

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

17 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.

17 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

17 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

17 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

17 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

17 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

17 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

17 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

17 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

17 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.

17 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.

17 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).

17 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.

17 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.

17 years ago1) add nodelist options "-a", "-w" and "-x" to lustre config scripts
yujian [Thu, 28 Sep 2006 03:43:30 +0000 (03:43 +0000)]
1) add nodelist options "-a", "-w" and "-x" to lustre config scripts
2) replace $? with ${PIPESTATUS[0]} and `` with $()

17 years agoBranch: b_new_cmd
wangdi [Thu, 28 Sep 2006 03:00:31 +0000 (03:00 +0000)]
Branch: b_new_cmd
For connection between mds, we should set Local flags, because mdt will
return this anyway

17 years ago- fix issues with wire structures and swabbing
tappro [Wed, 27 Sep 2006 20:48:51 +0000 (20:48 +0000)]
- fix issues with wire structures and swabbing
- initialize some values that can be uninitialized

17 years agoBranch b_new_cmd
vitaly [Wed, 27 Sep 2006 18:27:58 +0000 (18:27 +0000)]
Branch b_new_cmd

drop NOSPC flag on unlink

17 years agoBranch: b_new_cmd
wangdi [Wed, 27 Sep 2006 13:54:35 +0000 (13:54 +0000)]
Branch: b_new_cmd
Destroy cookie oa should include the log cookie, which cause runtests failed again
and again.

17 years agoBranch: b_new_cmd
wangdi [Wed, 27 Sep 2006 10:36:29 +0000 (10:36 +0000)]
Branch: b_new_cmd
1) some fixes about split after capa commit
2) we should connect with CLI flags. since mdt will return this
   flags anyway for local idmap when connect between mds.

17 years agoremove capability support for split dir.
lsy [Wed, 27 Sep 2006 08:10:55 +0000 (08:10 +0000)]
remove capability support for split dir.

17 years agoBranch: b_new_cmd
wangdi [Wed, 27 Sep 2006 07:52:52 +0000 (07:52 +0000)]
Branch: b_new_cmd
add assert for debuging iam I/O error problems in creating

17 years agoland capability.
lsy [Wed, 27 Sep 2006 06:34:44 +0000 (06:34 +0000)]
land capability.

17 years agoTransmit group_info between mds.
fanyong [Wed, 27 Sep 2006 05:17:29 +0000 (05:17 +0000)]
Transmit group_info between mds.

17 years agoBranch: b_new_cmd
wangdi [Wed, 27 Sep 2006 04:36:45 +0000 (04:36 +0000)]
Branch: b_new_cmd
when setting async info, it should only set info for the special ost

17 years agodifferent error value for different failure case
huanghua [Wed, 27 Sep 2006 04:29:58 +0000 (04:29 +0000)]
different error value for different failure case

17 years agomore precise name for osc on MDT0000
huanghua [Wed, 27 Sep 2006 03:49:36 +0000 (03:49 +0000)]
more precise name for osc on MDT0000

17 years agoBranch:b_new_cmd
wangdi [Wed, 27 Sep 2006 03:47:37 +0000 (03:47 +0000)]
Branch:b_new_cmd
revert back the group llog fixes temporarily

17 years ago(1) adjust init order of mdt_init0.
fanyong [Wed, 27 Sep 2006 03:39:45 +0000 (03:39 +0000)]
(1) adjust init order of mdt_init0.
(2) fix position of packing remote perm for open.

17 years ago- remove double check for MA_LOV
tappro [Tue, 26 Sep 2006 23:58:04 +0000 (23:58 +0000)]
- remove double check for MA_LOV
- remove orphans tests from ALWAYS_EXCEPT in replay-single.sh

17 years agoorphan-delay patch
tappro [Tue, 26 Sep 2006 23:55:26 +0000 (23:55 +0000)]
orphan-delay patch

17 years ago- orphan handling code update
tappro [Tue, 26 Sep 2006 23:47:51 +0000 (23:47 +0000)]
- orphan handling code update
- move txn_callback_{add,del} to the {mount,shutdown} in mdd
- regroup mdd code a bit by functionality

17 years agoBranch: b_new_cmd
wangdi [Tue, 26 Sep 2006 17:49:54 +0000 (17:49 +0000)]
Branch: b_new_cmd
someone just init group llog already before we want to insert ourselves.
a tmp fix and some debug info for further investigation

17 years agobranch: b_new_cmd
ericm [Tue, 26 Sep 2006 17:24:42 +0000 (17:24 +0000)]
branch: b_new_cmd
port from b1_8_gss: various trivial fixes.

17 years ago- pass handling errors down to target_send_reply() to let it know when to send normal...
yury [Tue, 26 Sep 2006 15:27:40 +0000 (15:27 +0000)]
- pass handling errors down to target_send_reply() to let it know when to send normal reply and when to send errors.

17 years agocorrect osc name
huanghua [Tue, 26 Sep 2006 15:24:56 +0000 (15:24 +0000)]
correct osc name

17 years ago- fix test53 to do real read of MDS data.
tappro [Tue, 26 Sep 2006 11:43:42 +0000 (11:43 +0000)]
- fix test53 to do real read of MDS data.

17 years agoBranch: b_new_cmd
wangdi [Tue, 26 Sep 2006 11:41:59 +0000 (11:41 +0000)]
Branch: b_new_cmd
it should find the right ctxt to init the imp of the log

17 years ago- fixes in mdt_fini();
yury [Tue, 26 Sep 2006 10:30:59 +0000 (10:30 +0000)]
- fixes in mdt_fini();
- verbose seq recovery.

17 years agonot implmented read() methed for symlink.
huanghua [Tue, 26 Sep 2006 10:28:10 +0000 (10:28 +0000)]
not implmented read() methed for symlink.
This happens while MDS umount and mount again;

17 years agocorrect grep pattern for osc
huanghua [Tue, 26 Sep 2006 07:29:20 +0000 (07:29 +0000)]
correct grep pattern for osc

17 years agoBranch: b_new_cmd
wangdi [Tue, 26 Sep 2006 07:23:41 +0000 (07:23 +0000)]
Branch: b_new_cmd
1) when we can not handler, we should return anyway
2) remove obsolute func

17 years ago(1) check child existance, and find mfd in reconstruct open;
huanghua [Tue, 26 Sep 2006 06:44:35 +0000 (06:44 +0000)]
(1) check child existance, and find mfd in reconstruct open;
(2) some other small fix about in unlink;

17 years agodrop redefinition of group_info.
fanyong [Tue, 26 Sep 2006 04:33:06 +0000 (04:33 +0000)]
drop redefinition of group_info.

17 years agoShip cap_effective inter-mds.
fanyong [Tue, 26 Sep 2006 03:43:27 +0000 (03:43 +0000)]
Ship cap_effective inter-mds.

17 years agoremove garbage
tappro [Mon, 25 Sep 2006 23:53:07 +0000 (23:53 +0000)]
remove garbage

17 years ago- fixes due to osc names
tappro [Mon, 25 Sep 2006 23:27:40 +0000 (23:27 +0000)]
- fixes due to osc names

17 years ago-revert back changes in osc nameing. The old pattern should be preserved for
tappro [Mon, 25 Sep 2006 23:19:54 +0000 (23:19 +0000)]
-revert back changes in osc nameing. The old pattern should be preserved for
tests. Name of MDT is added at the end of name.
- fix changes in sanity.sh

17 years agoBranch b_new_cmd
vitaly [Mon, 25 Sep 2006 22:44:44 +0000 (22:44 +0000)]
Branch b_new_cmd

do not forget to free ost space on unlink

17 years ago-adapt sanity.sh to changed osc nameing
tappro [Mon, 25 Sep 2006 22:43:34 +0000 (22:43 +0000)]
-adapt sanity.sh to changed osc nameing

17 years ago- fix osc nameing. Now it consists of corresponding lov name and suffix -oscXXXX
tappro [Mon, 25 Sep 2006 22:18:53 +0000 (22:18 +0000)]
- fix osc nameing. Now it consists of corresponding lov name and suffix -oscXXXX
  with OST index.
- fix functions for test27 based on osc names

17 years ago- fixes about memory debug patch.
yury [Mon, 25 Sep 2006 14:31:09 +0000 (14:31 +0000)]
- fixes about memory debug patch.

17 years agoFix sbi->ll_flags.
fanyong [Mon, 25 Sep 2006 14:15:46 +0000 (14:15 +0000)]
Fix sbi->ll_flags.

17 years agoUse NULL parameter when no need permission check.
fanyong [Mon, 25 Sep 2006 13:24:13 +0000 (13:24 +0000)]
Use NULL parameter when no need permission check.

17 years ago- added online memory debug patch. It shows all abnormal memory allocation, free...
yury [Mon, 25 Sep 2006 12:19:43 +0000 (12:19 +0000)]
- added online memory debug patch. It shows all abnormal memory allocation, free, double free, etc. in process and at the end of work, when modules unload. It is deactivated by default, to activate it one needs to add #define CONFIG_DEBUG_MEMORY 1 to config.h

17 years ago- remove pointer med_mcd on the freed mcd to avoid double free in client_del()
tappro [Mon, 25 Sep 2006 12:03:38 +0000 (12:03 +0000)]
- remove pointer med_mcd on the freed mcd to avoid double free in client_del()

17 years ago- fixed really nasty bug with recovery. Sometimes server sent _two_ replies for one...
yury [Mon, 25 Sep 2006 10:05:38 +0000 (10:05 +0000)]
- fixed really nasty bug with recovery. Sometimes server sent _two_ replies for one replay RPC. And second replay was mostly empty, errorneous one which confused client some times. For instance mdc_replay_open() and others. In two words, mdt should not send anything and return with rc for cases mdt_recovery() (and thus mds_filter_recovery_request()) returns 0;

- mor esimple recovery stuff in fld.