Whamcloud - gitweb
fs/lustre-release.git
19 years ago- make MDT the 'server' device. It is needed for client connection
tappro [Tue, 11 Apr 2006 06:37:57 +0000 (06:37 +0000)]
- make MDT the 'server' device. It is needed for client connection
- comment out lmv stuff temporary because there is no lmv code in b_new_cmd yet
- add old-way mdc setup in mds logs

19 years agomsg_llog.c: modify a debug message.
huanghua [Tue, 11 Apr 2006 04:26:50 +0000 (04:26 +0000)]
msg_llog.c: modify a debug message.
cmm_object.c:cmm_object_alloc: call lu_object_init to initialize it.

19 years ago- allocation of new fids before sending open or create RPC, using allocated fid in...
yury [Mon, 10 Apr 2006 14:21:44 +0000 (14:21 +0000)]
- allocation of new fids before sending open or create RPC, using allocated fid in ll_prep_inode()

19 years ago-remove unneeded stuff from cmm
tappro [Sun, 9 Apr 2006 11:01:52 +0000 (11:01 +0000)]
-remove unneeded stuff from cmm
-update mds layers names and creation
-osd gets mountpoint
-fix issue in ldlm_lockd - wrong comparision

19 years agoadd layers setup and initialization.
tappro [Sat, 8 Apr 2006 08:17:25 +0000 (08:17 +0000)]
add layers setup and initialization.

19 years agomdd_device: adjust to dt_object, and some cleanups
nikita [Fri, 7 Apr 2006 21:03:56 +0000 (21:03 +0000)]
mdd_device: adjust to dt_object, and some cleanups

19 years agoosd_device: adjust for dt_object
nikita [Fri, 7 Apr 2006 21:02:55 +0000 (21:02 +0000)]
osd_device: adjust for dt_object

19 years agolu_object: 0. add ->ldo_object_delete() method; 1. add dt_object interface
nikita [Fri, 7 Apr 2006 21:02:13 +0000 (21:02 +0000)]
lu_object: 0. add ->ldo_object_delete() method; 1. add dt_object interface

19 years agoadd osd
tappro [Fri, 7 Apr 2006 14:46:15 +0000 (14:46 +0000)]
add osd

19 years agoadd prototype method for mdt log which setup whole MDS stack
tappro [Fri, 7 Apr 2006 14:40:36 +0000 (14:40 +0000)]
add prototype method for mdt log which setup whole MDS stack

19 years agouse new simple MDS
tappro [Fri, 7 Apr 2006 14:38:59 +0000 (14:38 +0000)]
use new simple MDS

19 years agouse mdt0 - new mdt device
tappro [Fri, 7 Apr 2006 14:38:35 +0000 (14:38 +0000)]
use mdt0 - new mdt device

19 years agomake MDS very simple. It is needed only for setup and maybe for some global
tappro [Fri, 7 Apr 2006 14:36:12 +0000 (14:36 +0000)]
make MDS very simple. It is needed only for setup and maybe for some global
things later.

19 years agoadd name for MDD
tappro [Fri, 7 Apr 2006 14:33:55 +0000 (14:33 +0000)]
add name for MDD

19 years agoadd lu2md device convertor
tappro [Fri, 7 Apr 2006 14:33:05 +0000 (14:33 +0000)]
add lu2md device convertor

19 years agoexport methods for MDT
tappro [Fri, 7 Apr 2006 14:30:31 +0000 (14:30 +0000)]
export methods for MDT

19 years agoupdate CMM device
tappro [Fri, 7 Apr 2006 14:28:07 +0000 (14:28 +0000)]
update CMM device

19 years agoinit procfs correctly
tappro [Fri, 7 Apr 2006 14:25:56 +0000 (14:25 +0000)]
init procfs correctly

19 years agoupdate alloc() method to link CMM
tappro [Fri, 7 Apr 2006 14:25:08 +0000 (14:25 +0000)]
update alloc() method to link CMM

19 years agomove md_ stuff from here and use md_object.h
tappro [Fri, 7 Apr 2006 14:23:53 +0000 (14:23 +0000)]
move md_ stuff from here and use md_object.h

