Whamcloud - gitweb
yury [Wed, 20 Sep 2006 15:35:59 +0000 (15:35 +0000)]
- disable not working yet stuff.
yury [Wed, 20 Sep 2006 15:18:17 +0000 (15:18 +0000)]
- liblustre build fixes
wangdi [Wed, 20 Sep 2006 14:19:57 +0000 (14:19 +0000)]
Branch: c_new_cmd
1)reset the end offset of each hash segment
2)add up_call for disable transaction for splitting, since there will
include many transaction in one thread, and we do not need replay for
it, so do not set transaction temporarily.
3) some other fixes of readdir for splitting
yury [Wed, 20 Sep 2006 13:48:12 +0000 (13:48 +0000)]
- added limited lprocfs stuff in mdt to pass some tests;
- fixes in tests.
huanghua [Wed, 20 Sep 2006 09:17:16 +0000 (09:17 +0000)]
some more checks, and some small fix
tappro [Wed, 20 Sep 2006 08:44:17 +0000 (08:44 +0000)]
cancel export locks during disconnect
yury [Wed, 20 Sep 2006 08:13:14 +0000 (08:13 +0000)]
- fixes about lock fixup, replace and some resent issues.
vitaly [Tue, 19 Sep 2006 21:51:58 +0000 (21:51 +0000)]
Branch b_new_cmd
b=22564
perform done_write for pending inodes on shutdown
mark inode as having attributes changed on sync write.
yury [Tue, 19 Sep 2006 18:11:44 +0000 (18:11 +0000)]
- added resent support for getatr_name.
wangdi [Tue, 19 Sep 2006 16:12:57 +0000 (16:12 +0000)]
Branch: b_new_cmd
put the iam_it anyway
wangdi [Tue, 19 Sep 2006 16:07:50 +0000 (16:07 +0000)]
Branch: b_new
we should put iam_it anyway
wangdi [Tue, 19 Sep 2006 16:07:09 +0000 (16:07 +0000)]
Branch: b_new_cmd
merge llog group support from HEAD and some fixes.
yury [Tue, 19 Sep 2006 15:07:40 +0000 (15:07 +0000)]
- do not store server ctx to any structs, ctx is only valid in its thread;
yury [Tue, 19 Sep 2006 14:04:05 +0000 (14:04 +0000)]
- "more sophisticated" fix for recovery-small.sh test_3. By now client and server about getattr* RPCs always wait/send 4 fields even if some of them have zero size;
- adjust maxrep size for seq and fld services. Values are oriented on case of using mds_v1 which is bigger.
huanghua [Tue, 19 Sep 2006 10:57:06 +0000 (10:57 +0000)]
reserve some memory for MDS_GETATTR_NAME. This is ugly. So, maybe removed later.
tappro [Tue, 19 Sep 2006 07:00:57 +0000 (07:00 +0000)]
last_commit transno is needed in any request
huanghua [Tue, 19 Sep 2006 04:27:08 +0000 (04:27 +0000)]
(1) fix open re-construct: re-construct if create error; otherwise, do as regular open;
(2) fix some pointers initialization in md_attr in mdt;
(3) add some EXCEPT in replay-single.sh
wangdi [Tue, 19 Sep 2006 03:22:29 +0000 (03:22 +0000)]
Branch: b_new_cmd
some fixes about cmm
tappro [Mon, 18 Sep 2006 23:03:01 +0000 (23:03 +0000)]
- use 'last_received' name for last_rcvd file
- use journalled data mode on mds
tappro [Mon, 18 Sep 2006 21:04:34 +0000 (21:04 +0000)]
- add mode field in mdt_rec_rename. used for cross-ref request
- copy lmm and unlink cookie from cross-ref unlink to the initial reply buffers
tappro [Mon, 18 Sep 2006 20:59:39 +0000 (20:59 +0000)]
- get also la_flags attr in cmm_mode_get() to track append|immutable flags later
in mdd_rename.
tappro [Mon, 18 Sep 2006 20:56:56 +0000 (20:56 +0000)]
- assign ma_lmm and ma_cookie before the calling cross-ref mo_ref_del()
ericm [Mon, 18 Sep 2006 20:12:08 +0000 (20:12 +0000)]
branch: b_new_cmd
revert configure change which accidentally checked in.
ericm [Mon, 18 Sep 2006 20:10:14 +0000 (20:10 +0000)]
branch: b_new_cmd
fix according to nikita's suggestion:
- rename ptlrpc_flavor_t => ptlrpc_sec_flavor_t
- use OBD_ALLOC_PTR/OBD_FREE_PTR
- use "=" to assign structure instead of memcpy()
vitaly [Mon, 18 Sep 2006 19:56:14 +0000 (19:56 +0000)]
Branch b_new_cmd
b=22564
Size-on-MDS bugfixes for:
- using in ll_done_writing not pinned inode;
- queuing done_writing before close completes;
- memleak in ll_setattr_raw
yury [Mon, 18 Sep 2006 16:11:02 +0000 (16:11 +0000)]
- rename locking + CMD aware is_subdir() check.
tappro [Mon, 18 Sep 2006 14:15:50 +0000 (14:15 +0000)]
- move mode get code to the cmm_mode_get() function, use it also in cmr_rename()
nikita [Mon, 18 Sep 2006 12:01:56 +0000 (12:01 +0000)]
fix typo
huanghua [Mon, 18 Sep 2006 07:18:39 +0000 (07:18 +0000)]
remove duplicate shrink in mdt_rename_tgt()
tappro [Mon, 18 Sep 2006 07:12:44 +0000 (07:12 +0000)]
sanity test 24 fixes in CMD setup:
- get attributes after remote operation
- make index_delete(target_name) unconditionally in mdd_rename
huanghua [Mon, 18 Sep 2006 07:11:12 +0000 (07:11 +0000)]
(1) shrink rename reply;
(2) add abort_recovery ioctl support for mdt.
huanghua [Mon, 18 Sep 2006 03:39:32 +0000 (03:39 +0000)]
new MDS_CLOSE request format: now, we have mdt_epoch & mdt_setattr_rec instead of mdt_body.
tappro [Sun, 17 Sep 2006 22:39:40 +0000 (22:39 +0000)]
fix cross-ref rename issues
tappro [Sun, 17 Sep 2006 22:37:59 +0000 (22:37 +0000)]
- fix issue with mdd_sobj. it can be remote object.
tappro [Sun, 17 Sep 2006 22:36:39 +0000 (22:36 +0000)]
- fix for sanity test 48a in CMD. lock can be lost in case of -ESTALE
huanghua [Sun, 17 Sep 2006 18:13:37 +0000 (18:13 +0000)]
put object in mdd_rename and cml_rename.
huanghua [Sun, 17 Sep 2006 15:52:06 +0000 (15:52 +0000)]
small fix about RQF_MDT_EPOCH: check buffer len first.
wangdi [Sat, 16 Sep 2006 18:15:48 +0000 (18:15 +0000)]
Branch: b_new_cmd
some fixes about readdir and split dir
tappro [Sat, 16 Sep 2006 10:05:53 +0000 (10:05 +0000)]
- remove wrong assert from mdt_cross_open
- add mdc_attr_get() to retrieve attr for remote object while rename
- cmm changes to prepare src object type before processing with rename
- mdd don't use mdd_object for src while rename, because it can be remote
object, instead of that it uses its fid and type to do operations and checks
yury [Sat, 16 Sep 2006 07:52:18 +0000 (07:52 +0000)]
- removed not used variable.
vitaly [Sat, 16 Sep 2006 00:05:48 +0000 (00:05 +0000)]
Branch b_new_cmd
b=22564
cache file size on mds
tappro [Fri, 15 Sep 2006 16:56:29 +0000 (16:56 +0000)]
- take a lock for cross-ref object while open as lmv required
- separate the lock fixup after intent handling into the mdt_intent_lock_replace() method
huanghua [Fri, 15 Sep 2006 16:47:42 +0000 (16:47 +0000)]
(1) don't create object as required;
(2) shrink unlink reply message;
tappro [Fri, 15 Sep 2006 16:15:20 +0000 (16:15 +0000)]
small fixes
tappro [Fri, 15 Sep 2006 16:13:01 +0000 (16:13 +0000)]
- add cmm_thread_info key to the context,
- fix sgid issue with cros-ref case (sanity 6g)
- fix NULL md_attr while cml_rename()
wangdi [Fri, 15 Sep 2006 10:28:03 +0000 (10:28 +0000)]
Branch: b_new_cmd
some fixes about splitting dir
huanghua [Fri, 15 Sep 2006 04:02:58 +0000 (04:02 +0000)]
use xxxxx-MDTXXXX-mdtlov as mdt lov name to modify lov param
yury [Thu, 14 Sep 2006 13:38:33 +0000 (13:38 +0000)]
- update from 1_5
wangdi [Thu, 14 Sep 2006 10:55:17 +0000 (10:55 +0000)]
Branch: b_new_cmd
the page should be lock when truncate it
yury [Thu, 14 Sep 2006 10:45:32 +0000 (10:45 +0000)]
- make all "getters" name correspond to naming paradigm module-object-action.
huanghua [Thu, 14 Sep 2006 10:29:10 +0000 (10:29 +0000)]
(1) call mdt_shrink_reply() whenever possaible;
(2) fix a bug in mdc_xxx_pack(): 32 bit integer to __u64 convertion
huanghua [Thu, 14 Sep 2006 03:10:12 +0000 (03:10 +0000)]
call mds_postrecv() by pointer, not directly.
ericm [Thu, 14 Sep 2006 01:02:10 +0000 (01:02 +0000)]
branch: b_new_cmd
add a empty sec context handler on mdt.
nikita [Wed, 13 Sep 2006 22:53:44 +0000 (22:53 +0000)]
osd: check that transaction handle is supplied
yury [Wed, 13 Sep 2006 17:09:09 +0000 (17:09 +0000)]
- root_get and conf_get renamed to get_root and get_conf to be coherent with other "getters";
- fixes in headers of fld and seq-mgr;
- fixed getattr_by_fid (Vitaly's original patch);
- save connect data from server to tgts data array in LMV, set LMV exp->exp_connect_flags in
lmv_notify (needed for fixing getattr_by_fid issue found by Vitaly). Fixes in lmv_notify about
setting targets active/inactive;
- some cleanups in fid/*.[ch];
- ->ls_client_exp renamed to ls_control_exp to show that it is export to MDT0 in cluster;
- in mdc call observer notify for OCD data event;
- fixes in lmv/*.[ch] about using lustre_idl.h;
- committed some parts of rename locking in mdt, using ls_control_exp to requst BFL from MDT0.
tappro [Wed, 13 Sep 2006 16:39:36 +0000 (16:39 +0000)]
- add flag no_lov_create in create_spec
- update mdd lov related code to handle no_lov_create and don't try to create
objects during replay open|create
- call ldo_recovery_complete() at the end of mdt_init0()
- set mdd obd to recovering state initially and reset recovering flag from
mdd_recovery_complete()
tappro [Wed, 13 Sep 2006 16:34:09 +0000 (16:34 +0000)]
fix issues from last commit.
wangdi [Wed, 13 Sep 2006 15:39:57 +0000 (15:39 +0000)]
Branch: b_new_cmd
a lot fixes about splitting dir
yujian [Wed, 13 Sep 2006 07:19:40 +0000 (07:19 +0000)]
Replace comma with whitespace in params' string.
tappro [Tue, 12 Sep 2006 22:08:47 +0000 (22:08 +0000)]
Update after codeinsp
- client adding/removal in last_rcvd is updated
- pass credits to the trans_start() instead of using hardcoded value
- protect bitmap operation with lock
- separate client_add() and client_new()
- fix using the uninitializated variable in filter.c
ericm [Tue, 12 Sep 2006 20:58:31 +0000 (20:58 +0000)]
branch: b_new_cmd
PKG_CHECK_MODULES require automake >= 1.7.9, and mountain has its own
tricks of building system which not easily be upgraded. So disable GSSAPI
checking for now, until the building env sorted out on mountain.
huanghua [Tue, 12 Sep 2006 17:43:49 +0000 (17:43 +0000)]
(1) fix a bug about transaction credit;
(2) fix some typo;
huanghua [Tue, 12 Sep 2006 05:14:27 +0000 (05:14 +0000)]
(1) fix error handling in mdd_create_data();
(2) do not assert in mdt_recovery().
huanghua [Tue, 12 Sep 2006 04:11:06 +0000 (04:11 +0000)]
(1) fix a bug in write mcd: about memcpy argument;
(2) add some debug code for read & write last_rcvd record;
(3) rmmod manually.
ericm [Tue, 12 Sep 2006 00:17:41 +0000 (00:17 +0000)]
branch: b_new_cmd
fix make dist for gss subdir.
tappro [Mon, 11 Sep 2006 23:36:00 +0000 (23:36 +0000)]
update after codeinsp
ericm [Mon, 11 Sep 2006 22:05:02 +0000 (22:05 +0000)]
branch: b_new_cmd
land gss/krb5. but for now gss is disabled by default.
ericm [Mon, 11 Sep 2006 20:14:56 +0000 (20:14 +0000)]
branch: b_new_cmd
add lustre_sec.h into EXTRA_DIST list.
ericm [Mon, 11 Sep 2006 16:53:38 +0000 (16:53 +0000)]
branch: b_new_cmd
land the first part of secure ptlrpc support.
huanghua [Mon, 11 Sep 2006 10:52:05 +0000 (10:52 +0000)]
handle NULL parent in open replay.
tappro [Mon, 11 Sep 2006 07:47:12 +0000 (07:47 +0000)]
small fixes
huanghua [Mon, 11 Sep 2006 07:28:10 +0000 (07:28 +0000)]
fix a memleak.
yury [Mon, 11 Sep 2006 04:52:07 +0000 (04:52 +0000)]
- fixed typo
yury [Mon, 11 Sep 2006 04:49:30 +0000 (04:49 +0000)]
- trivial cleanup in arguments order;
- fixed bug in seq-mgr recovery code, @in should be taken from client, not from server.
tappro [Sun, 10 Sep 2006 21:33:30 +0000 (21:33 +0000)]
add defects inspired by removing local fld connection.
- cmm_tgt_count is 1 less than total MDS number
- fld_server_lookup() stores mds number in wrong variable because it is
rewritten later.
nikita [Sun, 10 Sep 2006 18:23:15 +0000 (18:23 +0000)]
kgdb patch: adjust to match sles9 version
nikita [Sun, 10 Sep 2006 18:22:29 +0000 (18:22 +0000)]
style: use enum instead of #define
huanghua [Sun, 10 Sep 2006 17:41:29 +0000 (17:41 +0000)]
set ma->ma_lmm_size and ma->ma_cookie_size.
huanghua [Sun, 10 Sep 2006 17:11:58 +0000 (17:11 +0000)]
(1) add some debug code for last_rcvd;
(2) allocate memory for d_attr(->lmm,cookie) which is passed into mdt_mfd_close()
tappro [Sun, 10 Sep 2006 16:44:51 +0000 (16:44 +0000)]
- fix defect in mdt_postrecov() with calling wrong lu_device operation
- fix fini order for ldlm_namespace_free() in mdt_fini()
nikita [Sun, 10 Sep 2006 16:37:44 +0000 (16:37 +0000)]
remove unused RQF_MDS_WRITEPAGE
huanghua [Sun, 10 Sep 2006 14:57:09 +0000 (14:57 +0000)]
some code cleapup about read & write last_rcvd record.
huanghua [Sun, 10 Sep 2006 14:30:32 +0000 (14:30 +0000)]
fix some small bugs related to recovery.
tappro [Sun, 10 Sep 2006 10:22:56 +0000 (10:22 +0000)]
- separate objid handling into sub-functions
- add mdd_lov_create_finish() to update/free objids right before transaction
stop to avoid writting the objids in error case
- free objids immediately in case of error in mdd_lov_create()
tappro [Sun, 10 Sep 2006 10:18:27 +0000 (10:18 +0000)]
- don't try to get mdt if self_export is destroyed
- small fixes
tappro [Sun, 10 Sep 2006 06:32:04 +0000 (06:32 +0000)]
add o_postrecov method to the mdt
yury [Sat, 9 Sep 2006 11:06:26 +0000 (11:06 +0000)]
- fixed ctx using in fld_client (bug found by Tom). In few words, ctx cannot be saved in fld_client struct as it is per-thread;
- fixes in split code, after allocating fid in new seq, caller should also setup FLD for it.
wangdi [Sat, 9 Sep 2006 08:34:15 +0000 (08:34 +0000)]
Branch: b_new_cmd
some fixes about split dir
wangdi [Sat, 9 Sep 2006 07:52:51 +0000 (07:52 +0000)]
Branch: b_new_cmd
add mdd_txn callback to write objids in mds to fix runtests bugs
huanghua [Fri, 8 Sep 2006 15:40:51 +0000 (15:40 +0000)]
the offset should not be modified; so use a temporay variable.
tappro [Fri, 8 Sep 2006 11:45:32 +0000 (11:45 +0000)]
force unloading the ..._test modules
yury [Fri, 8 Sep 2006 10:22:13 +0000 (10:22 +0000)]
- MSG_RESENT support in FLD.
tappro [Fri, 8 Sep 2006 07:00:49 +0000 (07:00 +0000)]
fix memleak
tappro [Fri, 8 Sep 2006 00:36:38 +0000 (00:36 +0000)]
fix several memleaks and small issues
yury [Thu, 7 Sep 2006 15:53:33 +0000 (15:53 +0000)]
- some be_cpu, etc., convetions.
yury [Thu, 7 Sep 2006 15:47:59 +0000 (15:47 +0000)]
- a little bit more noise about read/write seq-mgr data to store.
yury [Thu, 7 Sep 2006 15:44:15 +0000 (15:44 +0000)]
- fixes in reading store by seq-mgr;
- cleanups about le_cpu, etc., functions.
wangdi [Thu, 7 Sep 2006 15:18:27 +0000 (15:18 +0000)]
Branch: b_new_cmd
in cmd, group should start from 1
tappro [Thu, 7 Sep 2006 15:02:33 +0000 (15:02 +0000)]
- change debug level for object init/fini messages
- do osd_sync() in osd_device_fini()
- add debug message in assert for lu_device refcount
huanghua [Thu, 7 Sep 2006 14:45:35 +0000 (14:45 +0000)]
(1) support mdt reconnection from client;
(2) fix a bug in open replay: it should be fid2;