Whamcloud - gitweb
huanghua [Mon, 9 Oct 2006 09:21:49 +0000 (09:21 +0000)]
more comments on why we need to set nlink to zero for a dir.
lsy [Mon, 9 Oct 2006 08:31:48 +0000 (08:31 +0000)]
oss capability fully works now.
add setattr capability check for oss (including req from mds).
code cleanup.
fanyong [Mon, 9 Oct 2006 06:30:40 +0000 (06:30 +0000)]
Small fix and make the code more clean.
huanghua [Mon, 9 Oct 2006 05:39:45 +0000 (05:39 +0000)]
add stripecount parameter for mdtlov to stripe all data across all OSTs
huanghua [Mon, 9 Oct 2006 03:58:35 +0000 (03:58 +0000)]
(1) correctly unlink a dir: we have to set i_nlink to zero manually.
(2) some debug code;
wangdi [Mon, 9 Oct 2006 03:56:34 +0000 (03:56 +0000)]
Branch: b_new_cmd
update lmv slave object size.
fanyong [Mon, 9 Oct 2006 02:40:16 +0000 (02:40 +0000)]
Small bug fix and make the code more conciser.
yury [Sun, 8 Oct 2006 17:23:09 +0000 (17:23 +0000)]
- Mike suggested to rely that all remote objects in split are dirs.
yury [Sun, 8 Oct 2006 17:10:28 +0000 (17:10 +0000)]
- fixes and cleanups. Tom notice my comment in cmm_remove_dir_ent().
yury [Sun, 8 Oct 2006 16:07:32 +0000 (16:07 +0000)]
- move GSS CONDITIONAL to correct m4 file.
tappro [Sun, 8 Oct 2006 14:41:08 +0000 (14:41 +0000)]
update time only if there was no error
tappro [Sun, 8 Oct 2006 14:21:14 +0000 (14:21 +0000)]
- set placement policy to balanced algorithm from stressed
fanyong [Sun, 8 Oct 2006 10:21:06 +0000 (10:21 +0000)]
The rootsquash info will be changed without notify client.
So the client will update perm actively. (sanity-sec test_3)
fanyong [Sun, 8 Oct 2006 07:36:00 +0000 (07:36 +0000)]
(1) Adding squash flag in md_ucred will increase performance of idmap.
(2) Fix bug about mdt_body_reverse_idmap for remote user with rootsquash.
yury [Sun, 8 Oct 2006 07:19:27 +0000 (07:19 +0000)]
- revised seq-mgr, a lot of simplifications.
wangdi [Sun, 8 Oct 2006 06:18:42 +0000 (06:18 +0000)]
Branch: b_new_cmd
rec_len is 0 for the last rec of each page, so it can not be used to
check rec valid
huanghua [Sun, 8 Oct 2006 03:56:41 +0000 (03:56 +0000)]
some code cleanup
wangdi [Sun, 8 Oct 2006 02:31:07 +0000 (02:31 +0000)]
Branch: b_new_cmd
enable split, in case someone did not consider split when commit some stuff.
Mountain's corruption is not related with split, since there is no split at all
currently.
huanghua [Sun, 8 Oct 2006 01:59:02 +0000 (01:59 +0000)]
remove compiler warning.
tappro [Sat, 7 Oct 2006 22:13:22 +0000 (22:13 +0000)]
- remove unused code
tappro [Sat, 7 Oct 2006 22:08:21 +0000 (22:08 +0000)]
- fast fix of mountconf bug when mds is set up before osc are added.
This issues the race between recovery can start but not all osc are added yet.
Fix adds obd_configured flag to track when config llog parsing is finished and MDS is really set up and ready for recovery.
yury [Sat, 7 Oct 2006 17:42:24 +0000 (17:42 +0000)]
- changes in comments.
ericm [Sat, 7 Oct 2006 17:27:42 +0000 (17:27 +0000)]
branch: b_new_cmd
more fixes of configuration of capability and gss.
yury [Sat, 7 Oct 2006 15:44:57 +0000 (15:44 +0000)]
- disable split by default for a now to make sure that corruptions on mountain are not related to it.
fanyong [Sat, 7 Oct 2006 15:42:10 +0000 (15:42 +0000)]
Interface name fix.
lsy [Sat, 7 Oct 2006 15:26:59 +0000 (15:26 +0000)]
remove \n from parameter strings, otherwise it will confuse later pattern match.
also rename rootsquash_skips to nosquash_nids.
fanyong [Sat, 7 Oct 2006 15:10:07 +0000 (15:10 +0000)]
Change with the changing of rootsquash interface.
tappro [Sat, 7 Oct 2006 15:05:31 +0000 (15:05 +0000)]
use mdc RPC lock to queue the seq/fld requests, except FLD_LOOKUP
lsy [Sat, 7 Oct 2006 14:05:09 +0000 (14:05 +0000)]
fix capa renewal reply offset.
class_process_proc_param() compare lvar more accuratly.
code cleanup.
lsy [Sat, 7 Oct 2006 10:23:51 +0000 (10:23 +0000)]
add capability config interface. also modified the interface for rootsquash.
fanyong [Sat, 7 Oct 2006 09:14:15 +0000 (09:14 +0000)]
(1) drop unnecessary ops.
(2) small fix for remote_perm.
yury [Sat, 7 Oct 2006 08:59:06 +0000 (08:59 +0000)]
- fixes in GSS configuration
fanyong [Sat, 7 Oct 2006 08:54:53 +0000 (08:54 +0000)]
Invalid assert when cal is enabled.
tappro [Sat, 7 Oct 2006 08:50:58 +0000 (08:50 +0000)]
- temporary change to see request debug instead of assert. This is to 11012
debug
fanyong [Sat, 7 Oct 2006 07:27:37 +0000 (07:27 +0000)]
Small fix for remote_perm.
fanyong [Sat, 7 Oct 2006 07:24:36 +0000 (07:24 +0000)]
Small fix for remote client.
ericm [Fri, 6 Oct 2006 22:41:10 +0000 (22:41 +0000)]
branch: b_new_cmd (lustre), HEAD (build)
hmac checking in lustre-core.m4 break kerneless building. move to
lustre-build-linux.m4 and use existing LB_LINUX_CONFIG.
ericm [Fri, 6 Oct 2006 21:49:27 +0000 (21:49 +0000)]
branch: b_new_cmd
port gss fixes from b1_8_gss:
- pre-alloc page pools for bulk write in encrypting mode.
- improve procfs for sptlrpc/gss.
- various other sptlrpc fixes.
ericm [Fri, 6 Oct 2006 20:40:43 +0000 (20:40 +0000)]
branch: b_new_cmd
minor fix for gss configure
ericm [Fri, 6 Oct 2006 19:40:52 +0000 (19:40 +0000)]
file sec_lproc.c was added on branch b_new_cmd on 2006-10-06 21:49:25 +0000
ericm [Fri, 6 Oct 2006 19:40:50 +0000 (19:40 +0000)]
file sec_bulk.c was added on branch b_new_cmd on 2006-10-06 21:49:25 +0000
brian [Fri, 6 Oct 2006 18:57:01 +0000 (18:57 +0000)]
Pointing to $LINUX/.config is bad. $LINUX_CONFIG is where the .config file
can be found it's not always == $LINUX/.config.
yury [Fri, 6 Oct 2006 16:37:15 +0000 (16:37 +0000)]
- stop recovery thread and cleanup recovery for OST obd as well.
yury [Fri, 6 Oct 2006 16:06:23 +0000 (16:06 +0000)]
- checks for CRYPTO should not be depend on GSS, capa uses crypto as well.
yury [Fri, 6 Oct 2006 15:34:15 +0000 (15:34 +0000)]
- additional GSS related checks
tappro [Fri, 6 Oct 2006 14:37:57 +0000 (14:37 +0000)]
stop recovery thread if device is finishing
yury [Fri, 6 Oct 2006 14:35:15 +0000 (14:35 +0000)]
- revert back wrong commit about obd->obd_upcall.onu_owner
yury [Fri, 6 Oct 2006 13:59:13 +0000 (13:59 +0000)]
- fixed calling wrong upcall which caused oops.
wangdi [Fri, 6 Oct 2006 13:25:00 +0000 (13:25 +0000)]
Branch: b_new_cmd
some fixes about split dir
yury [Fri, 6 Oct 2006 13:08:03 +0000 (13:08 +0000)]
- fixes in insanity.sh
yury [Fri, 6 Oct 2006 12:48:00 +0000 (12:48 +0000)]
- cleanups in fld replay test.
yury [Fri, 6 Oct 2006 12:36:01 +0000 (12:36 +0000)]
- changed format of ranges output.
yury [Fri, 6 Oct 2006 12:18:11 +0000 (12:18 +0000)]
- fixed info message in seq-mgr
tappro [Fri, 6 Oct 2006 11:45:42 +0000 (11:45 +0000)]
- add forgotten target_cleanup_recovery()
yury [Fri, 6 Oct 2006 09:44:36 +0000 (09:44 +0000)]
- enabled FLD recovery for LMV setups too;
- fixes in tests and configurations;
- added insanity-lmv.sh config file.
yury [Fri, 6 Oct 2006 08:42:08 +0000 (08:42 +0000)]
- skip fld recovery test for lmv config.
yury [Fri, 6 Oct 2006 08:30:31 +0000 (08:30 +0000)]
- fixes in sanity tests.
yury [Fri, 6 Oct 2006 07:34:01 +0000 (07:34 +0000)]
- improved seq ranges debug messages, fixes in comments.
yury [Fri, 6 Oct 2006 07:03:12 +0000 (07:03 +0000)]
- return back LDLM_FL_LOCAL_ONLY flag when look fids in MDT.
tappro [Thu, 5 Oct 2006 22:56:47 +0000 (22:56 +0000)]
- fix issue with returning result of fs operation as rc with ptlrpc_error() as
result. The error codes in mdt can be distinguished by ESERIOUS flag. It means
serious error while processing request, otherwise the rc = 0 and rq_status
contains result.
this is possible fix for 11012.
nikita [Thu, 5 Oct 2006 19:32:47 +0000 (19:32 +0000)]
mds_propagate_capa_keys(): ENTRY should go first
yury [Thu, 5 Oct 2006 16:28:30 +0000 (16:28 +0000)]
- show for seq-srv only super range, space is not used in it.
wangdi [Thu, 5 Oct 2006 14:32:13 +0000 (14:32 +0000)]
Branch: b_new_cmd
build fixes in the last commit
fanyong [Thu, 5 Oct 2006 14:05:18 +0000 (14:05 +0000)]
Test environment recovery after test.
lsy [Thu, 5 Oct 2006 13:55:18 +0000 (13:55 +0000)]
don't propagate capability keys when mdt has exit.
lsy [Thu, 5 Oct 2006 12:59:47 +0000 (12:59 +0000)]
revised capability code to not break md stack according to nikita's advice.
several other capability code fixes.
yury [Thu, 5 Oct 2006 12:53:35 +0000 (12:53 +0000)]
- uncomment clanup in sanity.sh
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.
vitaly [Thu, 5 Oct 2006 11:33:00 +0000 (11:33 +0000)]
Branch b_new_cmd
several size-on-mds related bug fixed
fanyong [Thu, 5 Oct 2006 04:24:38 +0000 (04:24 +0000)]
This bug will cause lmv_intent_lookup assert.
tappro [Wed, 4 Oct 2006 18:37:57 +0000 (18:37 +0000)]
- enable frame pointer in linux kernel configs
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
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
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
yury [Wed, 4 Oct 2006 13:17:01 +0000 (13:17 +0000)]
- fixed typo in prev. commit.
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.
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
nikita [Wed, 4 Oct 2006 12:14:57 +0000 (12:14 +0000)]
ext3-orphans-delay.patch: remove whitespace damage
nikita [Wed, 4 Oct 2006 11:38:44 +0000 (11:38 +0000)]
ext3_handle_error(): add sump_stack() to track bug 11023
fanyong [Wed, 4 Oct 2006 05:07:30 +0000 (05:07 +0000)]
Sanity test for setuid, setgid, setgrp, rootsquash, remote facl.
nikita [Tue, 3 Oct 2006 21:28:31 +0000 (21:28 +0000)]
iam: fix defect in ext3_htree_next_block()
vitaly [Tue, 3 Oct 2006 20:31:52 +0000 (20:31 +0000)]
Branch b_new_cmd
recover IO epoch number from replayed open request.
vitaly [Tue, 3 Oct 2006 19:30:50 +0000 (19:30 +0000)]
Branch b_new_cmd
pass the correct pointer to mdd_get_md
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
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
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.
fanyong [Tue, 3 Oct 2006 16:33:51 +0000 (16:33 +0000)]
User can touch file with WRITE permission.
tappro [Tue, 3 Oct 2006 15:43:59 +0000 (15:43 +0000)]
- fix test 3b and fix related bug
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
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.
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
fanyong [Tue, 3 Oct 2006 06:39:53 +0000 (06:39 +0000)]
Process rootsquash for reint ops.
fanyong [Tue, 3 Oct 2006 06:33:18 +0000 (06:33 +0000)]
Initialize mu_(fs)uid/mu_(fs)gid when they are not squashed.
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.
ericm [Mon, 2 Oct 2006 18:45:13 +0000 (18:45 +0000)]
branch: b_new_cmd
enable gss configuration lines.
wangdi [Mon, 2 Oct 2006 18:28:45 +0000 (18:28 +0000)]
Branch: b_new_cmd
correct bit size when do div
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
lsy [Mon, 2 Oct 2006 15:46:20 +0000 (15:46 +0000)]
get remote permisson request should follow the request format of MDS_GETATTR.
tappro [Mon, 2 Oct 2006 15:04:52 +0000 (15:04 +0000)]
shut up annoying messages
fanyong [Mon, 2 Oct 2006 14:27:21 +0000 (14:27 +0000)]
More clear and accurate permission check.