Whamcloud - gitweb
fs/lustre-release.git
18 years agoalloc new fid if IT_CREATE bit is set
tappro [Thu, 18 May 2006 13:38:36 +0000 (13:38 +0000)]
alloc new fid if IT_CREATE bit is set

18 years agodt_object_fini(): add a cast to sub-object
nikita [Wed, 17 May 2006 22:07:19 +0000 (22:07 +0000)]
dt_object_fini(): add a cast to sub-object

18 years agomdt_getattr_name(): 0. use correct offset in reply message; 1. send fid of *child...
nikita [Wed, 17 May 2006 22:06:54 +0000 (22:06 +0000)]
mdt_getattr_name(): 0. use correct offset in reply message; 1. send fid of *child* back to client

18 years agoosd: add osd_index_insert() stub
nikita [Wed, 17 May 2006 22:05:51 +0000 (22:05 +0000)]
osd: add osd_index_insert() stub

18 years agomdd_lookup(): use mdd_dt_lookup()
nikita [Wed, 17 May 2006 22:05:25 +0000 (22:05 +0000)]
mdd_lookup(): use mdd_dt_lookup()

18 years agolmv_intent_lookup(): do not dereference NULL cid
nikita [Wed, 17 May 2006 22:05:02 +0000 (22:05 +0000)]
lmv_intent_lookup(): do not dereference NULL cid

18 years agomdo_name_insert(): fid is const
nikita [Wed, 17 May 2006 22:04:26 +0000 (22:04 +0000)]
mdo_name_insert(): fid is const

18 years agogetatt_name() initial support
tappro [Wed, 17 May 2006 19:00:07 +0000 (19:00 +0000)]
getatt_name() initial support
use inlines for md_ methods

18 years agoadd lookup method, use inlines for md_ operaions
tappro [Wed, 17 May 2006 18:58:47 +0000 (18:58 +0000)]
add lookup method, use inlines for md_ operaions

18 years agomdd_lookup is added
tappro [Wed, 17 May 2006 18:57:24 +0000 (18:57 +0000)]
mdd_lookup is added

18 years agoadd lookup() method in md_dir_operations
tappro [Wed, 17 May 2006 18:56:25 +0000 (18:56 +0000)]
add lookup() method in md_dir_operations
add few methods in md_object_operations
define inlines for calling the md_ operations

18 years agonew handling of root directory:
nikita [Wed, 17 May 2006 17:49:12 +0000 (17:49 +0000)]
new handling of root directory:

osd returns a fid of its real root directory as result of ->dt_root_get();

mdd gets osd root fid during cluster startup, created corresponding object and
looks "ROOT" there.

18 years agomdt_req_handle(): uninitialized info->mti_object (foudn by Mike)
nikita [Wed, 17 May 2006 17:44:59 +0000 (17:44 +0000)]
mdt_req_handle(): uninitialized info->mti_object (foudn by Mike)

18 years agoadd dt_object_{init,fini}()
nikita [Wed, 17 May 2006 17:44:14 +0000 (17:44 +0000)]
add dt_object_{init,fini}()

18 years agosanitize transaction stuff in mdd
nikita [Wed, 17 May 2006 14:15:33 +0000 (14:15 +0000)]
sanitize transaction stuff in mdd

18 years agoadd lu_context to ->ldto_device_{alloc,free}() methods
nikita [Wed, 17 May 2006 13:13:49 +0000 (13:13 +0000)]
add lu_context to ->ldto_device_{alloc,free}() methods

18 years agofixes for liblustre compilation
nikita [Wed, 17 May 2006 11:59:14 +0000 (11:59 +0000)]
fixes for liblustre compilation

18 years agoadd lu_context to various operations
nikita [Tue, 16 May 2006 21:17:06 +0000 (21:17 +0000)]
add lu_context to various operations

18 years agoadd few dt_index_operations stubs
nikita [Tue, 16 May 2006 17:03:46 +0000 (17:03 +0000)]
add few dt_index_operations stubs

18 years agolu_object_alloc(): add static
nikita [Tue, 16 May 2006 17:03:17 +0000 (17:03 +0000)]
lu_object_alloc(): add static

18 years agomdd: update calls to match changed dt_index_operations
nikita [Tue, 16 May 2006 17:02:58 +0000 (17:02 +0000)]
mdd: update calls to match changed dt_index_operations

