Whamcloud - gitweb
fs/lustre-release.git
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()

18 years agosmall fix
tappro [Fri, 23 Jun 2006 15:40:19 +0000 (15:40 +0000)]
small fix

18 years agoremove testing garbage
tappro [Fri, 23 Jun 2006 15:31:47 +0000 (15:31 +0000)]
remove testing garbage

18 years agoset CMM_INITIALIZED when first ADD_MDC arrives
tappro [Fri, 23 Jun 2006 15:28:40 +0000 (15:28 +0000)]
set CMM_INITIALIZED when first ADD_MDC arrives

18 years ago- removed cmm_special_fid();
yury [Fri, 23 Jun 2006 11:16:04 +0000 (11:16 +0000)]
- removed cmm_special_fid();
- some trivial fixes in cmm;
- added locking in fld sefrver side when modifying/reading index.

18 years ago- removed old proto stuff which is not now needed in FLD
yury [Fri, 23 Jun 2006 10:24:12 +0000 (10:24 +0000)]
- removed old proto stuff which is not now needed in FLD

18 years ago(1) more code for MDT in reint.
huanghua [Fri, 23 Jun 2006 10:18:31 +0000 (10:18 +0000)]
(1) more code for MDT in reint.
(2) make some interface parameter const.

18 years ago- added exporting client side meta-seq to userspace via procfs (not used yet);
yury [Fri, 23 Jun 2006 10:07:54 +0000 (10:07 +0000)]
- added exporting client side meta-seq to userspace via procfs (not used yet);
- cleanups and small fixes in FLD.

18 years ago- continue with fixing defects after cmm codeinsp
tappro [Fri, 23 Jun 2006 10:07:41 +0000 (10:07 +0000)]
- continue with fixing defects after cmm codeinsp
- add forgotten opcode_offset() calculations for SEQ

18 years agoosd: 0. add invariants checking, 1. fix inode reference tracking in osd_add_rec()
nikita [Thu, 22 Jun 2006 22:00:03 +0000 (22:00 +0000)]
osd: 0. add invariants checking, 1. fix inode reference tracking in osd_add_rec()

18 years agomdt_getattr_name_lock(): cleanup
nikita [Thu, 22 Jun 2006 21:59:17 +0000 (21:59 +0000)]
mdt_getattr_name_lock(): cleanup

18 years agomdd: increase transaction credits (arbitrary at this point, anyway)
nikita [Thu, 22 Jun 2006 21:58:07 +0000 (21:58 +0000)]
mdd: increase transaction credits (arbitrary at this point, anyway)

18 years agoiam: add iam_htree format
nikita [Thu, 22 Jun 2006 21:57:22 +0000 (21:57 +0000)]
iam: add iam_htree format

18 years agolu_object_put(): fix defect: passing wrong object to lu_object_free()
nikita [Thu, 22 Jun 2006 21:54:22 +0000 (21:54 +0000)]
lu_object_put(): fix defect: passing wrong object to lu_object_free()

18 years agolu_object: debugging, add ->loo_object_invariant() method and lu_object_invariant...
nikita [Thu, 22 Jun 2006 21:53:54 +0000 (21:53 +0000)]
lu_object: debugging, add ->loo_object_invariant() method and lu_object_invariant() wrapper to check for object consistency

18 years agolinlustre: mark second argument of test_bit() const
nikita [Thu, 22 Jun 2006 21:52:45 +0000 (21:52 +0000)]
linlustre: mark second argument of test_bit() const

18 years agomove mdsno_t into lustre_idl.h and use this type in code for mds number.
tappro [Thu, 22 Jun 2006 21:49:01 +0000 (21:49 +0000)]
move mdsno_t into lustre_idl.h and use this type in code for mds number.

18 years agoget sbi only when it is used and dentry->d_inode is not NULL
tappro [Thu, 22 Jun 2006 19:21:06 +0000 (19:21 +0000)]
get sbi only when it is used and dentry->d_inode is not NULL

18 years agofirst fixes after code inspection.
tappro [Thu, 22 Jun 2006 18:36:12 +0000 (18:36 +0000)]
first fixes after code inspection.

18 years agorename md_device_get() to md_obj2dev()
tappro [Thu, 22 Jun 2006 18:35:18 +0000 (18:35 +0000)]
rename md_device_get() to md_obj2dev()

