Whamcloud - gitweb
yury [Thu, 19 Oct 2006 08:07:10 +0000 (08:07 +0000)]
- cleanups in cmm split a bit;
- preparation stage for adding ldlm part of pdirops (not used yet, all stuff is under CONFIG_PDIROPS)
yury [Thu, 19 Oct 2006 06:46:11 +0000 (06:46 +0000)]
- put fix from niu to correct place.
fanyong [Thu, 19 Oct 2006 06:03:30 +0000 (06:03 +0000)]
Add acl initialization for cross-ref create.
tappro [Thu, 19 Oct 2006 00:52:46 +0000 (00:52 +0000)]
- enable check for correct placement in split dir
- lmv_intent_open() uses lmv_get_export()
ericm [Wed, 18 Oct 2006 23:48:43 +0000 (23:48 +0000)]
branch: b_new_cmd
basic support for PAG, ported from HEAD.
tappro [Wed, 18 Oct 2006 23:37:54 +0000 (23:37 +0000)]
- disable valid placement check in split dir temporary
ericm [Wed, 18 Oct 2006 23:22:59 +0000 (23:22 +0000)]
branch: b_new_cmd
minor fix to quiet compiler warning.
ericm [Wed, 18 Oct 2006 23:11:12 +0000 (23:11 +0000)]
branch: b_new_cmd
minor typo fix.
ericm [Wed, 18 Oct 2006 23:08:52 +0000 (23:08 +0000)]
branch: b_new_cmd
minor fix for build breakage.
tappro [Wed, 18 Oct 2006 22:24:30 +0000 (22:24 +0000)]
- addition to previous commit.
tappro [Wed, 18 Oct 2006 22:23:40 +0000 (22:23 +0000)]
- check that lookup is happened on correct mds in case of split, return
-ERESTART otherwise
tappro [Wed, 18 Oct 2006 21:47:11 +0000 (21:47 +0000)]
- handle errors during fid allocation instead of LBUG()
- remove #if 1 - #endif around lmv_all_chars_policy()
- fix needless line breaking
tappro [Wed, 18 Oct 2006 21:43:01 +0000 (21:43 +0000)]
- remove unused semaphore
huanghua [Wed, 18 Oct 2006 17:28:43 +0000 (17:28 +0000)]
fix a compile error
yury [Wed, 18 Oct 2006 16:14:19 +0000 (16:14 +0000)]
- save fid in och instead of pointer to it which may become invalid in file close time;
huanghua [Wed, 18 Oct 2006 16:08:10 +0000 (16:08 +0000)]
more efficient checking of zero-length string.
yury [Wed, 18 Oct 2006 08:52:07 +0000 (08:52 +0000)]
- various fixes from b1_5
fanyong [Wed, 18 Oct 2006 08:38:56 +0000 (08:38 +0000)]
Add mdd_init_acl for new obj (create, mkdir and so on).
wangdi [Wed, 18 Oct 2006 06:41:35 +0000 (06:41 +0000)]
Branch: b_new_cmd
typo fix about raw lookup return value indicated by tappro
wangdi [Wed, 18 Oct 2006 06:21:26 +0000 (06:21 +0000)]
Branch: b_new_cmd
add raw lookup support in mdt for those lookup perf verfication test
huanghua [Wed, 18 Oct 2006 06:18:06 +0000 (06:18 +0000)]
add lock on son while doing error handling
fanyong [Wed, 18 Oct 2006 03:18:23 +0000 (03:18 +0000)]
Should check ACL when directory search.
nikita [Tue, 17 Oct 2006 22:59:21 +0000 (22:59 +0000)]
patches: turn PROC_SLEEP on in relevant configs.
nikita [Tue, 17 Oct 2006 22:00:30 +0000 (22:00 +0000)]
patches: add sleeping statistics collection patch. See mail message to colibri@ for more information.
nikita [Tue, 17 Oct 2006 19:51:14 +0000 (19:51 +0000)]
iam: 0. add more integrity checks (no index node points back to the root), 2. (tentatively) fix 11027.
tappro [Tue, 17 Oct 2006 19:13:46 +0000 (19:13 +0000)]
- small fix to prevent lost update of obd_next_recovery_transno value
tappro [Tue, 17 Oct 2006 19:10:53 +0000 (19:10 +0000)]
- return back default policy for non-directories. ONLY directories can be
cross-ref during creation
- replace mea index name from 'mds' to 'mea_idx' to make that clear that index
is not number of mds.
yury [Tue, 17 Oct 2006 16:29:43 +0000 (16:29 +0000)]
- for non-split lmv_placement_policy() should spread inodes over all MDSes smoothly as well, not only fpor dirs.
nikita [Tue, 17 Oct 2006 16:17:27 +0000 (16:17 +0000)]
mdd: mdd_create(): update outdated comment.
fanyong [Tue, 17 Oct 2006 15:21:09 +0000 (15:21 +0000)]
Small fix.
nikita [Tue, 17 Oct 2006 15:09:52 +0000 (15:09 +0000)]
lu: proper locking for site.ls_total
yury [Tue, 17 Oct 2006 14:27:39 +0000 (14:27 +0000)]
- liblustre build fix.
yury [Tue, 17 Oct 2006 14:12:21 +0000 (14:12 +0000)]
- cleanups in seq-mgr, move cache statistics to lu_cache;
- remove needless locks in fld server and client.
fanyong [Tue, 17 Oct 2006 13:49:30 +0000 (13:49 +0000)]
Process "-ENODATA" correctly for ACL, update lli_posix_acl even if no acl.
lsy [Tue, 17 Oct 2006 13:27:43 +0000 (13:27 +0000)]
add full support for remote operations.
typo fix in sanity.sh.
wangdi [Tue, 17 Oct 2006 11:16:17 +0000 (11:16 +0000)]
Branch: b_new_cmd
check group correctly for filter precreate
huanghua [Tue, 17 Oct 2006 10:12:15 +0000 (10:12 +0000)]
(1) support very long symlink name;
(2) add test case for very long symlink name;
fanyong [Tue, 17 Oct 2006 08:49:39 +0000 (08:49 +0000)]
Add mdd_acl_chmod for acl changing when chmod.
huanghua [Tue, 17 Oct 2006 08:32:51 +0000 (08:32 +0000)]
initialize the body->eadatalen and body->acllen by generic code.
huanghua [Tue, 17 Oct 2006 05:44:43 +0000 (05:44 +0000)]
symlink name is also stored there.
wangdi [Tue, 17 Oct 2006 05:02:55 +0000 (05:02 +0000)]
Branch: b_new_cmd
test fixes about sanity-65
tappro [Mon, 16 Oct 2006 17:04:12 +0000 (17:04 +0000)]
another one issue with pack_reply
yury [Mon, 16 Oct 2006 16:54:26 +0000 (16:54 +0000)]
- in abort_req_replay_queue() pass correct count of fields to lustre_pack_reply().
nikita [Mon, 16 Oct 2006 15:07:35 +0000 (15:07 +0000)]
mdt: mdt_shrink_reply(): do not assume body->eadatasize always contains EA size: it might be symlink.
wangdi [Mon, 16 Oct 2006 15:06:13 +0000 (15:06 +0000)]
Branch: b_new_cmd
replace atoi to strtoul, since atoi can not cast 0xffffffff to -1
nikita [Mon, 16 Oct 2006 13:32:16 +0000 (13:32 +0000)]
mdt: use lu_site_print() to dump not freed objects.
nikita [Mon, 16 Oct 2006 13:31:39 +0000 (13:31 +0000)]
lu: add lu_site_print().
yury [Mon, 16 Oct 2006 12:58:39 +0000 (12:58 +0000)]
- fixed div by zero.
yury [Mon, 16 Oct 2006 12:47:49 +0000 (12:47 +0000)]
- adjust client FLD cache a bit. It should use hashtable one page size;
- add FLD cache to FLD servers;
- cleanups in lmv tgt field names.
fanyong [Mon, 16 Oct 2006 12:33:35 +0000 (12:33 +0000)]
Make the warning message more readable.
huanghua [Mon, 16 Oct 2006 10:21:48 +0000 (10:21 +0000)]
some more cleanup and comments about mdt_thread_info initialization.
tappro [Mon, 16 Oct 2006 09:18:07 +0000 (09:18 +0000)]
- delete fld targets during device shutdown
yury [Mon, 16 Oct 2006 08:08:29 +0000 (08:08 +0000)]
- make FLD less noisy after lookup -2 bug is fixed.
tappro [Mon, 16 Oct 2006 08:03:45 +0000 (08:03 +0000)]
- make compiler happy with initialized value
- don't set fail flag for mdc
yury [Mon, 16 Oct 2006 08:03:26 +0000 (08:03 +0000)]
- fixes and cleanups in mdt_destroy_export() path.
yury [Mon, 16 Oct 2006 07:28:12 +0000 (07:28 +0000)]
- more fixes about mdt_thread_info
fanyong [Mon, 16 Oct 2006 07:26:38 +0000 (07:26 +0000)]
For remote client, do not permit getfacl/setfacl directly.
yury [Mon, 16 Oct 2006 07:04:14 +0000 (07:04 +0000)]
- fixes in init mdt_thread_info.
tappro [Mon, 16 Oct 2006 06:58:07 +0000 (06:58 +0000)]
- initiate create_spec
tappro [Mon, 16 Oct 2006 06:38:06 +0000 (06:38 +0000)]
- initialize values in mdt_thread_info
- change log level for debug message
huanghua [Mon, 16 Oct 2006 05:21:42 +0000 (05:21 +0000)]
disable sanity 60a tempprarily, which has some problem to fix.
huanghua [Mon, 16 Oct 2006 05:20:14 +0000 (05:20 +0000)]
info->mti_transno is overwritten in initialization.
yury [Sun, 15 Oct 2006 19:36:47 +0000 (19:36 +0000)]
- possibly (I'm almost sure) fix for FLD lookup err -2. Allocating new seq and setup FLD for it should be atomic. Otherwise two threads allocating fids race and first (which allocated seq) deals with FLD setup and second (which just allocated fid in new seq) quickly sends fid in new seq to server and servers can't find it in FLD, because FLD did not see update yet;
- fix in lmv_placement_policy(). Take into account split dirs for creating child dirs too, not only files.
nikita [Sun, 15 Oct 2006 18:58:19 +0000 (18:58 +0000)]
mdt: another "uninitialized mdt_thread_info" fix.
nikita [Sun, 15 Oct 2006 18:45:53 +0000 (18:45 +0000)]
kill overwritten initialization.
yury [Sun, 15 Oct 2006 17:11:20 +0000 (17:11 +0000)]
- serialize fld reqs on client and server;
- cleanups about server fld client. Now it is created in cmm;
- cleanups in split code;
nikita [Sun, 15 Oct 2006 13:43:20 +0000 (13:43 +0000)]
mdt: do not zero mdt_thread_info
nikita [Sun, 15 Oct 2006 13:41:46 +0000 (13:41 +0000)]
mdd: simplify mdd_txn_param_build(): 0. @op can me used as an array index without scanning. 1. remove mdd_txn_lock: it protects nothing anyway.
yury [Sun, 15 Oct 2006 12:14:15 +0000 (12:14 +0000)]
- cleanups in split, remove obsoletes and unite fids alloc and objs create for slaves.
fanyong [Sun, 15 Oct 2006 11:07:05 +0000 (11:07 +0000)]
Small fix.
yury [Sun, 15 Oct 2006 10:38:31 +0000 (10:38 +0000)]
- split fixes
fanyong [Sun, 15 Oct 2006 10:30:56 +0000 (10:30 +0000)]
Initialize obd_lvfs_ctxt correctly.
Fix "ASSERTION(atomic_read(&new_ctx->pwd->d_count))" for rmtacl.
yury [Sun, 15 Oct 2006 09:52:46 +0000 (09:52 +0000)]
- some cleanups;
- added debug messages to fld
tappro [Sun, 15 Oct 2006 08:43:43 +0000 (08:43 +0000)]
- small fix. skip first mea slot.
tappro [Sun, 15 Oct 2006 08:26:40 +0000 (08:26 +0000)]
- return back old split code but keep new one under #if 0 for now
nikita [Sun, 15 Oct 2006 02:16:04 +0000 (02:16 +0000)]
mdt: mdt_thread_info_init(): oops, last commit was too fast: zeroing is still required.
nikita [Sun, 15 Oct 2006 02:12:33 +0000 (02:12 +0000)]
mdt: mdt_thread_info_init(): do not zero out whole struct mdt_thread_info: that is too expensive.
nikita [Sun, 15 Oct 2006 00:53:21 +0000 (00:53 +0000)]
dt/osd: cleanup of txn credit constants handling.
tappro [Sat, 14 Oct 2006 23:52:58 +0000 (23:52 +0000)]
- don't count self-export as stale export
tappro [Sat, 14 Oct 2006 23:51:55 +0000 (23:51 +0000)]
- pass mdt_obd through process_config parameters to the mdc instead of storing
it in lu_device->lu_obd.
- rename mdc_add_obd, mdc_del_obd to the common nameing format in b_new_cmd
<object>_<action>
nikita [Sat, 14 Oct 2006 23:44:33 +0000 (23:44 +0000)]
lu: adjust hash table size dynamically.
nikita [Sat, 14 Oct 2006 23:42:29 +0000 (23:42 +0000)]
iam: 0. make heavily used functions static inline; 1. add r5 hash and make it defauls.
ericm [Sat, 14 Oct 2006 18:12:01 +0000 (18:12 +0000)]
branch: b_new_cmd
only include gss subdir if gss is enabled.
yury [Sat, 14 Oct 2006 18:09:17 +0000 (18:09 +0000)]
- fixes in split:
- split dir may happen no any MDS - fids of slaves and master should be saved in coherence with mdsnum. Do not save fid of slave on mds0 to mea[2] for instance. This is what LMV needs in some cases and this is what may allow to get rid of doing additional fld_lookups in LMV;
- in cmm_create_slave_objects() pass to cmm_create_remote_obj() last arg as sizeof(*slave_lmv) instead of sizeof(slave_lmv), otherwise edatalen is not correct and mea on slaves get broken;
- in many split functions, look like this: for (i = 1; i < cmm->cmm_tgt_count + 1; i++) is not correct even for formet solution, it makes it possible to overwrite/access data out of array memory;
- in cmm_create_slave_objects() memory leak in case of error (OBD_FREE_PTR(lmv) should be added);
- cleanups, comments.
lsy [Sat, 14 Oct 2006 15:45:52 +0000 (15:45 +0000)]
fixed a logic error in ll_add_capa(), which will make list not sorted.
remove debug code.
wangdi [Sat, 14 Oct 2006 15:43:37 +0000 (15:43 +0000)]
Branch: b_new_cmd
remove obsolote debug warning msg
yury [Sat, 14 Oct 2006 13:03:28 +0000 (13:03 +0000)]
- fixed format in CWARN()
yury [Sat, 14 Oct 2006 12:49:32 +0000 (12:49 +0000)]
- fixed replay of meta-seq alloc whereas super-seq replay is also needed if ctl and srv run on same node.
wangdi [Sat, 14 Oct 2006 11:12:20 +0000 (11:12 +0000)]
Branch: b_new_cmd
1)reset hash end with next segment's hash start, not the next start entry's
hash offset for be compatiable with readdir.
2)set ldp_start with the hash offset, not the start entry's hash
ericm [Fri, 13 Oct 2006 23:57:13 +0000 (23:57 +0000)]
branch: b_new_cmd
from fanyong: re-enable mapping database lookup in lsvcgss.
nikita [Fri, 13 Oct 2006 20:10:30 +0000 (20:10 +0000)]
osd: get rid of /*OBJ-TEMP* hack.
yury [Fri, 13 Oct 2006 19:10:13 +0000 (19:10 +0000)]
- added debug to fld client fucntions to catch wrong activities.
ericm [Fri, 13 Oct 2006 18:14:35 +0000 (18:14 +0000)]
*** empty log message ***
yury [Fri, 13 Oct 2006 18:08:57 +0000 (18:08 +0000)]
- set in cmm mdc devices obd flags from mdt_obd in shutdown case. That should fix oops on canceling locks and make shutdown cleaner.
- show obd_name in fld_client_add_target() as it is more understandable (needed for debug, seems fld targets on diff. nodes may have diff. order what is cause of really bad issues);
nikita [Fri, 13 Oct 2006 16:17:39 +0000 (16:17 +0000)]
cleanup to shrinker environment setup and finalization.
nikita [Fri, 13 Oct 2006 14:59:58 +0000 (14:59 +0000)]
iam: use read-write lock for iam container.
lsy [Fri, 13 Oct 2006 13:47:44 +0000 (13:47 +0000)]
don't hijack any field in mdt_body as return value.
instead don't set OBD_MD_FLOSSCAPA in reply can work.
nikita [Fri, 13 Oct 2006 13:32:32 +0000 (13:32 +0000)]
mdt: move ESERIOUS deifnition to lustre_mdt.h
nikita [Fri, 13 Oct 2006 13:28:20 +0000 (13:28 +0000)]
iam: split conditionally compiled functions properly.
yury [Fri, 13 Oct 2006 13:06:17 +0000 (13:06 +0000)]
- do not issue RPC inside spin lock;