Whamcloud - gitweb
fs/lustre-release.git
18 years agomkdir oi & ROOT for iam need.
huanghua [Mon, 17 Apr 2006 10:23:47 +0000 (10:23 +0000)]
mkdir oi & ROOT for iam need.

18 years agoosd changes
tappro [Mon, 17 Apr 2006 10:00:54 +0000 (10:00 +0000)]
osd changes

18 years agomdd changes
tappro [Mon, 17 Apr 2006 10:00:31 +0000 (10:00 +0000)]
mdd changes

18 years agoupdate cmm
tappro [Mon, 17 Apr 2006 10:00:11 +0000 (10:00 +0000)]
update cmm

18 years agomove mds devices init into mdt
tappro [Mon, 17 Apr 2006 09:58:59 +0000 (09:58 +0000)]
move mds devices init into mdt

18 years agoadd layers initialization here. MDT as top device will init/fini other devices.
tappro [Mon, 17 Apr 2006 09:57:41 +0000 (09:57 +0000)]
add layers initialization here. MDT as top device will init/fini other devices.
add disconnect to put export
fix missed OBD_FREE

18 years agochange deslarations in view of latest changes in ldto_device_init/fini() and
tappro [Mon, 17 Apr 2006 09:55:14 +0000 (09:55 +0000)]
change deslarations in view of latest changes in ldto_device_init/fini() and
lu_site_init()

18 years ago- change lu_site_init/fini to handle and store lmi
tappro [Mon, 17 Apr 2006 09:53:08 +0000 (09:53 +0000)]
- change lu_site_init/fini to handle and store lmi
  fix device_put() issue in object_fini()

18 years agoBranch: remove fld.c
wangdi [Mon, 17 Apr 2006 06:51:18 +0000 (06:51 +0000)]
Branch: remove fld.c

18 years agomdt: 0. use ->md_attr_get(); 1. mdt_req_handle(): fix HABEO_CLAVIS (dlm_req handling)
nikita [Sun, 16 Apr 2006 19:49:22 +0000 (19:49 +0000)]
mdt: 0. use ->md_attr_get(); 1. mdt_req_handle(): fix HABEO_CLAVIS (dlm_req handling)

18 years agoadd ->{dt,md}_attr_{get,set}
nikita [Sun, 16 Apr 2006 19:48:05 +0000 (19:48 +0000)]
add ->{dt,md}_attr_{get,set}

18 years agorename: attr_{set,get} -> xattr_{set,get}
nikita [Sun, 16 Apr 2006 18:52:25 +0000 (18:52 +0000)]
rename: attr_{set,get} -> xattr_{set,get}

18 years agoadd MDS_FLD to ll_rpc_opcode[]
nikita [Sun, 16 Apr 2006 17:46:59 +0000 (17:46 +0000)]
add MDS_FLD to ll_rpc_opcode[]

18 years agoosd: add better object index stub: generate fids from ino/generation and other way...
nikita [Sun, 16 Apr 2006 17:46:36 +0000 (17:46 +0000)]
osd: add better object index stub: generate fids from ino/generation and other way around

18 years agolu_site_fini(): break reference from lu_device to lu_site
nikita [Sun, 16 Apr 2006 17:45:27 +0000 (17:45 +0000)]
lu_site_fini(): break reference from lu_device to lu_site

18 years agomdt: 0. add mdt_md_mkdir() back; 1. mdt_fld_fini() returns void
nikita [Sun, 16 Apr 2006 17:44:56 +0000 (17:44 +0000)]
mdt: 0. add mdt_md_mkdir() back; 1. mdt_fld_fini() returns void

18 years agoBranch:
wangdi [Sun, 16 Apr 2006 12:30:24 +0000 (12:30 +0000)]
Branch:
update fld prototype according to nikita's review

18 years agoBranch: b_new_cmd
wangdi [Sun, 16 Apr 2006 08:09:31 +0000 (08:09 +0000)]
Branch: b_new_cmd
startup separate new service for fld request

18 years agoosd: use object index and iget to load inodes
nikita [Sat, 15 Apr 2006 22:42:31 +0000 (22:42 +0000)]
osd: use object index and iget to load inodes

