Whamcloud - gitweb
fs/lustre-release.git
18 years agofixed a bug in mdt_intent_getattr(): use reply message before packing it.
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.

18 years agofixed some defects according to inspection.
huanghua [Tue, 11 Jul 2006 10:20:43 +0000 (10:20 +0000)]
fixed some defects according to inspection.
mainly about -EREMOTE in CMD.

18 years agoadd transaction callback in mdt
tappro [Mon, 10 Jul 2006 15:52:18 +0000 (15:52 +0000)]
add transaction callback in mdt

18 years ago- comment out trouble-making stuff temporary
tappro [Mon, 10 Jul 2006 15:42:00 +0000 (15:42 +0000)]
- comment out trouble-making stuff temporary

18 years agofixed some defects after DLD.
huanghua [Mon, 10 Jul 2006 09:08:33 +0000 (09:08 +0000)]
fixed some defects after DLD.

18 years agoBranch: b_new_cmd
wangdi [Mon, 10 Jul 2006 06:12:15 +0000 (06:12 +0000)]
Branch: b_new_cmd
fixes after inspection

18 years agofix some bug:
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)

18 years agofixed some defects according to inspection result. (not finished)
huanghua [Sun, 9 Jul 2006 13:56:06 +0000 (13:56 +0000)]
fixed some defects according to inspection result. (not finished)

18 years ago- fix using child as parent
tappro [Sun, 9 Jul 2006 08:08:47 +0000 (08:08 +0000)]
- fix using child as parent

18 years ago- fix wrong lock instead of unlock
tappro [Sun, 9 Jul 2006 07:26:35 +0000 (07:26 +0000)]
- fix wrong lock instead of unlock

18 years agoosd_mkdir(): create iam-formatted files
nikita [Sat, 8 Jul 2006 12:51:41 +0000 (12:51 +0000)]
osd_mkdir(): create iam-formatted files

18 years agoiam: add code to create iam files from kernel
nikita [Sat, 8 Jul 2006 12:51:18 +0000 (12:51 +0000)]
iam: add code to create iam files from kernel

18 years agoBranch: b_new_cmd
wangdi [Sat, 8 Jul 2006 04:16:11 +0000 (04:16 +0000)]
Branch: b_new_cmd
some fixes after mike's inspection

18 years agofile kernel-2.6.16-2.6-patchless-x86_64.config was added on branch b_new_cmd on 2006...
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

18 years agofile kernel-2.6.16-2.6-patchless-x86_64-smp.config was added on branch b_new_cmd...
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

18 years agofile kernel-2.6.16-2.6-patchless-ia64.config was added on branch b_new_cmd on 2006...
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

18 years agofile kernel-2.6.16-2.6-patchless-ia64-smp.config was added on branch b_new_cmd on...
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

18 years agolu_object_assert_{,not_}exists(): simplify
nikita [Fri, 7 Jul 2006 11:35:39 +0000 (11:35 +0000)]
lu_object_assert_{,not_}exists(): simplify

18 years agoosd_object_exists(): return strictly 0,1 rather then false/true
nikita [Fri, 7 Jul 2006 11:34:51 +0000 (11:34 +0000)]
osd_object_exists(): return strictly 0,1 rather then false/true

18 years agoadded open support: the simplest case, no CMD, no xattr.
huanghua [Fri, 7 Jul 2006 09:13:15 +0000 (09:13 +0000)]
added open support: the simplest case, no CMD, no xattr.

18 years ago(1)fix some defects found in inspection.
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.

18 years agoadd prototype code for open, just passed compilation, will be revisioned later.
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.

18 years agoBranch: b_new_cmd
wangdi [Thu, 6 Jul 2006 06:30:51 +0000 (06:30 +0000)]
Branch: b_new_cmd
refine rename lock code

18 years agofile krb5_login.sh was added on branch b_new_cmd on 2006-09-11 22:05:00 +0000
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

18 years agofile libmgc.c was added on branch b_new_cmd on 2006-08-20 13:13:03 +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

18 years agofile lr_reader.c was added on branch b_new_cmd on 2006-08-20 13:13:19 +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

18 years agoBranch: b_new_cmd
wangdi [Wed, 5 Jul 2006 12:14:34 +0000 (12:14 +0000)]
Branch: b_new_cmd
update mdd lov

18 years agoBranch: b_new_cmd
wangdi [Wed, 5 Jul 2006 06:05:46 +0000 (06:05 +0000)]
Branch: b_new_cmd
add rename lock prototype

18 years ago- cleanups and small fixes accordingly to Nikita's DLDINSP.
yury [Tue, 4 Jul 2006 17:14:50 +0000 (17:14 +0000)]
- cleanups and small fixes accordingly to Nikita's DLDINSP.

18 years ago- some fixes after DLDINSP.
yury [Mon, 3 Jul 2006 16:19:31 +0000 (16:19 +0000)]
- some fixes after DLDINSP.