19 years ago- fixes in llite with using mds_body vs. mdt_body
yury [Fri, 7 Apr 2006 13:52:44 +0000 (13:52 +0000)]
- fixes in llite with using mds_body vs. mdt_body

19 years ago-wrong name 'mdt' should be 'osd'
tappro [Fri, 7 Apr 2006 12:06:11 +0000 (12:06 +0000)]
-wrong name 'mdt' should be 'osd'

19 years agoadd some code to parse newly added command: lmv,cmm.
huanghua [Fri, 7 Apr 2006 10:34:16 +0000 (10:34 +0000)]
add some code to parse newly added command: lmv,cmm.

19 years ago- many changes about fids:
yury [Fri, 7 Apr 2006 10:29:35 +0000 (10:29 +0000)]
- many changes about fids:
 (1) client, mdc and liblustre converted to use new fids;
 (2) some md related structures renamed into mdt ones to use new fids with no changing anything about MDS code;
 (3) md methods used obdo switched to use mdc_op_data like others;
 (4) f_num is now replaced to f_ver and f_oid.

19 years agoFixex two bugs: 1. add lov & lmv for clients which have already had lov&lmv in mgs_wr...
huanghua [Fri, 7 Apr 2006 09:09:33 +0000 (09:09 +0000)]
Fixex two bugs: 1. add lov & lmv for clients which have already had lov&lmv in mgs_write_log_mdt;
2. skip adding mdt to cmm which resides on this mdt itself.
basically, it passed simple tests. It seems that MGS generates correct config logs. :)

19 years agofinished the last function in MGS: mgs_steal_llog_for_mdt_from_client.
huanghua [Fri, 7 Apr 2006 04:41:33 +0000 (04:41 +0000)]
finished the last function in MGS: mgs_steal_llog_for_mdt_from_client.
compilation passed.
mgs_steal_llog_for_mdt_from_client has the following steps:
1. find a "marker" to identify the start of adding osc/mdc for clients;
2. duplicate config log from clients' to mdt's:
(a) add start marker;
(b) duplicate add_uuid;
(c) duplicate attach, modify uuid for the new obd;
(d) duplicate setup;
(e) duplicate lov_add to lov_add (or lmv_add to cmm_add);
(f) add end marker;
3. got a "marker" to end. goto 1. to find another.

19 years agosmall fixes to mdt: add few statics, and remove osd declaration
nikita [Thu, 6 Apr 2006 21:25:32 +0000 (21:25 +0000)]
small fixes to mdt: add few statics, and remove osd declaration

19 years agoadd osd skeleton
nikita [Thu, 6 Apr 2006 21:23:14 +0000 (21:23 +0000)]
add osd skeleton

19 years agofile sec_gss.c was added on branch b_new_cmd on 2006-09-11 22:05:00 +0000
ericm [Thu, 6 Apr 2006 19:20:21 +0000 (19:20 +0000)]
file sec_gss.c was added on branch b_new_cmd on 2006-09-11 22:05:00 +0000

19 years agofile gss_cli_upcall.c was added on branch b_new_cmd on 2006-09-11 22:05:00 +0000
ericm [Thu, 6 Apr 2006 19:20:19 +0000 (19:20 +0000)]
file gss_cli_upcall.c was added on branch b_new_cmd on 2006-09-11 22:05:00 +0000

19 years agolustre_msg_check_version(): straighten a bit
nikita [Thu, 6 Apr 2006 13:47:53 +0000 (13:47 +0000)]
lustre_msg_check_version(): straighten a bit

19 years agomdt prototype: 0. add handlers for dlm requests; 1. add fid_build_res_name() and...
nikita [Thu, 6 Apr 2006 13:47:08 +0000 (13:47 +0000)]
mdt prototype: 0. add handlers for dlm requests; 1. add fid_build_res_name() and fid_res_name_eq() (should go into separate file, ultimately); 2. add some stubs for interoperability code

19 years agofix boilerplate
nikita [Thu, 6 Apr 2006 12:47:08 +0000 (12:47 +0000)]
fix boilerplate

