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

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