18 years agoosd: add object index prototype
nikita [Sat, 15 Apr 2006 22:41:48 +0000 (22:41 +0000)]
osd: add object index prototype

18 years agomdt: simplify mdt_getattr() object is already found by mdt_req_handle(), and attribut...
nikita [Sat, 15 Apr 2006 22:40:57 +0000 (22:40 +0000)]
mdt: simplify mdt_getattr() object is already found by mdt_req_handle(), and attributes already loaded

18 years agoadd forward declarations
nikita [Sat, 15 Apr 2006 22:40:16 +0000 (22:40 +0000)]
add forward declarations

18 years agoadd fid_misc.c file with fid_to_le()
nikita [Sat, 15 Apr 2006 22:40:00 +0000 (22:40 +0000)]
add fid_misc.c file with fid_to_le()

18 years ago- different renames to make llite not working on mdc related structures directly
yury [Sat, 15 Apr 2006 13:52:25 +0000 (13:52 +0000)]
- different renames to make llite not working on mdc related structures directly

18 years agoupdate lustre_assert_wire_constants()
nikita [Fri, 14 Apr 2006 22:33:56 +0000 (22:33 +0000)]
update lustre_assert_wire_constants()

18 years agoadd new request opc to the ll_rpc_opcode table
nikita [Fri, 14 Apr 2006 22:33:30 +0000 (22:33 +0000)]
add new request opc to the ll_rpc_opcode table

18 years agomdt_connect(): fix access to mdt_device
nikita [Fri, 14 Apr 2006 22:33:03 +0000 (22:33 +0000)]
mdt_connect(): fix access to mdt_device

18 years agoswitch to new lu_context_key model: struct mdt_thread_info is now a value of lu_conte...
nikita [Fri, 14 Apr 2006 22:08:21 +0000 (22:08 +0000)]
switch to new lu_context_key model: struct mdt_thread_info is now a value of lu_context key

18 years agoregenerate wiretest: fld added new mds ops
nikita [Fri, 14 Apr 2006 22:07:08 +0000 (22:07 +0000)]
regenerate wiretest: fld added new mds ops

18 years agoremove ptlrpc_thread_key functions: use lu_context_key instead
nikita [Fri, 14 Apr 2006 22:05:53 +0000 (22:05 +0000)]
remove ptlrpc_thread_key functions: use lu_context_key instead

18 years agoosd_device: add reference to objdir
nikita [Fri, 14 Apr 2006 22:05:05 +0000 (22:05 +0000)]
osd_device: add reference to objdir

18 years agoosd: use new lu_context_key functions, add osd_fid_lookup()
nikita [Fri, 14 Apr 2006 22:04:44 +0000 (22:04 +0000)]
osd: use new lu_context_key functions, add osd_fid_lookup()

18 years agoimprove lu_context_key() functions, add lu_context_key_degister()
nikita [Fri, 14 Apr 2006 22:02:11 +0000 (22:02 +0000)]
improve lu_context_key() functions, add lu_context_key_degister()

18 years agoll_prepare_mdc_op_data(): fix typo in assertion
nikita [Fri, 14 Apr 2006 22:00:24 +0000 (22:00 +0000)]
ll_prepare_mdc_op_data(): fix typo in assertion

18 years agoadd fid_is_sane()
nikita [Fri, 14 Apr 2006 21:54:18 +0000 (21:54 +0000)]
add fid_is_sane()

18 years agoadd fid_is_local(): stub for now
nikita [Fri, 14 Apr 2006 21:32:12 +0000 (21:32 +0000)]
add fid_is_local(): stub for now

18 years ago- more changes in lmv
yury [Fri, 14 Apr 2006 17:42:03 +0000 (17:42 +0000)]
- more changes in lmv

18 years agoBranch: b_new_cmd
wangdi [Fri, 14 Apr 2006 17:03:22 +0000 (17:03 +0000)]
Branch: b_new_cmd
update fld prototype

18 years ago- using lu_fid_eq() instead of fid_equals()
yury [Fri, 14 Apr 2006 15:16:15 +0000 (15:16 +0000)]
- using lu_fid_eq() instead of fid_equals()