19 years agoBranch b_new_cmd
wangdi [Thu, 6 Apr 2006 09:33:03 +0000 (09:33 +0000)]
Branch b_new_cmd
1) add mdd_put_object in release method to destory the object when nlink of the
   object is zero.
2) some minor fixes

19 years ago- fixes in lustre_swab_lu_fid()
yury [Thu, 6 Apr 2006 07:41:54 +0000 (07:41 +0000)]
- fixes in lustre_swab_lu_fid()

19 years ago- changes about fids:
yury [Thu, 6 Apr 2006 07:40:46 +0000 (07:40 +0000)]
- changes about fids:
  - f_seq is 64bit field to allow to create not less than 2 ^ 64 objects;
  - f_num is compound 64bit field containing oid (object id) and object version;
  - for issuing dlm locks we use f_num.

19 years agopartially of adding MDT. passed compile.
huanghua [Thu, 6 Apr 2006 05:33:38 +0000 (05:33 +0000)]
partially of adding MDT. passed compile.

19 years agogeneralize fid_{,un}lock() interface
nikita [Wed, 5 Apr 2006 19:24:43 +0000 (19:24 +0000)]
generalize fid_{,un}lock() interface

19 years agoadd "inline" to make compiler happy
nikita [Wed, 5 Apr 2006 19:05:12 +0000 (19:05 +0000)]
add "inline" to make compiler happy

19 years ago- preparation before converting client to new fids
yury [Wed, 5 Apr 2006 18:09:24 +0000 (18:09 +0000)]
- preparation before converting client to new fids

19 years agoBranch: b_new_cmd
wangdi [Wed, 5 Apr 2006 06:20:31 +0000 (06:20 +0000)]
Branch: b_new_cmd
update mdd prototype

19 years ago- added fid_lock()/fid_unlock()
yury [Tue, 4 Apr 2006 13:24:23 +0000 (13:24 +0000)]
- added fid_lock()/fid_unlock()

- many changes about using fid. Idea is that we do not want to change whole mds stuff to use new fids but we want to use new fids for new modules.

19 years agoanoter occurance of ll_fid
tappro [Tue, 4 Apr 2006 09:08:52 +0000 (09:08 +0000)]
anoter occurance of ll_fid

19 years agouse lu_fid instead of ll_fid
tappro [Tue, 4 Apr 2006 08:58:37 +0000 (08:58 +0000)]
use lu_fid instead of ll_fid

19 years agoBranch: b_new_cmd
wangdi [Tue, 4 Apr 2006 08:27:04 +0000 (08:27 +0000)]
Branch: b_new_cmd
1.move share structure to mdd
2.some minor fixes

19 years agomove cmm name to the obd.h
tappro [Tue, 4 Apr 2006 07:44:01 +0000 (07:44 +0000)]
move cmm name to the obd.h

19 years agoadd missed makefile stuff
tappro [Tue, 4 Apr 2006 07:41:12 +0000 (07:41 +0000)]
add missed makefile stuff

19 years ago- renames of ll_fid (what is expanded to llite_fid) into lu_fid (lustre_fid)
yury [Tue, 4 Apr 2006 06:41:15 +0000 (06:41 +0000)]
- renames of ll_fid (what is expanded to llite_fid) into lu_fid (lustre_fid)

19 years agoadd CMM to makefiles
tappro [Mon, 3 Apr 2006 18:29:26 +0000 (18:29 +0000)]
add CMM to makefiles

19 years agoCMM support
tappro [Mon, 3 Apr 2006 18:28:25 +0000 (18:28 +0000)]
CMM support

19 years agogeneric cmm device support
tappro [Mon, 3 Apr 2006 18:27:35 +0000 (18:27 +0000)]
generic cmm device support

19 years agomove generic md_ stuff from mdt.h to md_object.h. It is extention for
tappro [Mon, 3 Apr 2006 18:23:41 +0000 (18:23 +0000)]
move generic md_ stuff from mdt.h to md_object.h. It is extention for
lu_object.h

19 years agomove LUSTRE_MDT0_NAME into global header: utils need it
nikita [Mon, 3 Apr 2006 15:30:35 +0000 (15:30 +0000)]
move LUSTRE_MDT0_NAME into global header: utils need it

