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

18 years agofixed: (1) return child object lock in a parameter.
huanghua [Mon, 19 Jun 2006 08:20:56 +0000 (08:20 +0000)]
fixed:  (1) return child object lock in a parameter.
        (2) changed the MAX_MD_SIZE to a smaller one.

18 years ago- seq-mgr reworked, now it simpler, and cleaner;
yury [Mon, 19 Jun 2006 07:46:24 +0000 (07:46 +0000)]
- seq-mgr reworked, now it simpler, and cleaner;
- fix in utils/Makefile.am

18 years ago- make fld a bit noisy for a while;
yury [Sun, 18 Jun 2006 16:37:16 +0000 (16:37 +0000)]
- make fld a bit noisy for a while;

18 years agoadd lustre/utils/req-layout: an utility to print out request formats
nikita [Sun, 18 Jun 2006 15:37:42 +0000 (15:37 +0000)]
add lustre/utils/req-layout: an utility to print out request formats

18 years agoupdate CMM code after code review
tappro [Sat, 17 Jun 2006 16:01:04 +0000 (16:01 +0000)]
update CMM code after code review

18 years ago- a little reorganization in fid and fld sources, client part is moved to fid_request...
yury [Sat, 17 Jun 2006 09:23:15 +0000 (09:23 +0000)]
- a little reorganization in fid and fld sources, client part is moved to fid_request.c and fld_request.c respectively.

18 years ago- in cmm do not call fld lookup for local seqs like root (temporary, this is a hack);
yury [Sat, 17 Jun 2006 08:51:32 +0000 (08:51 +0000)]
- in cmm do not call fld lookup for local seqs like root (temporary, this is a hack);
- make seq mgr more noisy for a while;
- make stub in fld_handle_*() functions until IAM is ready.

18 years ago- more cleanups and fixes in FLD
yury [Fri, 16 Jun 2006 17:56:15 +0000 (17:56 +0000)]
- more cleanups and fixes in FLD

18 years ago- many fixes in fld, adding it to LMv and CMM
yury [Fri, 16 Jun 2006 14:28:15 +0000 (14:28 +0000)]
- many fixes in fld, adding it to LMv and CMM

18 years agoiam fixes for defects found during DLDR
nikita [Fri, 16 Jun 2006 11:12:21 +0000 (11:12 +0000)]
iam fixes for defects found during DLDR

18 years agofix @child_bits type
nikita [Fri, 16 Jun 2006 11:11:18 +0000 (11:11 +0000)]
fix @child_bits type

18 years agoresolve conflicts
nikita [Fri, 16 Jun 2006 11:10:38 +0000 (11:10 +0000)]
resolve conflicts

18 years agoBranch: b_new_cmd
wangdi [Fri, 16 Jun 2006 04:33:39 +0000 (04:33 +0000)]
Branch: b_new_cmd
1) add mdd_unlink
2) fix error in ref_add/del
3) fix some build error

18 years agofixed some defects found by wangdi.
huanghua [Fri, 16 Jun 2006 04:12:26 +0000 (04:12 +0000)]
fixed some defects found by wangdi.

18 years agoBranch: b_new_cmd
wangdi [Fri, 16 Jun 2006 03:34:02 +0000 (03:34 +0000)]
Branch: b_new_cmd
oops, just forget add mdd_lov_dev to mdd_dev

18 years agofile mount.lustre.8 was added on branch b_new_cmd on 2006-08-20 13:12:36 +0000
yury [Thu, 15 Jun 2006 20:51:32 +0000 (20:51 +0000)]
file mount.lustre.8 was added on branch b_new_cmd on 2006-08-20 13:12:36 +0000

18 years agofile lustre.7 was added on branch b_new_cmd on 2006-08-20 13:12:36 +0000
yury [Thu, 15 Jun 2006 18:52:21 +0000 (18:52 +0000)]
file lustre.7 was added on branch b_new_cmd on 2006-08-20 13:12:36 +0000

18 years ago- fixes in fld:
yury [Thu, 15 Jun 2006 10:57:04 +0000 (10:57 +0000)]
- fixes in fld:
  * added exports list and chosing one of them using seq number and some hash function (round-robin is now in use, should be dht later);
  * small cleanups about ENTRY/EXIT macros using.

