Whamcloud - gitweb
huanghua [Tue, 11 Jul 2006 11:06:45 +0000 (11:06 +0000)]
fixed a bug in mdt_intent_getattr(): use reply message before packing it.
huanghua [Tue, 11 Jul 2006 10:20:43 +0000 (10:20 +0000)]
fixed some defects according to inspection.
mainly about -EREMOTE in CMD.
tappro [Mon, 10 Jul 2006 15:52:18 +0000 (15:52 +0000)]
add transaction callback in mdt
tappro [Mon, 10 Jul 2006 15:42:00 +0000 (15:42 +0000)]
- comment out trouble-making stuff temporary
huanghua [Mon, 10 Jul 2006 09:08:33 +0000 (09:08 +0000)]
fixed some defects after DLD.
wangdi [Mon, 10 Jul 2006 06:12:15 +0000 (06:12 +0000)]
Branch: b_new_cmd
fixes after inspection
huanghua [Sun, 9 Jul 2006 17:33:58 +0000 (17:33 +0000)]
fix some bug:
(1) duplicate memory in mdt_obd_disconnect & mdt_client_free;
(2) comment out some read & write code;
(3) transaction related. (still need more work)
huanghua [Sun, 9 Jul 2006 13:56:06 +0000 (13:56 +0000)]
fixed some defects according to inspection result. (not finished)
tappro [Sun, 9 Jul 2006 08:08:47 +0000 (08:08 +0000)]
- fix using child as parent
tappro [Sun, 9 Jul 2006 07:26:35 +0000 (07:26 +0000)]
- fix wrong lock instead of unlock
nikita [Sat, 8 Jul 2006 12:51:41 +0000 (12:51 +0000)]
osd_mkdir(): create iam-formatted files
nikita [Sat, 8 Jul 2006 12:51:18 +0000 (12:51 +0000)]
iam: add code to create iam files from kernel
wangdi [Sat, 8 Jul 2006 04:16:11 +0000 (04:16 +0000)]
Branch: b_new_cmd
some fixes after mike's inspection
yury [Fri, 7 Jul 2006 21:59:19 +0000 (21:59 +0000)]
file kernel-2.6.16-2.6-patchless-x86_64.config was added on branch b_new_cmd on 2006-08-20 13:12:41 +0000
yury [Fri, 7 Jul 2006 21:59:13 +0000 (21:59 +0000)]
file kernel-2.6.16-2.6-patchless-x86_64-smp.config was added on branch b_new_cmd on 2006-08-20 13:12:41 +0000
yury [Fri, 7 Jul 2006 21:59:07 +0000 (21:59 +0000)]
file kernel-2.6.16-2.6-patchless-ia64.config was added on branch b_new_cmd on 2006-08-20 13:12:40 +0000
yury [Fri, 7 Jul 2006 21:59:00 +0000 (21:59 +0000)]
file kernel-2.6.16-2.6-patchless-ia64-smp.config was added on branch b_new_cmd on 2006-08-20 13:12:40 +0000
nikita [Fri, 7 Jul 2006 11:35:39 +0000 (11:35 +0000)]
lu_object_assert_{,not_}exists(): simplify
nikita [Fri, 7 Jul 2006 11:34:51 +0000 (11:34 +0000)]
osd_object_exists(): return strictly 0,1 rather then false/true
huanghua [Fri, 7 Jul 2006 09:13:15 +0000 (09:13 +0000)]
added open support: the simplest case, no CMD, no xattr.
huanghua [Fri, 7 Jul 2006 03:45:47 +0000 (03:45 +0000)]
(1)fix some defects found in inspection.
(2)disabled mdt_fs operation, waiting for read & write of osd.
huanghua [Thu, 6 Jul 2006 07:15:26 +0000 (07:15 +0000)]
add prototype code for open, just passed compilation, will be revisioned later.
add prototype code for handling last_rcvd.
wangdi [Thu, 6 Jul 2006 06:30:51 +0000 (06:30 +0000)]
Branch: b_new_cmd
refine rename lock code
ericm [Thu, 6 Jul 2006 00:53:51 +0000 (00:53 +0000)]
file krb5_login.sh was added on branch b_new_cmd on 2006-09-11 22:05:00 +0000
yury [Wed, 5 Jul 2006 22:20:05 +0000 (22:20 +0000)]
file libmgc.c was added on branch b_new_cmd on 2006-08-20 13:13:03 +0000
yury [Wed, 5 Jul 2006 20:39:21 +0000 (20:39 +0000)]
file lr_reader.c was added on branch b_new_cmd on 2006-08-20 13:13:19 +0000
wangdi [Wed, 5 Jul 2006 12:14:34 +0000 (12:14 +0000)]
Branch: b_new_cmd
update mdd lov
wangdi [Wed, 5 Jul 2006 06:05:46 +0000 (06:05 +0000)]
Branch: b_new_cmd
add rename lock prototype
yury [Tue, 4 Jul 2006 17:14:50 +0000 (17:14 +0000)]
- cleanups and small fixes accordingly to Nikita's DLDINSP.
yury [Mon, 3 Jul 2006 16:19:31 +0000 (16:19 +0000)]
- some fixes after DLDINSP.
nikita [Mon, 3 Jul 2006 15:02:56 +0000 (15:02 +0000)]
fix typo
wangdi [Mon, 3 Jul 2006 10:24:15 +0000 (10:24 +0000)]
Branch: b_new_cmd
serval fixes about mdd lov
huanghua [Mon, 3 Jul 2006 04:00:48 +0000 (04:00 +0000)]
return if error; check NULL pointer;
nikita [Sun, 2 Jul 2006 21:17:42 +0000 (21:17 +0000)]
iam: add lvar format
nikita [Sun, 2 Jul 2006 21:17:19 +0000 (21:17 +0000)]
create_iam: add ability to create files of different formats
nikita [Sun, 2 Jul 2006 21:16:46 +0000 (21:16 +0000)]
iam-uapi: add (temporary) hack: an ioctl() converting regular file into directory
nikita [Sun, 2 Jul 2006 21:15:54 +0000 (21:15 +0000)]
oi: /oi file is regular now
nikita [Sun, 2 Jul 2006 21:15:32 +0000 (21:15 +0000)]
osd: cleanup index code
nikita [Sun, 2 Jul 2006 21:14:43 +0000 (21:14 +0000)]
dt_object: add di_is_dir() helper
nikita [Sun, 2 Jul 2006 21:14:30 +0000 (21:14 +0000)]
add comment with problem description
nikita [Sun, 2 Jul 2006 21:13:12 +0000 (21:13 +0000)]
fld: remove excessive locking: ->dio_*() operations are doing locking internally
nikita [Sun, 2 Jul 2006 21:12:33 +0000 (21:12 +0000)]
fid_is_local(): move it back into fld module
huanghua [Fri, 30 Jun 2006 15:45:20 +0000 (15:45 +0000)]
remove a debug stub.
huanghua [Fri, 30 Jun 2006 15:40:57 +0000 (15:40 +0000)]
fix again the intent.
huanghua [Fri, 30 Jun 2006 15:36:52 +0000 (15:36 +0000)]
fixed a bug introduced by code cleanup.
yury [Fri, 30 Jun 2006 15:29:15 +0000 (15:29 +0000)]
- changes about FLD cache. By now it is not belong module FLD and rather belong only to client FLD instance;
- fid_is_local() uses client FLD cache, site contains ls_client_fld which is initialized and used by cmm;
- in fld_client_del_target() use class_export_put() instead of class_export_get(). The same in fini path;
- added struct fld_target which wraps obd_export and target index to not use silly counter while getting correct target by hash. This prevents it from wrong behavios if some target will be removed in alive cluster;
- all __u64 seq are replaced by seqno_t seq and all __u64 mds replaced by mdsno_t mds.
brian [Fri, 30 Jun 2006 13:42:48 +0000 (13:42 +0000)]
file lustre_createcsv.sh.in was added on branch b_new_cmd on 2006-08-19 03:08:14 +0000
brian [Fri, 30 Jun 2006 13:42:43 +0000 (13:42 +0000)]
file lustre_config.sh.in was added on branch b_new_cmd on 2006-08-19 03:08:14 +0000
brian [Fri, 30 Jun 2006 13:42:38 +0000 (13:42 +0000)]
file lc_net.sh.in was added on branch b_new_cmd on 2006-08-19 03:08:14 +0000
brian [Fri, 30 Jun 2006 13:42:33 +0000 (13:42 +0000)]
file lc_modprobe.sh.in was added on branch b_new_cmd on 2006-08-19 03:08:14 +0000
brian [Fri, 30 Jun 2006 13:42:28 +0000 (13:42 +0000)]
file lc_hb.sh.in was added on branch b_new_cmd on 2006-08-19 03:08:14 +0000
brian [Fri, 30 Jun 2006 13:42:23 +0000 (13:42 +0000)]
file lc_common.sh was added on branch b_new_cmd on 2006-08-19 03:08:14 +0000
brian [Fri, 30 Jun 2006 13:42:18 +0000 (13:42 +0000)]
file lc_cluman.sh.in was added on branch b_new_cmd on 2006-08-19 03:08:14 +0000
nikita [Fri, 30 Jun 2006 13:36:01 +0000 (13:36 +0000)]
fid_is_local(): make it non-inline and conservative
yury [Fri, 30 Jun 2006 12:50:25 +0000 (12:50 +0000)]
- commit not finished fid_is_local() related things, Nikita will finish OSD stuff in minute.
yury [Fri, 30 Jun 2006 12:26:14 +0000 (12:26 +0000)]
- fixes after FLD CR:
* cache API is moved to fld_cache.c;
* cache is now used both on server and client;
* fixed name aliasing. There was fld_cache global struct, also there were lots of functions which took fld_cache instance pointr which name was fld_cache;
* fixed memory leaks in fld_cache_fini(). There was missed releasing of all cached entries;
* do not translate fld_cache_*() errors to caller on server and client. If some error happens in cache working funtions, we do not care of that.
huanghua [Fri, 30 Jun 2006 09:33:17 +0000 (09:33 +0000)]
passed second round code review and compilation.
nikita [Thu, 29 Jun 2006 15:39:48 +0000 (15:39 +0000)]
kill unused variable
nikita [Thu, 29 Jun 2006 15:39:35 +0000 (15:39 +0000)]
iam_ut: handle NUL-teminated keys and records
nikita [Thu, 29 Jun 2006 15:39:08 +0000 (15:39 +0000)]
revert mdd_create() back to original order of operations
nikita [Thu, 29 Jun 2006 15:38:25 +0000 (15:38 +0000)]
iam: fixes
huanghua [Thu, 29 Jun 2006 10:20:51 +0000 (10:20 +0000)]
after first round review of MDT.
(1) remove dependcy from lustre/mds/mds_internal.h
yury [Thu, 29 Jun 2006 10:02:27 +0000 (10:02 +0000)]
- implemented Mike's idea that seq-controller and seq-server should be different instances of lu_server_seq on controller node;
- some fixes after DLDINSP,cleanups.
wangdi [Thu, 29 Jun 2006 08:46:36 +0000 (08:46 +0000)]
Branch: b_new_cmd
disable nonblock lov sync, since ctxt can not be shared by 2 threads now.
wangdi [Wed, 28 Jun 2006 13:51:52 +0000 (13:51 +0000)]
Branch: b_new_cmd
some fixes after mdd code inspection
huanghua [Wed, 28 Jun 2006 13:51:14 +0000 (13:51 +0000)]
fix a bug.
yury [Wed, 28 Jun 2006 10:59:40 +0000 (10:59 +0000)]
file 2.6-rhel4-titech.series was added on branch b_new_cmd on 2006-08-20 13:12:47 +0000
huanghua [Wed, 28 Jun 2006 08:55:56 +0000 (08:55 +0000)]
some code cleanup:
(1) GOTO & RETURN cleanup;
(2) pass lu_context into mdt_init0() & mdt_fini();
yury [Wed, 28 Jun 2006 06:43:26 +0000 (06:43 +0000)]
- cleanups about using context as Nikita suggested.
nikita [Tue, 27 Jun 2006 22:32:55 +0000 (22:32 +0000)]
iam update
yury [Tue, 27 Jun 2006 15:30:29 +0000 (15:30 +0000)]
file 2.6-patchless.target.in was added on branch b_new_cmd on 2006-08-20 13:12:48 +0000
yury [Tue, 27 Jun 2006 12:30:11 +0000 (12:30 +0000)]
- rename fld_*_export() functions into fld_*_target().
yury [Tue, 27 Jun 2006 10:44:12 +0000 (10:44 +0000)]
- init store before using it.
yury [Tue, 27 Jun 2006 10:39:01 +0000 (10:39 +0000)]
- added fid_store.c which contains methods working with backing store what is needed to save seq-mgr states on server. Some cleanups in fld.
wangdi [Tue, 27 Jun 2006 09:41:08 +0000 (09:41 +0000)]
Branch: b_new_cmd
1)add obd observer mechanism to mdd lov
2)some cleanup
huanghua [Tue, 27 Jun 2006 08:26:57 +0000 (08:26 +0000)]
fix syntax error by silly mistake.
huanghua [Tue, 27 Jun 2006 07:32:36 +0000 (07:32 +0000)]
add a skeleton for close.
some small fix in mdt_hander.c
huanghua [Tue, 27 Jun 2006 04:04:41 +0000 (04:04 +0000)]
small fix in reint create.
yury [Tue, 27 Jun 2006 02:29:39 +0000 (02:29 +0000)]
file kernel-2.6.16-2.6-patchless-i686.config was added on branch b_new_cmd on 2006-08-20 13:12:40 +0000
yury [Tue, 27 Jun 2006 02:29:34 +0000 (02:29 +0000)]
file kernel-2.6.16-2.6-patchless-i686-smp.config was added on branch b_new_cmd on 2006-08-20 13:12:40 +0000
huanghua [Mon, 26 Jun 2006 17:27:36 +0000 (17:27 +0000)]
added some partial operation support.
yury [Mon, 26 Jun 2006 14:43:33 +0000 (14:43 +0000)]
- made fld and seq-mgr a bit less noisy.
yury [Mon, 26 Jun 2006 13:09:54 +0000 (13:09 +0000)]
- changed prefix in struct fld_cache_info from "fld_" to "fci_";
- changed prefix in struct fld_cache_entry from "fld_" to "fce_".
yury [Mon, 26 Jun 2006 13:00:44 +0000 (13:00 +0000)]
- fixed bug in fld_cache_insert(). Just allocated struct fld_cache was substituted by enumeration tmp pointer what led to inserting into cache some struct fld_cache which is already in cache (for case cache is not empty) or insert nothing if cache is yet empty;
- struct fld_cache renamed to struct fld_cache_entry and related renames.
tappro [Mon, 26 Jun 2006 12:19:12 +0000 (12:19 +0000)]
use mdt_body
yury [Mon, 26 Jun 2006 12:11:31 +0000 (12:11 +0000)]
- added "hash" proc tunable to client FLD;
- fixes in FLD procfs.
tappro [Mon, 26 Jun 2006 10:34:49 +0000 (10:34 +0000)]
- rc_swabbed is set after swabbing
- fix issue with opc in mdt_intent_reint()
- changes in mdt_reint_open() in order of making open() proto
tappro [Mon, 26 Jun 2006 10:28:13 +0000 (10:28 +0000)]
small fix
tappro [Mon, 26 Jun 2006 10:14:24 +0000 (10:14 +0000)]
- add cml_name_insert() to support missed cross-ref rename() case.
- cmm_object_alloc() should return NULL if error
huanghua [Mon, 26 Jun 2006 09:50:51 +0000 (09:50 +0000)]
added more code for reint (link/unlink/rename).
yury [Mon, 26 Jun 2006 08:40:58 +0000 (08:40 +0000)]
- return back wrong fix in mdd code. Issue was related to need to rebuild all from scratch.
yury [Mon, 26 Jun 2006 08:06:14 +0000 (08:06 +0000)]
- trivial fixes in mdd;
- added fld "targets" procfs entry to see what MDT targets fld does work with and send RPCs to.
wangdi [Mon, 26 Jun 2006 03:36:41 +0000 (03:36 +0000)]
Branch: b_new_cmd
add mdd_lov prototype
yury [Sun, 25 Jun 2006 15:26:33 +0000 (15:26 +0000)]
- fixes in seq-mgr procfs stuff;
- added basic procfs support to fld.
yury [Sun, 25 Jun 2006 14:29:53 +0000 (14:29 +0000)]
- fixes in fld procfs;
- added server procfs entry to client's seq-mgrs
yury [Sun, 25 Jun 2006 14:00:12 +0000 (14:00 +0000)]
- sequence width on clients, super-width and meta-width on servers are dynamic now and may be changed via procfs tunables;
- added many tunables both to server and client.
yury [Sun, 25 Jun 2006 13:20:53 +0000 (13:20 +0000)]
- fixes in seq-mgr proc stuff. By now all seq-mgr proc root entriy names based on name of obd they are stick with;
- added seq-mgr client proc basics.
yury [Sun, 25 Jun 2006 10:40:35 +0000 (10:40 +0000)]
- some fixes after DLDINSP
tappro [Fri, 23 Jun 2006 20:15:35 +0000 (20:15 +0000)]
root_get() makes sense only on master MDS
tappro [Fri, 23 Jun 2006 18:56:59 +0000 (18:56 +0000)]
- change lu_object_exists() so it may return -1 for remote object.
- make the second parameter in lu_object_exists() constant
- use lu_object_exists instead of cmm_is_local_object()