18 years ago- fix in makefile
yury [Fri, 14 Apr 2006 15:13:58 +0000 (15:13 +0000)]
- fix in makefile

18 years ago- basic lmv to new fids adaptation.
yury [Fri, 14 Apr 2006 15:05:26 +0000 (15:05 +0000)]
- basic lmv to new fids adaptation.

18 years ago- get rid of ll_fid in mgs
yury [Fri, 14 Apr 2006 10:51:49 +0000 (10:51 +0000)]
- get rid of ll_fid in mgs

18 years agoadd lmv code from head. Need to be adapted.
tappro [Fri, 14 Apr 2006 10:33:00 +0000 (10:33 +0000)]
add lmv code from head. Need to be adapted.

18 years ago- update from parent
yury [Fri, 14 Apr 2006 07:37:24 +0000 (07:37 +0000)]
- update from parent

18 years agoadd lu_context everywhere. Mountability preserved.
nikita [Thu, 13 Apr 2006 22:58:28 +0000 (22:58 +0000)]
add lu_context everywhere. Mountability preserved.

18 years agofile vfs_intent-2.6-fc3.patch was added on branch b_new_cmd on 2006-05-19 11:29:25...
yury [Thu, 13 Apr 2006 21:51:21 +0000 (21:51 +0000)]
file vfs_intent-2.6-fc3.patch was added on branch b_new_cmd on 2006-05-19 11:29:25 +0000

18 years agoBranch: b_new_cmd
wangdi [Thu, 13 Apr 2006 14:09:47 +0000 (14:09 +0000)]
Branch: b_new_cmd
prototype of fld

18 years agoBranch: b_new_cmd
wangdi [Thu, 13 Apr 2006 13:37:58 +0000 (13:37 +0000)]
Branch: b_new_cmd
add fld prototype

18 years ago- bringing liblustre to use fids like llite does - just to not lost changes and do...
yury [Thu, 13 Apr 2006 11:43:33 +0000 (11:43 +0000)]
- bringing liblustre to use fids like llite does - just to not lost changes and do not do them later;
- fix all legacy res_id.name generation in both llite and liblustre;
- get rid of ino and generation in mdt_body;
- cleanups about using fids in llite and liblustre;
- remove ll_test_inode() - we can live without it;

18 years agoadd prefix to lu_attr fields
nikita [Thu, 13 Apr 2006 09:33:44 +0000 (09:33 +0000)]
add prefix to lu_attr fields

18 years agofile gss_rawobj.c was added on branch b_new_cmd on 2006-09-11 22:05:00 +0000
ericm [Thu, 13 Apr 2006 03:46:13 +0000 (03:46 +0000)]
file gss_rawobj.c was added on branch b_new_cmd on 2006-09-11 22:05:00 +0000

18 years agolu_context changes
tappro [Wed, 12 Apr 2006 22:20:37 +0000 (22:20 +0000)]
lu_context changes

18 years agofill lu_attr while object initialization
tappro [Wed, 12 Apr 2006 22:18:56 +0000 (22:18 +0000)]
fill lu_attr while object initialization
lu_context changes

18 years agoremove unneeded methods and apply changes due to lu_context
tappro [Wed, 12 Apr 2006 22:17:26 +0000 (22:17 +0000)]
remove unneeded methods and apply changes due to lu_context

18 years agoadd lu_context to the methods
tappro [Wed, 12 Apr 2006 22:16:47 +0000 (22:16 +0000)]
add lu_context to the methods
use lu_attr in mdt_getattr()

18 years agointroduce the lu_context and lu_attr structures
tappro [Wed, 12 Apr 2006 22:15:20 +0000 (22:15 +0000)]
introduce the lu_context and lu_attr structures
convert struct context to the struct md_params
add lu_context parameter to the lu_ and md_ methods

18 years agodt_data initialization is commented out cause it is broken. Umka, take a look please
tappro [Wed, 12 Apr 2006 22:12:32 +0000 (22:12 +0000)]
dt_data initialization is commented out cause it is broken. Umka, take a look please
calculated inode number is copied to the mdt_body