19 years agomark local declaration "static"
nikita [Mon, 3 Apr 2006 15:29:52 +0000 (15:29 +0000)]
mark local declaration "static"

19 years agomdt: use new ptlrpc_key interface
nikita [Mon, 3 Apr 2006 15:29:25 +0000 (15:29 +0000)]
mdt: use new ptlrpc_key interface

19 years agokill unused declaration
nikita [Mon, 3 Apr 2006 15:28:45 +0000 (15:28 +0000)]
kill unused declaration

19 years agofix OBD_ALLOC_* macros to (0) avoid multiple evaluation of @ptr; (1) return value
nikita [Mon, 3 Apr 2006 15:28:18 +0000 (15:28 +0000)]
fix OBD_ALLOC_* macros to (0) avoid multiple evaluation of @ptr; (1) return value

19 years agoadd temporary backpointer from lu_device to obd_device
nikita [Mon, 3 Apr 2006 15:27:28 +0000 (15:27 +0000)]
add temporary backpointer from lu_device to obd_device

19 years agonew ptlrpc interface allowing modules to allocate per-thread values
nikita [Mon, 3 Apr 2006 15:26:43 +0000 (15:26 +0000)]
new ptlrpc interface allowing modules to allocate per-thread values
(conceptually similar to pthread_key_create(3)).

19 years agoBranch: b_new_cmd
wangdi [Mon, 3 Apr 2006 14:42:30 +0000 (14:42 +0000)]
Branch: b_new_cmd
update mdd proto type of mdd

19 years agoBranch: b_new_cmd
wangdi [Mon, 3 Apr 2006 10:36:45 +0000 (10:36 +0000)]
Branch: b_new_cmd
update mdd prototype

19 years agomdt prototype updates: cleanup of mdt_handle()
nikita [Sun, 2 Apr 2006 15:21:44 +0000 (15:21 +0000)]
mdt prototype updates: cleanup of mdt_handle()

19 years agoBranch: b_new_cmd
wangdi [Sun, 2 Apr 2006 03:01:23 +0000 (03:01 +0000)]
Branch: b_new_cmd
add mdd_handler.c mdd_internal.h for mdd prototype

19 years agomdt proto changes:
nikita [Fri, 31 Mar 2006 13:26:50 +0000 (13:26 +0000)]
mdt proto changes:

 - instroduce mdt_lock_handle, and add it to mdt_thread_info to reduce stack
 consumption;

 - fix mdt_mkdir() sample method to create second (child) object.

19 years agocomment out all the code and make it to be able to compile
huanghua [Fri, 31 Mar 2006 09:58:30 +0000 (09:58 +0000)]
comment out all the code and make it to be able to compile

19 years agomdt prototype updates
nikita [Fri, 31 Mar 2006 09:45:55 +0000 (09:45 +0000)]
mdt prototype updates

19 years agolu_object updates
nikita [Fri, 31 Mar 2006 09:45:22 +0000 (09:45 +0000)]
lu_object updates

19 years agomds_fid2locked_dentry(): kill unused parameters
nikita [Fri, 31 Mar 2006 09:44:44 +0000 (09:44 +0000)]
mds_fid2locked_dentry(): kill unused parameters

19 years agoPROTO for Adding MDT in CMD with mountconf.
huanghua [Fri, 31 Mar 2006 09:27:20 +0000 (09:27 +0000)]
PROTO for Adding MDT in CMD with mountconf.
Till now, it is not compillable!!

19 years agomdt prototype changes
nikita [Wed, 29 Mar 2006 18:52:52 +0000 (18:52 +0000)]
mdt prototype changes

19 years agoadd OBD_FAIL_MDS_SET_INFO_{PACK,NET}: having OBD_FAIL's for all mds methods makes...
nikita [Wed, 29 Mar 2006 18:51:50 +0000 (18:51 +0000)]
add OBD_FAIL_MDS_SET_INFO_{PACK,NET}: having OBD_FAIL's for all mds methods makes mdt code simpler

