Whamcloud - gitweb
fs/lustre-release.git
18 years agomdt: new portion of cleanup. Mostly switch to req-layout.
nikita [Wed, 24 May 2006 22:21:27 +0000 (22:21 +0000)]
mdt: new portion of cleanup. Mostly switch to req-layout.

Tested by: mount && cd /mnt/lustre && mkdir foo && ls -ldi foo

18 years agoBranch: b_new_cmd
wangdi [Wed, 24 May 2006 10:02:45 +0000 (10:02 +0000)]
Branch: b_new_cmd
update iam prototype

18 years agofile README was added on branch b_new_cmd on 2006-08-20 13:12:36 +0000
yury [Wed, 24 May 2006 08:21:24 +0000 (08:21 +0000)]
file README was added on branch b_new_cmd on 2006-08-20 13:12:36 +0000

18 years agofile Makefile.am was added on branch b_new_cmd on 2006-08-20 13:12:36 +0000
yury [Wed, 24 May 2006 08:21:17 +0000 (08:21 +0000)]
file Makefile.am was added on branch b_new_cmd on 2006-08-20 13:12:36 +0000

18 years agofile .cvsignore was added on branch b_new_cmd on 2006-08-20 13:12:36 +0000
yury [Wed, 24 May 2006 08:21:10 +0000 (08:21 +0000)]
file .cvsignore was added on branch b_new_cmd on 2006-08-20 13:12:36 +0000

18 years agofix a small defect in mdt_reint_open.
huanghua [Wed, 24 May 2006 08:13:38 +0000 (08:13 +0000)]
fix a small defect in mdt_reint_open.

18 years agoadd lov/osc to mdt. while MDT setup the lovname can be taken from lustre_cfg
tappro [Wed, 24 May 2006 08:07:17 +0000 (08:07 +0000)]
add lov/osc to mdt. while MDT setup the lovname can be taken from lustre_cfg

18 years agoadd mdo_create support in mdd, cmm. small fix in mdt_reint.
tappro [Wed, 24 May 2006 00:44:29 +0000 (00:44 +0000)]
add mdo_create support in mdd, cmm. small fix in mdt_reint.

18 years agoadd initial support for open()
tappro [Wed, 24 May 2006 00:23:19 +0000 (00:23 +0000)]
add initial support for open()

18 years agono need to assign the fid to body->fid1. It is already here.
tappro [Tue, 23 May 2006 23:58:02 +0000 (23:58 +0000)]
no need to assign the fid to body->fid1. It is already here.

18 years agoadd mdo_create() operation
tappro [Tue, 23 May 2006 23:53:46 +0000 (23:53 +0000)]
add mdo_create() operation

18 years ago- put OBD_MD_FLID for root inode;
yury [Tue, 23 May 2006 18:21:25 +0000 (18:21 +0000)]
- put OBD_MD_FLID for root inode;
- return fid to client after create.

18 years ago- updating lli_fid in ll_update_inode(), what would update client's inode FID not...
yury [Tue, 23 May 2006 13:28:50 +0000 (13:28 +0000)]
- updating lli_fid in ll_update_inode(), what would update client's inode FID not only for new allocated inodes.

18 years ago- making inode create and assigning the fid to it atomicaly
yury [Mon, 22 May 2006 13:08:50 +0000 (13:08 +0000)]
- making inode create and assigning the fid to it atomicaly

18 years agofix defect in ->ls_total accounting, found by Mike
nikita [Mon, 22 May 2006 12:15:31 +0000 (12:15 +0000)]
fix defect in ->ls_total accounting, found by Mike

18 years agofile ext3-external-journal-2.6.9.patch was added on branch b_new_cmd on 2006-08-20...
yury [Mon, 22 May 2006 07:10:06 +0000 (07:10 +0000)]
file ext3-external-journal-2.6.9.patch was added on branch b_new_cmd on 2006-08-20 13:12:43 +0000

18 years agonicer indent.
huanghua [Mon, 22 May 2006 06:40:08 +0000 (06:40 +0000)]
nicer indent.

18 years ago- added tasks for merges and milestones
yury [Mon, 22 May 2006 06:34:21 +0000 (06:34 +0000)]
- added tasks for merges and milestones

18 years agomake ->ldo_object_free() a per-object method ->loo_object_free()
nikita [Fri, 19 May 2006 18:28:23 +0000 (18:28 +0000)]
make ->ldo_object_free() a per-object method ->loo_object_free()

18 years agomake lu_context const
nikita [Fri, 19 May 2006 17:47:29 +0000 (17:47 +0000)]
make lu_context const

18 years agocleanup obd/lu compatibility bits.
nikita [Fri, 19 May 2006 17:45:45 +0000 (17:45 +0000)]
cleanup obd/lu compatibility bits.

18 years ago- removed dt_object.h lu_object.h and md_object.h from include/linux, their new locat...
yury [Fri, 19 May 2006 11:31:56 +0000 (11:31 +0000)]
- removed dt_object.h lu_object.h and md_object.h from include/linux, their new location is include/

18 years ago- update from b1_4_mountconf
yury [Fri, 19 May 2006 11:29:53 +0000 (11:29 +0000)]
- update from b1_4_mountconf

18 years agofile llverdev.txt was added on branch b_new_cmd on 2006-08-20 13:12:36 +0000
yury [Thu, 18 May 2006 23:49:57 +0000 (23:49 +0000)]
file llverdev.txt was added on branch b_new_cmd on 2006-08-20 13:12:36 +0000

18 years agofile llverfs.txt was added on branch b_new_cmd on 2006-08-20 13:12:36 +0000
yury [Thu, 18 May 2006 23:49:49 +0000 (23:49 +0000)]
file llverfs.txt was added on branch b_new_cmd on 2006-08-20 13:12:36 +0000

18 years agomdt: test usage of req-layout in mdt_getstatus()
nikita [Thu, 18 May 2006 22:21:11 +0000 (22:21 +0000)]
mdt: test usage of req-layout in mdt_getstatus()

18 years agoadd prototype of req-layout interface (more details to follow)
nikita [Thu, 18 May 2006 21:02:05 +0000 (21:02 +0000)]
add prototype of req-layout interface (more details to follow)

18 years agoptlrpc_rqphase2str(): make argument const, so that DEBUG_REQ() can be called with...
nikita [Thu, 18 May 2006 20:58:42 +0000 (20:58 +0000)]
ptlrpc_rqphase2str(): make argument const, so that DEBUG_REQ() can be called with const argument

18 years agoliblustre: define ARRAY_SIZE() if not already defined.
nikita [Thu, 18 May 2006 20:57:51 +0000 (20:57 +0000)]
liblustre: define ARRAY_SIZE() if not already defined.

18 years agofix offset, re-enable reint_internal call for IT_OPEN, unpack body only for
tappro [Thu, 18 May 2006 13:46:12 +0000 (13:46 +0000)]
fix offset, re-enable reint_internal call for IT_OPEN, unpack body only for
IT_GETATTR/LOOKUP

18 years agolmv_fid_lookup stub similar to CMM
tappro [Thu, 18 May 2006 13:41:23 +0000 (13:41 +0000)]
lmv_fid_lookup stub similar to CMM
fix offset value for IT_OPEN case, re-enable mdt_reint_internal() call

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