Whamcloud - gitweb
fs/lustre-release.git
18 years agoBranch: b_new_cmd
wangdi [Fri, 14 Jul 2006 07:58:22 +0000 (07:58 +0000)]
Branch: b_new_cmd
1)reorganize MDS to share mds lov api with mdd
2)serval fixes about mdd lov

18 years agosome fix in open
huanghua [Fri, 14 Jul 2006 07:31:08 +0000 (07:31 +0000)]
some fix in open

18 years agofile lc_md.sh.in was added on branch b_new_cmd on 2006-08-19 03:08:14 +0000
brian [Fri, 14 Jul 2006 03:14:55 +0000 (03:14 +0000)]
file lc_md.sh.in was added on branch b_new_cmd on 2006-08-19 03:08:14 +0000

18 years agofile lc_lvm.sh.in was added on branch b_new_cmd on 2006-08-19 03:08:14 +0000
brian [Fri, 14 Jul 2006 03:14:50 +0000 (03:14 +0000)]
file lc_lvm.sh.in was added on branch b_new_cmd on 2006-08-19 03:08:14 +0000

18 years agoa few fixes after testing & inspection:
huanghua [Thu, 13 Jul 2006 15:15:38 +0000 (15:15 +0000)]
a few fixes after testing & inspection:
(1) more accurate & useful debug message;
(2) more clean code;
(3) fix mdt_reint_link: src & target dir.

18 years agocall mdd_lov_create() only for regular files and before the transaction start.
tappro [Thu, 13 Jul 2006 00:07:05 +0000 (00:07 +0000)]
call mdd_lov_create() only for regular files and before the transaction start.

18 years ago- add new layouts for readpage, unlink_last, rename_last, close_last
tappro [Thu, 13 Jul 2006 00:05:36 +0000 (00:05 +0000)]
- add new layouts for readpage, unlink_last, rename_last, close_last
- move handling the dying object in mdt_handle_last_unlink().

18 years agomake compiler happy
tappro [Thu, 13 Jul 2006 00:00:37 +0000 (00:00 +0000)]
make compiler happy

18 years ago- make update_last_transno less noisy
tappro [Wed, 12 Jul 2006 23:58:54 +0000 (23:58 +0000)]
- make update_last_transno less noisy
- don't update it if readpage
- init/fini for readpage service

18 years ago- add readpage service
tappro [Wed, 12 Jul 2006 23:56:52 +0000 (23:56 +0000)]
- add readpage service
- make mdt_ldlm_client as pointer on obd one

18 years agofile wiretest.c was added on branch b_new_cmd on 2006-08-20 13:13:12 +0000
yury [Wed, 12 Jul 2006 22:46:01 +0000 (22:46 +0000)]
file wiretest.c was added on branch b_new_cmd on 2006-08-20 13:13:12 +0000

18 years agofile wirehdr.c was added on branch b_new_cmd on 2006-08-20 13:13:11 +0000
yury [Wed, 12 Jul 2006 22:45:56 +0000 (22:45 +0000)]
file wirehdr.c was added on branch b_new_cmd on 2006-08-20 13:13:11 +0000

18 years agoadd explicit padding to struct osd_inode_id to work correctly on 64bits. Chnages...
nikita [Wed, 12 Jul 2006 18:27:02 +0000 (18:27 +0000)]
add explicit padding to struct osd_inode_id to work correctly on 64bits. Chnages to mount procedure are necessary, see a companion email message

18 years agomdt_reint_rename_tgt(): initialize lock handlers earlier to keep compiler happy
nikita [Wed, 12 Jul 2006 18:02:00 +0000 (18:02 +0000)]
mdt_reint_rename_tgt(): initialize lock handlers earlier to keep compiler happy

18 years agomdt_getxattr_pack_reply(): move OBD_CONNECT_XATTR check back after xattr_name is...
nikita [Wed, 12 Jul 2006 18:01:04 +0000 (18:01 +0000)]
mdt_getxattr_pack_reply(): move OBD_CONNECT_XATTR check back after xattr_name is initialized

18 years ago->do_object_destroy(): kill unused method
nikita [Wed, 12 Jul 2006 17:56:17 +0000 (17:56 +0000)]
->do_object_destroy(): kill unused method

18 years agofld_index_*(): add error handling
nikita [Wed, 12 Jul 2006 17:55:56 +0000 (17:55 +0000)]
fld_index_*(): add error handling

18 years agomdd_lov_objid_name: declare as an array
nikita [Wed, 12 Jul 2006 17:55:31 +0000 (17:55 +0000)]
mdd_lov_objid_name: declare as an array

18 years agoadd fid_to_be() function
nikita [Wed, 12 Jul 2006 17:54:56 +0000 (17:54 +0000)]
add fid_to_be() function

18 years agoosd: finish oi prototype
nikita [Wed, 12 Jul 2006 17:54:27 +0000 (17:54 +0000)]
osd: finish oi prototype

18 years agoosd_igif: add igif handling functions.
nikita [Wed, 12 Jul 2006 17:53:34 +0000 (17:53 +0000)]
osd_igif: add igif handling functions.

18 years agomdt_reint_open works; close on MDT works, but on client it does not.
huanghua [Wed, 12 Jul 2006 16:50:33 +0000 (16:50 +0000)]
mdt_reint_open works; close on MDT works, but on client it does not.

18 years agoBranch: b_new_cmd
wangdi [Wed, 12 Jul 2006 13:22:26 +0000 (13:22 +0000)]
Branch: b_new_cmd
1)add lov_create prototype for testing mdd lov, Note: it will finally removed to share
  the same api as MDS.
2)reconstruct MDS lov code to export some api, mdd could use. not finished.

18 years agoBranch: b_new_cmd
wangdi [Wed, 12 Jul 2006 08:57:30 +0000 (08:57 +0000)]
Branch: b_new_cmd
for new fid implementation, the fid will be allocated at client,
So only check fid2 is not enough for setting DISP_ENQ_COMPLETE.

18 years agore-organized mdt_thread_info_init(): put mdt_thread_info related initialization into it.
huanghua [Wed, 12 Jul 2006 08:02:40 +0000 (08:02 +0000)]
re-organized mdt_thread_info_init(): put mdt_thread_info related initialization into it.

18 years agomodified mdo_create interface, added symlink target name as a parameter.
huanghua [Wed, 12 Jul 2006 07:18:57 +0000 (07:18 +0000)]
modified mdo_create interface, added symlink target name as a parameter.

18 years agoclear memory before unpacking reint request.
huanghua [Wed, 12 Jul 2006 06:40:01 +0000 (06:40 +0000)]
clear memory before unpacking reint request.

18 years agofix error handling in mdt_obd_connect().
huanghua [Wed, 12 Jul 2006 04:46:52 +0000 (04:46 +0000)]
fix error handling in mdt_obd_connect().

18 years agofixed:
huanghua [Wed, 12 Jul 2006 02:59:10 +0000 (02:59 +0000)]
fixed:
(1) in obd_setup(), cleanup lu_context after use;
(2) in mdt_init0(), move the temporary ns_name into mdt_thread_info to avoid
stack comsuption.

18 years ago- add 'result' param to the mdt_reply(), because it can differ from
tappro [Tue, 11 Jul 2006 23:06:44 +0000 (23:06 +0000)]
- add 'result' param to the mdt_reply(), because it can differ from
  req->rq_status
- copy mdt_ldlm_client to the obd_ldlm_client to proper initialization of revimp
  in target_handle_connect()
- move obd assignment in mdt_init0() after md_device_init() which zeroes obd
  value.
- comment out o_notify() temporary due to constant oops

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