19 years agoyank lu_device and lu_device_type inside of obd_device and obd_type resp. This is...
nikita [Wed, 29 Mar 2006 18:48:37 +0000 (18:48 +0000)]
yank lu_device and lu_device_type inside of obd_device and obd_type resp. This is temporary measure to avoid changing a lot of code at prototype stage

19 years agoadd lfid_eq() function
nikita [Wed, 29 Mar 2006 18:47:04 +0000 (18:47 +0000)]
add lfid_eq() function

19 years agofix uninitialized variable reported by gcc
nikita [Wed, 29 Mar 2006 18:46:32 +0000 (18:46 +0000)]
fix uninitialized variable reported by gcc

19 years agofixes for lu_* types
nikita [Wed, 29 Mar 2006 18:44:40 +0000 (18:44 +0000)]
fixes for lu_* types

19 years ago->o_setup() methods always take struct lustre_cfg in buffer, make this explicit in...
nikita [Wed, 29 Mar 2006 18:41:38 +0000 (18:41 +0000)]
->o_setup() methods always take struct lustre_cfg in buffer, make this explicit in typing

19 years agoadd mds-laeyring prototype
nikita [Tue, 28 Mar 2006 15:56:58 +0000 (15:56 +0000)]
add mds-laeyring prototype

19 years agoThis commit was manufactured by cvs2svn to create branch 'b_new_cmd'.
cvs2svn [Mon, 27 Mar 2006 10:33:33 +0000 (10:33 +0000)]
This commit was manufactured by cvs2svn to create branch 'b_new_cmd'.

19 years agob=9858
yujian [Mon, 27 Mar 2006 10:33:32 +0000 (10:33 +0000)]
b=9858
add some new test cases:
-test_20: start mds first
-test_21: start mds last
-test_22: start mds between two osts
-test_23: add a new ost before a client has started
-test_24: add a new ost after a client has started

19 years agoBranch b1_4_mountconf
nathan [Sat, 25 Mar 2006 01:40:05 +0000 (01:40 +0000)]
Branch b1_4_mountconf
b=9858
test changes for mountconf

19 years agoBranch b1_4_mountconf
nathan [Fri, 24 Mar 2006 20:49:19 +0000 (20:49 +0000)]
Branch b1_4_mountconf
b=9858
more cleanup of conf-sanity

19 years agoBranch b1_4_mountconf
nathan [Fri, 24 Mar 2006 00:04:39 +0000 (00:04 +0000)]
Branch b1_4_mountconf
b=9858
stupid strsep caused memory leak,
more changes for conf-sanity

19 years agoBranch b1_4_mountconf
nathan [Thu, 23 Mar 2006 01:34:43 +0000 (01:34 +0000)]
Branch b1_4_mountconf
b=9858
conf-sanity working (at least starting)

19 years agoBranch b1_4_mountconf
nathan [Wed, 22 Mar 2006 22:49:14 +0000 (22:49 +0000)]
Branch b1_4_mountconf
b=9858
sanityN working

19 years agoBranch b1_4_mountconf
nathan [Wed, 22 Mar 2006 20:00:00 +0000 (20:00 +0000)]
Branch b1_4_mountconf
b=9858
replace llmount/llmountcleanup with mountconf.sh
fix sanity

19 years agoBranch b1_4_mountconf
nathan [Tue, 21 Mar 2006 20:34:04 +0000 (20:34 +0000)]
Branch b1_4_mountconf
b=4482
Fix some recovery problems with late-added OSTs. A "late-added" OST is one
which is added to the FS after the MDT is added.  Since the config logs are
not re-written, these OSTs get added to the LOV after the MDT starts up,
every time the MDT starts up.  We have to fix the mdsize, and re-setup the
llogs whenever we add a late OST.

This fix in particular: during replay on an MDT, we still have to set the
right mdsize, but don't re-setup the llogs until recovery finishes.
(replay-single test 13)
Also check recovery w/o replay: create file, failover MDT, create another file.

19 years agoBranch b1_4_mountconf
nathan [Tue, 21 Mar 2006 20:02:34 +0000 (20:02 +0000)]
Branch b1_4_mountconf
b=9858
move mountconf deltas into test-framework as much as possible
replay-single now works reasonably well