18 years ago- various sequence manager proc related fixes.
yury [Thu, 22 Jun 2006 14:42:00 +0000 (14:42 +0000)]
- various sequence manager proc related fixes.

18 years ago- removed not used seq_flags from client and server seq-mgr code;
yury [Thu, 22 Jun 2006 14:18:55 +0000 (14:18 +0000)]
- removed not used seq_flags from client and server seq-mgr code;
- added reporting sequence-controller node via /proc/fs/lustre/seq/...

18 years ago- added few sanity check to seq_proc_write_range()
yury [Thu, 22 Jun 2006 11:48:45 +0000 (11:48 +0000)]
- added few sanity check to seq_proc_write_range()

18 years ago- added proc interface to seq-mgr, it will be used for testing.
yury [Thu, 22 Jun 2006 11:05:11 +0000 (11:05 +0000)]
- added proc interface to seq-mgr, it will be used for testing.

18 years agoiam: fix initialization of htree_operation fields
nikita [Wed, 21 Jun 2006 18:49:46 +0000 (18:49 +0000)]
iam: fix initialization of htree_operation fields

18 years agoosd_object_create(): check return value
nikita [Wed, 21 Jun 2006 18:49:03 +0000 (18:49 +0000)]
osd_object_create(): check return value

18 years ago- a race handled out;
yury [Wed, 21 Jun 2006 13:47:29 +0000 (13:47 +0000)]
- a race handled out;

18 years ago- fixed possible deadlock in server side seq-mgr, however seq-mgr still has few issue...
yury [Wed, 21 Jun 2006 12:49:02 +0000 (12:49 +0000)]
- fixed possible deadlock in server side seq-mgr, however seq-mgr still has few issues which are not yet solved.

18 years agoiam: adding missing chunk to ext3-iam-uapi.patch
nikita [Wed, 21 Jun 2006 10:57:53 +0000 (10:57 +0000)]
iam: adding missing chunk to ext3-iam-uapi.patch

18 years agoBranch: b_new_cmd
wangdi [Wed, 21 Jun 2006 10:36:22 +0000 (10:36 +0000)]
Branch: b_new_cmd
some fixes in code review

18 years ago- cleanups in seq-mgr;
yury [Wed, 21 Jun 2006 08:30:19 +0000 (08:30 +0000)]
- cleanups in seq-mgr;

- fld_iam.c renamed to fld_index.c because it does not contain any iam related stuff and only calls underlying layer to work with index and index itself may be implemented different ways.

18 years agoadd RQF_MDS_SYNC into format array.
huanghua [Wed, 21 Jun 2006 07:49:52 +0000 (07:49 +0000)]
add RQF_MDS_SYNC into format array.

18 years ago(1) add mdt_sync support. but we also need device_sync & object_sync supporting.
huanghua [Wed, 21 Jun 2006 07:47:27 +0000 (07:47 +0000)]
(1) add mdt_sync support. but we also need device_sync & object_sync supporting.
(2) ajust some code of the mdt_handler.c for forward reference.
(3) removed some used variables.