18 years agomodify dt_index_operations to be usable as generic index
nikita [Tue, 16 May 2006 17:02:32 +0000 (17:02 +0000)]
modify dt_index_operations to be usable as generic index

18 years agouse calls to lu_object_fid()
nikita [Tue, 16 May 2006 17:01:10 +0000 (17:01 +0000)]
use calls to lu_object_fid()

18 years agofile lov.sh was added on branch b_new_cmd on 2006-08-20 13:13:18 +0000
yury [Mon, 15 May 2006 23:21:42 +0000 (23:21 +0000)]
file lov.sh was added on branch b_new_cmd on 2006-08-20 13:13:18 +0000

18 years ago- added more tasks about FIDs to work interoperability out.
yury [Mon, 15 May 2006 06:00:37 +0000 (06:00 +0000)]
- added more tasks about FIDs to work interoperability out.

18 years agofile module_cleanup.sh was added on branch b_new_cmd on 2006-08-20 13:13:19 +0000
yury [Fri, 12 May 2006 18:47:01 +0000 (18:47 +0000)]
file module_cleanup.sh was added on branch b_new_cmd on 2006-08-20 13:13:19 +0000

18 years agoremove unused variable
tappro [Fri, 12 May 2006 10:28:03 +0000 (10:28 +0000)]
remove unused variable

18 years agoremove unused variables
tappro [Fri, 12 May 2006 10:27:35 +0000 (10:27 +0000)]
remove unused variables

18 years agofix test stuff
tappro [Fri, 12 May 2006 10:20:07 +0000 (10:20 +0000)]
fix test stuff

18 years agolmv_placement_policy creates new dir on another MDS
tappro [Fri, 12 May 2006 09:32:33 +0000 (09:32 +0000)]
lmv_placement_policy creates new dir on another  MDS

18 years agoconfigure old MDC for MDS
tappro [Fri, 12 May 2006 09:30:39 +0000 (09:30 +0000)]
configure old MDC for MDS

18 years agouse old MDC odb to communicate with server
tappro [Fri, 12 May 2006 09:29:31 +0000 (09:29 +0000)]
use old MDC odb to communicate with server
cmm_fld_lookup stub can distinguish MDS by range of seq
remove unneeded stuff

18 years agoinit ls_nodeid and set initial sequence for MDS
tappro [Fri, 12 May 2006 09:26:18 +0000 (09:26 +0000)]
init ls_nodeid and set initial sequence for MDS
call mkobj instead of mkdir if there is no name

18 years agoalloc new fid using range of sequences
tappro [Fri, 12 May 2006 09:24:54 +0000 (09:24 +0000)]
alloc new fid using range of sequences

18 years agoadd ls_node_id into struct lu_site
tappro [Fri, 12 May 2006 09:22:51 +0000 (09:22 +0000)]
add ls_node_id into struct lu_site
add m_seq_last into struct lu_seq_mgr
add LU_SEQ_RANGE value to indicate range of sequences for one MDS

18 years agolibcfs: fixes to CDEBUG(), LASSERT() and friends to reduce stack consumption (Attempt 2.)
nikita [Thu, 11 May 2006 12:25:44 +0000 (12:25 +0000)]
libcfs: fixes to CDEBUG(), LASSERT() and friends to reduce stack consumption (Attempt 2.)

18 years agoGrr... revert previous commit, as part of it went into b_hd_newconfig instead of...
nikita [Wed, 10 May 2006 23:54:22 +0000 (23:54 +0000)]
Grr... revert previous commit, as part of it went into b_hd_newconfig instead of b_new_cmd portals branch. Sorry.

18 years agolibcfs: fixes to CDEBUG(), LASSERT() and friends to reduce stack consumption
nikita [Wed, 10 May 2006 23:46:21 +0000 (23:46 +0000)]
libcfs: fixes to CDEBUG(), LASSERT() and friends to reduce stack consumption

18 years agoosd: remove accidentially committed bit of testing
nikita [Wed, 10 May 2006 23:44:27 +0000 (23:44 +0000)]
osd: remove accidentially committed bit of testing

18 years agoosd: remove explisit iam operations
nikita [Wed, 10 May 2006 23:43:36 +0000 (23:43 +0000)]
osd: remove explisit iam operations