18 years agoadded xattr support.
huanghua [Thu, 15 Jun 2006 09:17:04 +0000 (09:17 +0000)]
added xattr support.

18 years agoBranch: b_new_cmd
wangdi [Thu, 15 Jun 2006 08:11:09 +0000 (08:11 +0000)]
Branch: b_new_cmd
1) add lov in mdd
2) some cleanup and typo fixes

18 years ago- some cleanups
yury [Thu, 15 Jun 2006 07:53:42 +0000 (07:53 +0000)]
- some cleanups

18 years ago- changes in sec-mgr
yury [Thu, 15 Jun 2006 07:18:00 +0000 (07:18 +0000)]
- changes in sec-mgr

18 years agofile tunefs.lustre.8 was added on branch b_new_cmd on 2006-08-20 13:12:36 +0000
yury [Thu, 15 Jun 2006 00:05:45 +0000 (00:05 +0000)]
file tunefs.lustre.8 was added on branch b_new_cmd on 2006-08-20 13:12:36 +0000

18 years agofile mkfs.lustre.8 was added on branch b_new_cmd on 2006-08-20 13:12:36 +0000
yury [Wed, 14 Jun 2006 23:28:48 +0000 (23:28 +0000)]
file mkfs.lustre.8 was added on branch b_new_cmd on 2006-08-20 13:12:36 +0000

18 years agofile lmc2csv.pl was added on branch b_new_cmd on 2006-08-19 03:08:14 +0000
brian [Wed, 14 Jun 2006 22:03:37 +0000 (22:03 +0000)]
file lmc2csv.pl was added on branch b_new_cmd on 2006-08-19 03:08:14 +0000

18 years ago- converted FLD to use req_capsule API
yury [Tue, 13 Jun 2006 15:03:09 +0000 (15:03 +0000)]
- converted FLD to use req_capsule API

18 years ago- do not send lu_range with old seq from client to server when asking for allocation;
yury [Tue, 13 Jun 2006 14:37:31 +0000 (14:37 +0000)]
- do not send lu_range with old seq from client to server when asking for allocation;
- use rpc_capsule API on seq-mgr server for handling RPCs.

18 years ago- cleanups in FLD, added client API and server API
yury [Mon, 12 Jun 2006 18:59:46 +0000 (18:59 +0000)]
- cleanups in FLD, added client API and server API

18 years ago- fixes in fld:
yury [Mon, 12 Jun 2006 17:55:21 +0000 (17:55 +0000)]
- fixes in fld:
  * moving mdc_fld() into fld module and rename it to fld_rpc();
  * setting correct portal in fld_rpc();
  * handling out errors correctly in fld_req_handle();
  * putting missed target_send_repay() to fld_reqa_handle();
  * added liblustre support (FLD caching is not working in this case);

18 years ago- fid_handle.c and fld_handle.c are renamed to fid_handler.c and fld_handler.c respec...
yury [Mon, 12 Jun 2006 17:02:48 +0000 (17:02 +0000)]
- fid_handle.c and fld_handle.c are renamed to fid_handler.c and fld_handler.c respectively to conform used nameing style.

18 years ago- added working proto of sequences manager with super-, meta- sequence approach....
yury [Mon, 12 Jun 2006 16:50:16 +0000 (16:50 +0000)]
- added working proto of sequences manager with super-, meta- sequence approach. Should be almost what we wanted to have. The only two things which are not done yet are:
* sequence manager state is not saved/read to/from backing store for recovery;
* meta-sequence allocation on an MDT may cause super-sequence allocation, that is cascading RPCs are possible.

Lustre is mountable and mkdir proto is in working state.

18 years ago- changes in WB. Some tasks are splitted, finished ones marked red.
yury [Mon, 12 Jun 2006 03:52:37 +0000 (03:52 +0000)]
- changes in WB. Some tasks are splitted, finished ones marked red.

18 years ago- change rename()/rename_tgt() format - source fid is used instead of object.
tappro [Sun, 11 Jun 2006 17:05:03 +0000 (17:05 +0000)]
- change rename()/rename_tgt() format - source fid is used instead of object.
The object can be remote one and will be unaccessible in mdd, so lu_fid is used
instead.