19 years agoBranch b1_4_mountconf
nathan [Tue, 21 Mar 2006 16:53:12 +0000 (16:53 +0000)]
Branch b1_4_mountconf
b=9858
get service name from disk label

19 years agob=9853
yujian [Tue, 21 Mar 2006 11:20:09 +0000 (11:20 +0000)]
b=9853
- verify service IP addresses with failover nodes

19 years agob=9853
yujian [Tue, 21 Mar 2006 11:18:22 +0000 (11:18 +0000)]
b=9853
- scp ha.cf to all the nodes in the failover group, that is, all the nodes
  in one failover group have the same ha.cf file

19 years agob=9853
yujian [Tue, 21 Mar 2006 11:16:06 +0000 (11:16 +0000)]
b=9853
- modify the csv samples
- MGMT_NID->MGS_NIDS, NETWORKS->MODULE_OPTS
- --failover->--failnode, --mgmtnid->--mgsnode, --mgmt->--mgs

19 years agoThis is needed to place the new file in the make dist tarball, rpm build was broken.
cliffw [Mon, 20 Mar 2006 23:07:08 +0000 (23:07 +0000)]
This is needed to place the new file in the make dist tarball, rpm build was broken.

19 years agob=8007
nathan [Fri, 17 Mar 2006 22:30:31 +0000 (22:30 +0000)]
b=8007
update to b_rel_146

19 years agofile tcp-zero-copy-2.6.5-7.244.patch was added on branch b1_4_mountconf on 2006-04...
nathan [Fri, 17 Mar 2006 09:29:38 +0000 (09:29 +0000)]
file tcp-zero-copy-2.6.5-7.244.patch was added on branch b1_4_mountconf on 2006-04-17 21:30:25 +0000

19 years agofile tcp-zero-copy-2.6.5-7.244.patch was added on branch b_new_cmd on 2006-05-19...
yury [Fri, 17 Mar 2006 09:29:31 +0000 (09:29 +0000)]
file tcp-zero-copy-2.6.5-7.244.patch was added on branch b_new_cmd on 2006-05-19 11:29:25 +0000

19 years agofile tcp-zero-copy-2.6.12.6.patch was added on branch b1_4_mountconf on 2006-04-17...
nathan [Fri, 17 Mar 2006 09:29:27 +0000 (09:29 +0000)]
file tcp-zero-copy-2.6.12.6.patch was added on branch b1_4_mountconf on 2006-04-17 21:30:25 +0000

19 years agofile tcp-zero-copy-2.6.12.6.patch was added on branch b_new_cmd on 2006-05-19 11...
yury [Fri, 17 Mar 2006 09:29:20 +0000 (09:29 +0000)]
file tcp-zero-copy-2.6.12.6.patch was added on branch b_new_cmd on 2006-05-19 11:29:25 +0000

19 years agoBranch b1_4_mountconf
nathan [Thu, 16 Mar 2006 23:15:31 +0000 (23:15 +0000)]
Branch b1_4_mountconf
b=9861
Use common code to parse params from mkfs.lustre and from lctl:
 mkfs.lustre --mdt --param="default_stripe_size=1114112" /dev/sda
or
 lctl conf_param lustre-MDT0000 default_stripe_size=1114112
Implemented so far:
default_stripe_size
default_stripe_count
default_stripe_offset
default_stripe_pattern
obd_timeout
failnode

19 years agoBranch b1_4_mountconf
nathan [Thu, 16 Mar 2006 00:28:45 +0000 (00:28 +0000)]
Branch b1_4_mountconf
b=8007
Have to set the mds_max_mdsize for a recovery startup as well.
This patch does it "late", after the recovery completes -- this may not be
sufficient for replay.

19 years agoBranch b1_4_mountconf
nathan [Wed, 15 Mar 2006 18:03:51 +0000 (18:03 +0000)]
Branch b1_4_mountconf
b=9861
change client mount command from
mount uml1:/lustre-client
to
mount uml1:/lustre
at Braam's request.