18 years agodo ldiskfs renames in linux/lustre_iam.h
nikita [Wed, 10 May 2006 23:43:16 +0000 (23:43 +0000)]
do ldiskfs renames in linux/lustre_iam.h

18 years agoiam: fixes
nikita [Wed, 10 May 2006 23:42:46 +0000 (23:42 +0000)]
iam: fixes

18 years agodt: remove explicit iam operations from dt_device_operations. dt_index_operations...
nikita [Wed, 10 May 2006 23:42:12 +0000 (23:42 +0000)]
dt: remove explicit iam operations from dt_device_operations. dt_index_operations should be used instead

18 years agofld: fix iam usage.
nikita [Wed, 10 May 2006 23:41:34 +0000 (23:41 +0000)]
fld: fix iam usage.

18 years ago(1) Fix a memory leak bug in mdt_device_alloc: by calling mdt_device_free instead...
huanghua [Wed, 10 May 2006 09:31:21 +0000 (09:31 +0000)]
(1) Fix a memory leak bug in mdt_device_alloc: by calling mdt_device_free instead of mdt_fini;
(2) Fix a bug: add fld_fini in mdt_fld_fini to mdt_fini;
(3) Fix: call lu_site_fini after any other operation.

18 years agoBranch: b_new_cmd
wangdi [Wed, 10 May 2006 06:10:32 +0000 (06:10 +0000)]
Branch: b_new_cmd
update iam and fld prototype

18 years agosplit task of IAM proto and FLD proto for wangdi
yusy [Wed, 10 May 2006 05:57:25 +0000 (05:57 +0000)]
split task of IAM proto and FLD proto for wangdi

18 years agoosd_mount(): use simple_mkdir()
nikita [Tue, 9 May 2006 10:29:15 +0000 (10:29 +0000)]
osd_mount(): use simple_mkdir()

18 years agoadd lu_attr to the ->moo_object_create() method
nikita [Tue, 9 May 2006 10:27:33 +0000 (10:27 +0000)]
add lu_attr to the ->moo_object_create() method

18 years agodt: dt_txn_hook_*(): skip NULL call-backs
nikita [Tue, 9 May 2006 09:29:02 +0000 (09:29 +0000)]
dt: dt_txn_hook_*(): skip NULL call-backs

18 years ago- last colibri WB added to b_new_cmd/lustre/doc
yury [Tue, 9 May 2006 07:30:06 +0000 (07:30 +0000)]
- last colibri WB added to b_new_cmd/lustre/doc

18 years agoosd-oi: pass transaction handle to object index functions
nikita [Mon, 8 May 2006 23:39:09 +0000 (23:39 +0000)]
osd-oi: pass transaction handle to object index functions

18 years agoosd: 0. remove duplicate helper functions; 1. implement txn callbacks; 2. implement...
nikita [Mon, 8 May 2006 23:38:24 +0000 (23:38 +0000)]
osd: 0. remove duplicate helper functions; 1. implement txn callbacks; 2. implement object rw-locking; 3. implement object creation on disk (stub).

18 years agomdd: pass lu_attr down to osd
nikita [Mon, 8 May 2006 23:36:13 +0000 (23:36 +0000)]
mdd: pass lu_attr down to osd

18 years agodt: 0. add txn callbacks interface; 1. pass lu_attr to ->do_object_create()
nikita [Mon, 8 May 2006 23:35:06 +0000 (23:35 +0000)]
dt: 0. add txn callbacks interface; 1. pass lu_attr to ->do_object_create()

18 years agomake cmm_fld_lookup compatible with 1 MDS only
tappro [Mon, 8 May 2006 11:39:27 +0000 (11:39 +0000)]
make cmm_fld_lookup compatible with 1 MDS only

18 years agoosd: fix osd_trans_stop() to release reference to device
nikita [Sun, 7 May 2006 23:11:29 +0000 (23:11 +0000)]
osd: fix osd_trans_stop() to release reference to device

18 years agoadd some rough transaction support to osd
nikita [Sun, 7 May 2006 22:53:34 +0000 (22:53 +0000)]
add some rough transaction support to osd

18 years agoconnect mdc_device to the target MDT,
tappro [Sun, 7 May 2006 14:18:26 +0000 (14:18 +0000)]
connect mdc_device to the target MDT,