18 years agoadd some code for getattr & ldlm_intent_getattr ( #ifdef 'ed)
huanghua [Wed, 21 Jun 2006 05:41:29 +0000 (05:41 +0000)]
add some code for getattr & ldlm_intent_getattr ( #ifdef 'ed)

18 years agoiam: latest fixes
nikita [Tue, 20 Jun 2006 22:57:05 +0000 (22:57 +0000)]
iam: latest fixes

18 years agoosd: less trivial index probing
nikita [Tue, 20 Jun 2006 22:56:43 +0000 (22:56 +0000)]
osd: less trivial index probing

18 years agofld: enable iam
nikita [Tue, 20 Jun 2006 22:56:24 +0000 (22:56 +0000)]
fld: enable iam

18 years agolmv_fld_lookup(): check error code
nikita [Tue, 20 Jun 2006 22:14:59 +0000 (22:14 +0000)]
lmv_fld_lookup(): check error code

18 years agosimplification of osd index interface
nikita [Tue, 20 Jun 2006 21:13:49 +0000 (21:13 +0000)]
simplification of osd index interface

18 years agofile ext3-check-jbd-errors-2.6.9.patch was added on branch b_new_cmd on 2006-08-20...
yury [Tue, 20 Jun 2006 15:53:41 +0000 (15:53 +0000)]
file ext3-check-jbd-errors-2.6.9.patch was added on branch b_new_cmd on 2006-08-20 13:12:42 +0000

18 years agofile ext3-check-jbd-errors-2.6.5.patch was added on branch b_new_cmd on 2006-08-20...
yury [Tue, 20 Jun 2006 15:53:34 +0000 (15:53 +0000)]
file ext3-check-jbd-errors-2.6.5.patch was added on branch b_new_cmd on 2006-08-20 13:12:42 +0000

18 years agoll_commit_write(): add a comment (due to Andreas) explaining why Lustre wants writeba...
nikita [Tue, 20 Jun 2006 13:32:14 +0000 (13:32 +0000)]
ll_commit_write(): add a comment (due to Andreas) explaining why Lustre wants writeback to be started earlier than "normal" file systems

18 years agoosd: 0. move definitions of struct osd_{object,device} into osd_handler.c as they...
nikita [Tue, 20 Jun 2006 13:30:33 +0000 (13:30 +0000)]
osd: 0. move definitions of struct osd_{object,device} into osd_handler.c as they are not used outside. 1. print index related information in osd_object_print()

18 years ago->loo_object_release() method is optional, mark it as such, and remove empty implemen...
nikita [Tue, 20 Jun 2006 13:29:29 +0000 (13:29 +0000)]
->loo_object_release() method is optional, mark it as such, and remove empty implementations

18 years agocmm: add ->cmm_flags to cmm_device to handle object creation during early bootstrappi...
nikita [Tue, 20 Jun 2006 13:27:08 +0000 (13:27 +0000)]
cmm: add ->cmm_flags to cmm_device to handle object creation during early bootstrapping without fld accesses

18 years agofix some intent formats
tappro [Tue, 20 Jun 2006 09:23:39 +0000 (09:23 +0000)]
fix some intent formats

18 years agomkreg stub in osd for 'open_handling' proto
tappro [Tue, 20 Jun 2006 09:22:55 +0000 (09:22 +0000)]
mkreg stub in osd for 'open_handling' proto

18 years agosmall fixes due to 'open_handling' proto
tappro [Tue, 20 Jun 2006 09:22:01 +0000 (09:22 +0000)]
small fixes due to 'open_handling' proto

18 years ago- a little cleanup about messages in seq and fld init time
yury [Mon, 19 Jun 2006 14:48:02 +0000 (14:48 +0000)]
- a little cleanup about messages in seq and fld init time

18 years ago- cleanups in seq-mgr, fixes;
yury [Mon, 19 Jun 2006 14:37:59 +0000 (14:37 +0000)]
- cleanups in seq-mgr, fixes;
- client allocates new meta-seq uppon connect.

18 years agomdt: 0: kill unused mdt_config(), 1: finalizers return void
nikita [Mon, 19 Jun 2006 12:46:35 +0000 (12:46 +0000)]
mdt: 0: kill unused mdt_config(), 1: finalizers return void

18 years agokill obsolete ->mdo_mkdir() method
nikita [Mon, 19 Jun 2006 12:46:14 +0000 (12:46 +0000)]
kill obsolete ->mdo_mkdir() method

18 years agofld: 0: use typedefs instead of #defines, 1: kill unused stuff
nikita [Mon, 19 Jun 2006 12:45:11 +0000 (12:45 +0000)]
fld: 0: use typedefs instead of #defines, 1: kill unused stuff

18 years agosmall fix
tappro [Mon, 19 Jun 2006 08:54:59 +0000 (08:54 +0000)]
small fix

18 years ago- fix time attributes
tappro [Mon, 19 Jun 2006 08:53:28 +0000 (08:53 +0000)]
- fix time attributes
- osd_mkreg prototype

18 years agofix exit path from mdt_init0 in case of failure.
tappro [Mon, 19 Jun 2006 08:51:50 +0000 (08:51 +0000)]
fix exit path from mdt_init0 in case of failure.

18 years agoupdated set of helpers for md_object methods
tappro [Mon, 19 Jun 2006 08:49:56 +0000 (08:49 +0000)]
updated set of helpers for md_object methods

18 years agoCMM code after CR, COMPILE stages.
tappro [Mon, 19 Jun 2006 08:42:57 +0000 (08:42 +0000)]
CMM code after CR, COMPILE stages.