18 years agopointer to super-block lives in osd_device, use it
nikita [Wed, 12 Apr 2006 21:02:45 +0000 (21:02 +0000)]
pointer to super-block lives in osd_device, use it

18 years ago- added lustre_fid.h into Makefile
yury [Wed, 12 Apr 2006 15:07:45 +0000 (15:07 +0000)]
- added lustre_fid.h into Makefile

18 years ago- added fid.ko module. Simple seq management moved to it from mdt. Mdt uses it as...
yury [Wed, 12 Apr 2006 14:40:42 +0000 (14:40 +0000)]
- added fid.ko module. Simple seq management moved to it from mdt. Mdt uses it as well as ost can use it. In principle fid.ko may contain all fid related stuff like client's fid allocation one, etc.;

- renamed ll_fid2ino() to ll_fid_build_ino()

18 years agosplit struct dt_device_operations.
nikita [Wed, 12 Apr 2006 14:20:12 +0000 (14:20 +0000)]
split struct dt_device_operations.
fix layering in cmm.

18 years agosplit struct md_device_operations into struct md_device_operations and struct md_obje...
nikita [Wed, 12 Apr 2006 13:48:42 +0000 (13:48 +0000)]
split struct md_device_operations into struct md_device_operations and struct md_object_operations

18 years agowrong assignment for md_data, dt_data
tappro [Wed, 12 Apr 2006 13:36:36 +0000 (13:36 +0000)]
wrong assignment for md_data, dt_data
put ll_i2info(root) using after check for root validity

18 years agochange child getting from macros to inline
tappro [Wed, 12 Apr 2006 13:33:51 +0000 (13:33 +0000)]
change child getting from macros to inline
add attr_get support

18 years agoadd const qualifiers
nikita [Wed, 12 Apr 2006 12:41:14 +0000 (12:41 +0000)]
add const qualifiers

18 years agofix module initialization
nikita [Wed, 12 Apr 2006 12:40:23 +0000 (12:40 +0000)]
fix module initialization

18 years ago- fixes in lli_nfs.c. Seems nfs will not work due to incompatibility with fids, but...
yury [Wed, 12 Apr 2006 11:31:28 +0000 (11:31 +0000)]
- fixes in lli_nfs.c. Seems nfs will not work due to incompatibility with fids, but in any  case it will not cause oops.

18 years ago- pass ino into ILOOKUP() in search_inode_for_lustre()
yury [Wed, 12 Apr 2006 10:45:26 +0000 (10:45 +0000)]
- pass ino into ILOOKUP() in search_inode_for_lustre()

18 years ago- convert llite_nfs.c to using fids
yury [Wed, 12 Apr 2006 10:30:28 +0000 (10:30 +0000)]
- convert llite_nfs.c to using fids

18 years agofile iallocsem_consistency.patch was added on branch b_new_cmd on 2006-05-19 11:29...
yury [Wed, 12 Apr 2006 09:44:53 +0000 (09:44 +0000)]
file iallocsem_consistency.patch was added on branch b_new_cmd on 2006-05-19 11:29:25 +0000

18 years agomodule_setup.sh: copy newly added modules into kernel module directory
huanghua [Wed, 12 Apr 2006 08:25:25 +0000 (08:25 +0000)]
module_setup.sh: copy newly added modules into kernel module directory
loadmod_all.sh: load modules needed for Lustre. Users may only load modules they need.
also setup some debug features.

18 years agoadd "#if 0" to remove "defined but not used" warnings.
huanghua [Wed, 12 Apr 2006 07:12:57 +0000 (07:12 +0000)]
add "#if 0" to remove "defined but not used" warnings.

18 years agoFixed a bug: when stealing config log for add mdc & osc from clients', I should
huanghua [Wed, 12 Apr 2006 06:30:40 +0000 (06:30 +0000)]
Fixed a bug: when stealing config log for add mdc & osc from clients', I should
change the name of the mdc&osc, instead of uuid.

18 years agorename functions to follow prefix_object_verb() style; export mdt_seq_alloc
nikita [Tue, 11 Apr 2006 20:47:57 +0000 (20:47 +0000)]
rename functions to follow prefix_object_verb() style; export mdt_seq_alloc