18 years agomake lu_fid const value in mdo_name_insert()
tappro [Sun, 7 May 2006 14:09:09 +0000 (14:09 +0000)]
make lu_fid const value in mdo_name_insert()

18 years ago__mdd_index_insert uses lu_fid a parameter instead of mdd_object
tappro [Sun, 7 May 2006 14:02:53 +0000 (14:02 +0000)]
__mdd_index_insert uses lu_fid a parameter instead of mdd_object

18 years agoabsence of name is not error due to 'object_create' operation,
tappro [Sun, 7 May 2006 14:00:21 +0000 (14:00 +0000)]
absence of name is not error due to 'object_create' operation,
add mdt_md_mkobj method to create only object

18 years agosetup local index
tappro [Sun, 7 May 2006 13:56:17 +0000 (13:56 +0000)]
setup local index

18 years agoinclude index of MDS in setup config
tappro [Sun, 7 May 2006 13:55:22 +0000 (13:55 +0000)]
include index of MDS in setup config

18 years agoadd methods in osd to support mkdir, remove unused variables from mdt_handler
tappro [Sat, 6 May 2006 14:44:18 +0000 (14:44 +0000)]
add methods in osd to support mkdir, remove unused variables from mdt_handler
for now.

18 years agoforgotten bits of yesterday object index fix
nikita [Sat, 6 May 2006 11:58:22 +0000 (11:58 +0000)]
forgotten bits of yesterday object index fix

18 years agofile llverfs.c was added on branch b_new_cmd on 2006-08-20 13:13:19 +0000
yury [Sat, 6 May 2006 00:26:04 +0000 (00:26 +0000)]
file llverfs.c was added on branch b_new_cmd on 2006-08-20 13:13:19 +0000

18 years agofile llverdev.c was added on branch b_new_cmd on 2006-08-20 13:13:19 +0000
yury [Sat, 6 May 2006 00:25:56 +0000 (00:25 +0000)]
file llverdev.c was added on branch b_new_cmd on 2006-08-20 13:13:19 +0000

18 years agofile ext3-lookup-dotdot-2.4.20.patch was added on branch b_new_cmd on 2006-08-20...
yury [Fri, 5 May 2006 21:41:58 +0000 (21:41 +0000)]
file ext3-lookup-dotdot-2.4.20.patch was added on branch b_new_cmd on 2006-08-20 13:12:43 +0000

18 years agofile ext3-lookup-dotdot-2.6.9.patch was added on branch b_new_cmd on 2006-08-20 13...
yury [Fri, 5 May 2006 21:41:49 +0000 (21:41 +0000)]
file ext3-lookup-dotdot-2.6.9.patch was added on branch b_new_cmd on 2006-08-20 13:12:43 +0000

18 years agohot fix o2iblnd damage. At least it compiles.
nikita [Fri, 5 May 2006 19:41:41 +0000 (19:41 +0000)]
hot fix o2iblnd damage. At least it compiles.

18 years agofix function declaration and calls due to lockh remove
tappro [Fri, 5 May 2006 18:59:56 +0000 (18:59 +0000)]
fix function declaration and calls due to lockh remove

18 years agoremove unused mdt_lock_handle from several methods due to it is part of mdt_thread_info
tappro [Fri, 5 May 2006 18:49:09 +0000 (18:49 +0000)]
remove unused mdt_lock_handle from several methods due to it is part of mdt_thread_info
remove unsued code from mdt_intent_policy

18 years agofill fid2 only if cid is exists
tappro [Fri, 5 May 2006 18:45:30 +0000 (18:45 +0000)]
fill fid2 only if cid is exists

18 years agoreturn back object index implementation based on a linked-list: we need it to handle...
nikita [Fri, 5 May 2006 16:53:00 +0000 (16:53 +0000)]
return back object index implementation based on a linked-list: we need it to handle object_exists() checks

18 years agoconstify a bit
nikita [Fri, 5 May 2006 15:57:27 +0000 (15:57 +0000)]
constify a bit

18 years agofix grammar
nikita [Fri, 5 May 2006 15:56:59 +0000 (15:56 +0000)]
fix grammar

18 years agofix pre/post conditions
nikita [Thu, 4 May 2006 20:33:08 +0000 (20:33 +0000)]
fix pre/post conditions