18 years agofix typo
nikita [Mon, 3 Jul 2006 15:02:56 +0000 (15:02 +0000)]
fix typo

18 years agoBranch: b_new_cmd
wangdi [Mon, 3 Jul 2006 10:24:15 +0000 (10:24 +0000)]
Branch: b_new_cmd
serval fixes about mdd lov

18 years agoreturn if error; check NULL pointer;
huanghua [Mon, 3 Jul 2006 04:00:48 +0000 (04:00 +0000)]
return if error; check NULL pointer;

18 years agoiam: add lvar format
nikita [Sun, 2 Jul 2006 21:17:42 +0000 (21:17 +0000)]
iam: add lvar format

18 years agocreate_iam: add ability to create files of different formats
nikita [Sun, 2 Jul 2006 21:17:19 +0000 (21:17 +0000)]
create_iam: add ability to create files of different formats

18 years agoiam-uapi: add (temporary) hack: an ioctl() converting regular file into directory
nikita [Sun, 2 Jul 2006 21:16:46 +0000 (21:16 +0000)]
iam-uapi: add (temporary) hack: an ioctl() converting regular file into directory

18 years agooi: /oi file is regular now
nikita [Sun, 2 Jul 2006 21:15:54 +0000 (21:15 +0000)]
oi: /oi file is regular now

18 years agoosd: cleanup index code
nikita [Sun, 2 Jul 2006 21:15:32 +0000 (21:15 +0000)]
osd: cleanup index code

18 years agodt_object: add di_is_dir() helper
nikita [Sun, 2 Jul 2006 21:14:43 +0000 (21:14 +0000)]
dt_object: add di_is_dir() helper

18 years agoadd comment with problem description
nikita [Sun, 2 Jul 2006 21:14:30 +0000 (21:14 +0000)]
add comment with problem description

18 years agofld: remove excessive locking: ->dio_*() operations are doing locking internally
nikita [Sun, 2 Jul 2006 21:13:12 +0000 (21:13 +0000)]
fld: remove excessive locking: ->dio_*() operations are doing locking internally

18 years agofid_is_local(): move it back into fld module
nikita [Sun, 2 Jul 2006 21:12:33 +0000 (21:12 +0000)]
fid_is_local(): move it back into fld module

18 years agoremove a debug stub.
huanghua [Fri, 30 Jun 2006 15:45:20 +0000 (15:45 +0000)]
remove a debug stub.

18 years agofix again the intent.
huanghua [Fri, 30 Jun 2006 15:40:57 +0000 (15:40 +0000)]
fix again the intent.

18 years agofixed a bug introduced by code cleanup.
huanghua [Fri, 30 Jun 2006 15:36:52 +0000 (15:36 +0000)]
fixed a bug introduced by code cleanup.

18 years ago- changes about FLD cache. By now it is not belong module FLD and rather belong only...
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.

18 years agofile lustre_createcsv.sh.in was added on branch b_new_cmd on 2006-08-19 03:08:14...
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

18 years agofile 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: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

18 years agofile 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: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

18 years agofile 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: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

18 years agofile 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: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

18 years agofile 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:23 +0000 (13:42 +0000)]
file lc_common.sh was added on branch b_new_cmd on 2006-08-19 03:08:14 +0000

18 years agofile lc_cluman.sh.in 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

18 years agofid_is_local(): make it non-inline and conservative
nikita [Fri, 30 Jun 2006 13:36:01 +0000 (13:36 +0000)]
fid_is_local(): make it non-inline and conservative

18 years ago- commit not finished fid_is_local() related things, Nikita will finish OSD stuff...
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.

18 years ago- fixes after FLD CR:
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.

18 years agopassed second round code review and compilation.
huanghua [Fri, 30 Jun 2006 09:33:17 +0000 (09:33 +0000)]
passed second round code review and compilation.

18 years agokill unused variable
nikita [Thu, 29 Jun 2006 15:39:48 +0000 (15:39 +0000)]
kill unused variable

18 years agoiam_ut: handle NUL-teminated keys and records
nikita [Thu, 29 Jun 2006 15:39:35 +0000 (15:39 +0000)]
iam_ut: handle NUL-teminated keys and records

18 years agorevert mdd_create() back to original order of operations
nikita [Thu, 29 Jun 2006 15:39:08 +0000 (15:39 +0000)]
revert mdd_create() back to original order of operations

18 years agoiam: fixes
nikita [Thu, 29 Jun 2006 15:38:25 +0000 (15:38 +0000)]
iam: fixes

18 years agoafter first round review of MDT.
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

18 years ago- implemented Mike's idea that seq-controller and seq-server should be different...
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.

18 years agoBranch: b_new_cmd
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.