18 years agoosd: implement ->dt_get_root() method
nikita [Tue, 11 Apr 2006 18:55:16 +0000 (18:55 +0000)]
osd: implement ->dt_get_root() method

18 years agoadd const here and there
nikita [Tue, 11 Apr 2006 18:54:34 +0000 (18:54 +0000)]
add const here and there

18 years agoosd: add ->dt_root_get() and ->object_release() methods
nikita [Tue, 11 Apr 2006 18:34:48 +0000 (18:34 +0000)]
osd: add ->dt_root_get() and ->object_release() methods

18 years agomdt_init0(): cleanup
nikita [Tue, 11 Apr 2006 18:34:02 +0000 (18:34 +0000)]
mdt_init0(): cleanup

18 years agomove device_{init,fini}() into lu_device_type_operations, and add "const" to second...
nikita [Tue, 11 Apr 2006 18:33:01 +0000 (18:33 +0000)]
move device_{init,fini}() into lu_device_type_operations, and add "const" to second argument of ->ldto_device_init()

18 years agofix object allocation sequence
nikita [Tue, 11 Apr 2006 17:45:12 +0000 (17:45 +0000)]
fix object allocation sequence

18 years ago- for proto better use simple seq. allocation without using meta-sequence which is...
yury [Tue, 11 Apr 2006 16:36:40 +0000 (16:36 +0000)]
- for proto better use simple seq. allocation without using meta-sequence which is going to improve later;
- implement simple ll_fid_alloc() which allocates new fids on client;
- implemented simple ll_fid2ino() which allocates client inode numbers from passed fid;

- root object is allocated in separate sequence with number 1. Sequences and fid numbers with value 0 are not allowed by ldlm - fixing that. First seq is 1, first fid in seq is 1;

- implemented simple mdt_alloc_seq() which allocates new sequences to clients;
- fixes in mdt_init_seq();
- using sema instead of spinlock in mdt_alloc_seq(), as bumping the seq and saving it to back store should be atomic operation and sleeping on possible IO with lcoked spin lock is not allowed.

18 years ago- added ->md_config() and ->dt_config() method for getting/setting named configuratio...
yury [Tue, 11 Apr 2006 13:27:30 +0000 (13:27 +0000)]
- added ->md_config() and ->dt_config() method for getting/setting named configuration data from/to back store device. For instance, MDT needs to get saved meta-sequence info from lower layers (osd);

- added mdt_metaseq_init() method called from mdt_init0();
- added basic and primitive stuff about meta-sequence management in mdt;
- added some comments, fixes in mdt_init0() about correct handling error cases (memort freeing, etc.);
- fixed memory leak in mdt_fini(). There d->ld_site was not freed;

18 years agonew init
tappro [Tue, 11 Apr 2006 06:48:17 +0000 (06:48 +0000)]
new init
get lustre_mount_info and attach the mounted device to the osd
working statfs()

18 years agonew init schema
tappro [Tue, 11 Apr 2006 06:46:48 +0000 (06:46 +0000)]
new init schema
statfs, root_get support
root fid is pre-defined

18 years agonew init schema
tappro [Tue, 11 Apr 2006 06:45:31 +0000 (06:45 +0000)]
new init schema
statfs, root_get support

18 years agoadd support for new init schema
tappro [Tue, 11 Apr 2006 06:44:31 +0000 (06:44 +0000)]
add support for new init schema
add .mdo_statfs(), .mdo_root_get() with calling the child device
add mdt_connect() which accept client connection
add check for req->rq_export in mdt_handle()
add initial proto for getattr()

18 years ago- add two methods for lu_device - init/fini. Aftef all lu_device are allocateed,
tappro [Tue, 11 Apr 2006 06:41:18 +0000 (06:41 +0000)]
- add two methods for lu_device - init/fini. Aftef all lu_device are allocateed,
  the top device call init() through all stack to start them. It is needed
because there are insufficient info for startup until all layers are setup

- add statfs() support in dt_device_ops/md_device_ops

18 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

18 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.

18 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()

18 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

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

18 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

18 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

18 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

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

18 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

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

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

18 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.