- fix rename() logic in cmm. It was overdesigned and is simplier actually
- fix few defect found while CODE stage in cmm/mdc.

18 years agofile lustre_up14.sh was added on branch b_new_cmd on 2006-08-19 03:08:14 +0000
brian [Fri, 9 Jun 2006 23:10:01 +0000 (23:10 +0000)]
file lustre_up14.sh was added on branch b_new_cmd on 2006-08-19 03:08:14 +0000

18 years agoupdate cmm-mdc code
tappro [Fri, 9 Jun 2006 11:32:11 +0000 (11:32 +0000)]
update cmm-mdc code

18 years agoBranch: b_new_cmd
wangdi [Fri, 9 Jun 2006 09:03:05 +0000 (09:03 +0000)]
Branch: b_new_cmd
serval fixes according to nikita's comments

18 years agocleanup of iam code: add explicit states for leaves.
nikita [Thu, 8 Jun 2006 22:13:29 +0000 (22:13 +0000)]
cleanup of iam code: add explicit states for leaves.

18 years agoupdate CMM code
tappro [Thu, 8 Jun 2006 11:25:03 +0000 (11:25 +0000)]
update CMM code

18 years agoadd helper for rename_tgt()
tappro [Thu, 8 Jun 2006 11:24:37 +0000 (11:24 +0000)]
add helper for rename_tgt()

18 years agoBranch: b_new_cmd
wangdi [Thu, 8 Jun 2006 10:04:29 +0000 (10:04 +0000)]
Branch: b_new_cmd
separate fld stuff from lustre_fid.h

18 years agoBranch: b_new_cmd
wangdi [Thu, 8 Jun 2006 09:49:12 +0000 (09:49 +0000)]
Branch: b_new_cmd
add ref_add/del api for mdd/osd

18 years agoiam fixes:
nikita [Wed, 7 Jun 2006 21:41:44 +0000 (21:41 +0000)]
iam fixes:

 - defect: iam_lfix_rec_add() should handle empty leaf.

 - defect: iam_lfix_lookup() should handle lookup for a key less than smallest key in the leaf.

 - defect: iam_it_rec_insert(): fix assertion to match last change to the iam_lfix_lookup().

18 years agocmm updates
tappro [Wed, 7 Jun 2006 13:16:43 +0000 (13:16 +0000)]
cmm updates

18 years agoupdate functions name_insert/remove format
tappro [Wed, 7 Jun 2006 13:15:43 +0000 (13:15 +0000)]
update functions name_insert/remove format

18 years agoremove attr from name_insert/remove() operations
tappro [Wed, 7 Jun 2006 13:14:40 +0000 (13:14 +0000)]
remove attr from name_insert/remove() operations

18 years agobetter error handle in mdt_reint_open().
huanghua [Wed, 7 Jun 2006 09:01:24 +0000 (09:01 +0000)]
better error handle in mdt_reint_open().

18 years agocomplete list of md operations and helpers
tappro [Tue, 6 Jun 2006 15:44:00 +0000 (15:44 +0000)]
complete list of md operations and helpers

18 years agosmall correction
tappro [Tue, 6 Jun 2006 13:53:44 +0000 (13:53 +0000)]
small correction

18 years agomark finished tasks by color.
tappro [Tue, 6 Jun 2006 13:39:47 +0000 (13:39 +0000)]
mark finished tasks by color.

18 years agoBranch: b_new_cmd
wangdi [Mon, 5 Jun 2006 14:48:11 +0000 (14:48 +0000)]
Branch: b_new_cmd
several fixes in fld according to umka's review.

18 years agoBranch: b_new_cmd
wangdi [Mon, 5 Jun 2006 14:19:09 +0000 (14:19 +0000)]
Branch: b_new_cmd
change fld to lu_fld

18 years agofix defects found by Mike during C2_SERVER_MDAPI_CODEINSP:
nikita [Mon, 5 Jun 2006 13:52:46 +0000 (13:52 +0000)]
fix defects found by Mike during C2_SERVER_MDAPI_CODEINSP:

 - no author is mentioned for lu_object.c.

 - lu_object_put(): if(lu_object_is_dying()) then object can be freed even if not all references are put.

 - lu_object_print(): list_for_each_entry_continue() starts from next object in the list and will not print object 'o' itself.