18 years agorename fid,replayfid in mdt_rec_create to the fid1,fid2 and use fid2 properly
tappro [Thu, 4 May 2006 19:34:56 +0000 (19:34 +0000)]
rename fid,replayfid in mdt_rec_create to the fid1,fid2 and use fid2 properly

18 years agoupdate cmm/mdc
tappro [Thu, 4 May 2006 19:29:22 +0000 (19:29 +0000)]
update cmm/mdc

18 years agoupdate mdd
tappro [Thu, 4 May 2006 19:28:46 +0000 (19:28 +0000)]
update mdd

18 years agomove object_create/destroy from device_ops to the object_ops
tappro [Thu, 4 May 2006 19:27:42 +0000 (19:27 +0000)]
move object_create/destroy from device_ops to the object_ops

18 years ago- fixed few typos
yury [Thu, 4 May 2006 17:17:58 +0000 (17:17 +0000)]
- fixed few typos

18 years ago- added delete_inode() which calls obd_fid_delete()
yury [Thu, 4 May 2006 17:17:04 +0000 (17:17 +0000)]
- added delete_inode() which calls obd_fid_delete()

18 years ago- small improvements in llite_fid.c
yury [Thu, 4 May 2006 12:27:26 +0000 (12:27 +0000)]
- small improvements in llite_fid.c

18 years ago- moving start fid init from client_connect_obd() to ptlrpc_connect_interpret() when...
yury [Thu, 4 May 2006 11:44:11 +0000 (11:44 +0000)]
- moving start fid init from client_connect_obd() to ptlrpc_connect_interpret() when actually answer form server comes and we can access connect data.

18 years ago- LMV only implements plecement policy and MDC allocates fids
yury [Thu, 4 May 2006 10:46:22 +0000 (10:46 +0000)]
- LMV only implements plecement policy and MDC allocates fids

18 years ago- LMV saves connect data for all tatgets;
yury [Thu, 4 May 2006 09:06:54 +0000 (09:06 +0000)]
- LMV saves connect data for all tatgets;
- LMV manages fids and llite asks it to allocate new ones.

18 years agomore comments...
nikita [Wed, 3 May 2006 18:25:33 +0000 (18:25 +0000)]
more comments...

18 years agolu_object_fid(): return const as fid is immutable after object creation
nikita [Wed, 3 May 2006 18:25:16 +0000 (18:25 +0000)]
lu_object_fid(): return const as fid is immutable after object creation

18 years agomdt: use lu_object_exists()
nikita [Tue, 2 May 2006 22:30:18 +0000 (22:30 +0000)]
mdt: use lu_object_exists()

18 years agoadd comments for dld
nikita [Tue, 2 May 2006 22:29:39 +0000 (22:29 +0000)]
add comments for dld

18 years agoadd lu_object_exists() and use it
nikita [Tue, 2 May 2006 22:29:08 +0000 (22:29 +0000)]
add lu_object_exists() and use it

18 years agofix wrong parameter in mdd_object_create
tappro [Tue, 2 May 2006 20:18:10 +0000 (20:18 +0000)]
fix wrong parameter in mdd_object_create

18 years agofix wrong parameter type in mdc_object_create
tappro [Tue, 2 May 2006 20:17:13 +0000 (20:17 +0000)]
fix wrong parameter type in mdc_object_create

18 years agoadd mdo_object_create skeleton
tappro [Tue, 2 May 2006 20:09:12 +0000 (20:09 +0000)]
add mdo_object_create skeleton

18 years agorename cmm_mdc into mdc_device
tappro [Tue, 2 May 2006 19:44:48 +0000 (19:44 +0000)]
rename cmm_mdc into mdc_device
make mkdir CMD-compatible

18 years agoadd cross-ref operations in mdd
tappro [Tue, 2 May 2006 19:42:11 +0000 (19:42 +0000)]
add cross-ref operations in mdd

18 years agoadd partial operation for cross-ref mkdir
tappro [Tue, 2 May 2006 19:22:31 +0000 (19:22 +0000)]
add partial operation for cross-ref mkdir

18 years agoupdate 'steal_log' to properly form mdc adding log for MDS
tappro [Mon, 1 May 2006 22:18:41 +0000 (22:18 +0000)]
update 'steal_log' to properly form mdc adding log for MDS
remove unused code
initialize mdc_device for MDS