18 years agoBranch: b_new_cmd
wangdi [Wed, 28 Jun 2006 13:51:52 +0000 (13:51 +0000)]
Branch: b_new_cmd
some fixes after mdd code inspection

18 years agofix a bug.
huanghua [Wed, 28 Jun 2006 13:51:14 +0000 (13:51 +0000)]
fix a bug.

18 years agofile 2.6-rhel4-titech.series was added on branch b_new_cmd on 2006-08-20 13:12:47...
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

18 years agosome code cleanup:
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();

18 years ago- cleanups about using context as Nikita suggested.
yury [Wed, 28 Jun 2006 06:43:26 +0000 (06:43 +0000)]
- cleanups about using context as Nikita suggested.

18 years agoiam update
nikita [Tue, 27 Jun 2006 22:32:55 +0000 (22:32 +0000)]
iam update

18 years agofile 2.6-patchless.target.in was added on branch b_new_cmd on 2006-08-20 13:12:48...
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

18 years ago- rename fld_*_export() functions into fld_*_target().
yury [Tue, 27 Jun 2006 12:30:11 +0000 (12:30 +0000)]
- rename fld_*_export() functions into fld_*_target().

18 years ago- init store before using it.
yury [Tue, 27 Jun 2006 10:44:12 +0000 (10:44 +0000)]
- init store before using it.

18 years ago- added fid_store.c which contains methods working with backing store what is needed...
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.

18 years agoBranch: b_new_cmd
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

18 years agofix syntax error by silly mistake.
huanghua [Tue, 27 Jun 2006 08:26:57 +0000 (08:26 +0000)]
fix syntax error by silly mistake.

18 years agoadd a skeleton for close.
huanghua [Tue, 27 Jun 2006 07:32:36 +0000 (07:32 +0000)]
add a skeleton for close.
some small fix in mdt_hander.c

18 years agosmall fix in reint create.
huanghua [Tue, 27 Jun 2006 04:04:41 +0000 (04:04 +0000)]
small fix in reint create.

18 years agofile kernel-2.6.16-2.6-patchless-i686.config was added on branch b_new_cmd on 2006...
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

18 years agofile kernel-2.6.16-2.6-patchless-i686-smp.config was added on branch b_new_cmd on...
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

18 years agoadded some partial operation support.
huanghua [Mon, 26 Jun 2006 17:27:36 +0000 (17:27 +0000)]
added some partial operation support.

18 years ago- made fld and seq-mgr a bit less noisy.
yury [Mon, 26 Jun 2006 14:43:33 +0000 (14:43 +0000)]
- made fld and seq-mgr a bit less noisy.

18 years ago- changed prefix in struct fld_cache_info from "fld_" to "fci_";
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_".

18 years ago- fixed bug in fld_cache_insert(). Just allocated struct fld_cache was substituted...
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.

18 years agouse mdt_body
tappro [Mon, 26 Jun 2006 12:19:12 +0000 (12:19 +0000)]
use mdt_body

18 years ago- added "hash" proc tunable to client FLD;
yury [Mon, 26 Jun 2006 12:11:31 +0000 (12:11 +0000)]
- added "hash" proc tunable to client FLD;
- fixes in FLD procfs.

18 years ago- rc_swabbed is set after swabbing
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

18 years agosmall fix
tappro [Mon, 26 Jun 2006 10:28:13 +0000 (10:28 +0000)]
small fix

18 years ago- add cml_name_insert() to support missed cross-ref rename() case.
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

18 years agoadded more code for reint (link/unlink/rename).
huanghua [Mon, 26 Jun 2006 09:50:51 +0000 (09:50 +0000)]
added more code for reint (link/unlink/rename).

18 years ago- return back wrong fix in mdd code. Issue was related to need to rebuild all from...
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.

18 years ago- trivial fixes in mdd;
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.

18 years agoBranch: b_new_cmd
wangdi [Mon, 26 Jun 2006 03:36:41 +0000 (03:36 +0000)]
Branch: b_new_cmd
add mdd_lov prototype

18 years ago- fixes in seq-mgr procfs stuff;
yury [Sun, 25 Jun 2006 15:26:33 +0000 (15:26 +0000)]
- fixes in seq-mgr procfs stuff;
- added basic procfs support to fld.

18 years ago- fixes in fld procfs;
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

18 years ago- sequence width on clients, super-width and meta-width on servers are dynamic now...
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.

18 years ago- fixes in seq-mgr proc stuff. By now all seq-mgr proc root entriy names based on...
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.

18 years ago- some fixes after DLDINSP
yury [Sun, 25 Jun 2006 10:40:35 +0000 (10:40 +0000)]
- some fixes after DLDINSP

18 years agoroot_get() makes sense only on master MDS
tappro [Fri, 23 Jun 2006 20:15:35 +0000 (20:15 +0000)]
root_get() makes sense only on master MDS

18 years ago- change lu_object_exists() so it may return -1 for remote object.
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()