Whamcloud - gitweb
fs/lustre-release.git
18 years agoBranch: b_new_cmd
wangdi [Sun, 23 Jul 2006 10:45:22 +0000 (10:45 +0000)]
Branch: b_new_cmd
update lov and llog on mdd

18 years ago- fixes in readdir proto.
yury [Sun, 23 Jul 2006 10:31:18 +0000 (10:31 +0000)]
- fixes in readdir proto.

18 years ago- added basic readdir stuff;
yury [Sun, 23 Jul 2006 10:02:00 +0000 (10:02 +0000)]
- added basic readdir stuff;
- fixed bug in mdt_handle_common()

18 years agofix typo
nikita [Sat, 22 Jul 2006 11:07:00 +0000 (11:07 +0000)]
fix typo

18 years agoupdates to lu_object printing code:
nikita [Fri, 21 Jul 2006 19:25:56 +0000 (19:25 +0000)]
updates to lu_object printing code:

 - print objects into log (libcfs_debug_msg());

 - LU_OBJECT_DEBUG() macro.

18 years agoosd: add error handling in osd_object_ref_{add,del}()
nikita [Fri, 21 Jul 2006 19:24:42 +0000 (19:24 +0000)]
osd: add error handling in osd_object_ref_{add,del}()

18 years agofix forward declaration
nikita [Fri, 21 Jul 2006 19:24:03 +0000 (19:24 +0000)]
fix forward declaration

18 years agoll_fid_fini(): remove duplicate RETURN()
nikita [Fri, 21 Jul 2006 19:23:08 +0000 (19:23 +0000)]
ll_fid_fini(): remove duplicate RETURN()

18 years agoiam: small cleanups, to remove compiler warnings
nikita [Fri, 21 Jul 2006 19:21:59 +0000 (19:21 +0000)]
iam: small cleanups, to remove compiler warnings

18 years agodt_object_operations: local ->do_ref_{add,del}() cannot fail: this assumption simplif...
nikita [Fri, 21 Jul 2006 19:20:21 +0000 (19:20 +0000)]
dt_object_operations: local ->do_ref_{add,del}() cannot fail: this assumption simplifies error handling in higher layers considerably

18 years agofld_client_init(): conditionalize label only used by __KERNEL__ code
nikita [Fri, 21 Jul 2006 19:19:25 +0000 (19:19 +0000)]
fld_client_init(): conditionalize label only used by __KERNEL__ code

18 years ago- make liblustre build.
yury [Fri, 21 Jul 2006 12:40:15 +0000 (12:40 +0000)]
- make liblustre build.

18 years agoadded some debug code
huanghua [Fri, 21 Jul 2006 09:36:26 +0000 (09:36 +0000)]
added some debug code

18 years agomodified the mdt_object_unlock() interface:
huanghua [Fri, 21 Jul 2006 09:14:09 +0000 (09:14 +0000)]
modified the mdt_object_unlock() interface:
(1) add another parameter "int decref";
(1.1) if decref, call ldlm_lock_decref() to drop the lock;
(1.2) else call ptlrpc_save_lock() to save to lock into request.
(2) if some operation has transaction and success, we need to save the lock,
    otherwise, we just drop the lock.

18 years agocleanup & fix according to code inspection result from nikita
huanghua [Fri, 21 Jul 2006 07:54:29 +0000 (07:54 +0000)]
cleanup & fix according to code inspection result from nikita

18 years agoremove debug code; restore MAX_MD_SIZE to a smaller one
huanghua [Fri, 21 Jul 2006 06:13:09 +0000 (06:13 +0000)]
remove debug code; restore MAX_MD_SIZE to a smaller one

18 years agomodified open handling, return lov ea to client.
huanghua [Fri, 21 Jul 2006 05:35:02 +0000 (05:35 +0000)]
modified open handling, return lov ea to client.

18 years agomdd: ref_{add,del}(): simplifications, cleanups, and fixes
nikita [Thu, 20 Jul 2006 22:59:08 +0000 (22:59 +0000)]
mdd: ref_{add,del}(): simplifications, cleanups, and fixes

18 years agoosd: implement ->dt_conf_get()
nikita [Thu, 20 Jul 2006 22:58:30 +0000 (22:58 +0000)]
osd: implement ->dt_conf_get()

18 years agodt: add ->dt_conf_get() operation
nikita [Thu, 20 Jul 2006 22:58:11 +0000 (22:58 +0000)]
dt: add ->dt_conf_get() operation

18 years agomdt: simplify rc vs. ->rq_status error reporting: *everything* is reported through...
nikita [Thu, 20 Jul 2006 21:19:54 +0000 (21:19 +0000)]
mdt: simplify rc vs. ->rq_status error reporting: *everything* is reported through ->rq_status

18 years agomdd: 0. add and use mdd2lu_obj(); 1. implement mdd_dir_is_empty(), 2. __mdd_object_in...
nikita [Thu, 20 Jul 2006 20:38:47 +0000 (20:38 +0000)]
mdd: 0. add and use mdd2lu_obj(); 1. implement mdd_dir_is_empty(), 2. __mdd_object_initialize(): add dot and dotdot into newly created directory

18 years agomdt: some preliminary cleanup of readpage code
nikita [Thu, 20 Jul 2006 20:37:16 +0000 (20:37 +0000)]
mdt: some preliminary cleanup of readpage code

18 years agoosd: implement index iterations dt_index_operations
nikita [Thu, 20 Jul 2006 20:36:29 +0000 (20:36 +0000)]
osd: implement index iterations dt_index_operations

18 years agoexport iam_it_*() functions
nikita [Thu, 20 Jul 2006 20:35:41 +0000 (20:35 +0000)]
export iam_it_*() functions

18 years agoadd iterator operations to dt_index_operations
nikita [Thu, 20 Jul 2006 20:35:03 +0000 (20:35 +0000)]
add iterator operations to dt_index_operations

18 years agoremove pleonastic "_object" from dt_object_operations methods
nikita [Thu, 20 Jul 2006 14:54:25 +0000 (14:54 +0000)]
remove pleonastic "_object" from dt_object_operations methods

18 years agoadd lov_mds_md and len into ma_attr to receive lov ea.
huanghua [Thu, 20 Jul 2006 10:36:10 +0000 (10:36 +0000)]
add lov_mds_md and len into ma_attr to receive lov ea.

18 years agoBranch: b_new_cmd
wangdi [Thu, 20 Jul 2006 10:19:11 +0000 (10:19 +0000)]
Branch: b_new_cmd
add mdd obd for llog and lov

18 years agougly setattr support. need more work
huanghua [Thu, 20 Jul 2006 09:29:04 +0000 (09:29 +0000)]
ugly setattr support. need more work

18 years ago- fill attr in mdd while create/unlink to avoid getattr in MDT
tappro [Wed, 19 Jul 2006 23:25:54 +0000 (23:25 +0000)]
- fill attr in mdd while create/unlink to avoid getattr in MDT
- sanity checks in mdd_unlink() for EISDIR, ENOTDIR cases
- fix lost rc in mdd_unlink()
- add check for rmdir ENOTEMPTY case and mdd_empty_dir() method. It is
  unfinished, need support from osd+iam to iterate through the dir

18 years agodefine bit flags for lu_attr and md_attr
tappro [Wed, 19 Jul 2006 23:19:33 +0000 (23:19 +0000)]
define bit flags for lu_attr and md_attr

18 years agofix defect with open of existent file. There is no FID supplied for child in
tappro [Wed, 19 Jul 2006 23:17:07 +0000 (23:17 +0000)]
fix defect with open of existent file. There is no FID supplied for child in
that case

18 years agoput transno into mdt_thread_key(), use that key in code
tappro [Wed, 19 Jul 2006 23:13:22 +0000 (23:13 +0000)]
put transno into mdt_thread_key(), use that key in code

18 years agofld_cache_delete(): use safe hlist iteration
nikita [Wed, 19 Jul 2006 14:52:19 +0000 (14:52 +0000)]
fld_cache_delete(): use safe hlist iteration

18 years agopass lu_context to ->o_connect() method
nikita [Wed, 19 Jul 2006 13:10:38 +0000 (13:10 +0000)]
pass lu_context to ->o_connect() method

18 years agomds_filter_recovery_request(): share code between mds and mdt
nikita [Wed, 19 Jul 2006 12:00:10 +0000 (12:00 +0000)]
mds_filter_recovery_request(): share code between mds and mdt

18 years agomds_msg_check_version(): share code between mds and mdt
nikita [Wed, 19 Jul 2006 11:41:52 +0000 (11:41 +0000)]
mds_msg_check_version(): share code between mds and mdt

18 years agolu_context_key: add tags to contexts and keys to control which keys should be allocat...
nikita [Wed, 19 Jul 2006 11:30:59 +0000 (11:30 +0000)]
lu_context_key: add tags to contexts and keys to control which keys should be allocated in which threads

18 years agoMDT updates due to md_attr changes.
tappro [Wed, 19 Jul 2006 07:59:53 +0000 (07:59 +0000)]
MDT updates due to md_attr changes.

18 years ago-update due to md_attr changes
tappro [Wed, 19 Jul 2006 07:58:16 +0000 (07:58 +0000)]
-update due to md_attr changes
- fix mdd_create() - check return code after __mdd_index_insert, do lookup
  before creation, do ref_add in error handling code instead of ref_del

18 years agoupdate the CMM due to md_attr changes
tappro [Wed, 19 Jul 2006 07:53:50 +0000 (07:53 +0000)]
update the CMM due to md_attr changes

18 years agointroduce the md_attr. It contains lu_attr for now and can be extended by lov ea
tappro [Wed, 19 Jul 2006 07:51:50 +0000 (07:51 +0000)]
introduce the md_attr. It contains lu_attr for now and can be extended by lov ea
data

18 years agorename dt_is_dir() to dt_try_as_dir() to reflect the fact that this function performs...
nikita [Tue, 18 Jul 2006 11:58:08 +0000 (11:58 +0000)]
rename dt_is_dir() to dt_try_as_dir() to reflect the fact that this function performs some initialization

18 years agoosd_mkfile(): do not set ->do_index_ops for just created object, otherwise dt_is_dir...
nikita [Tue, 18 Jul 2006 11:53:47 +0000 (11:53 +0000)]
osd_mkfile(): do not set ->do_index_ops for just created object, otherwise dt_is_dir() does not work as expected

18 years agoincrease nlink if dir is created
tappro [Tue, 18 Jul 2006 11:05:13 +0000 (11:05 +0000)]
increase nlink if dir is created

18 years agocheck readonly file system asap: in mdt_req_handle() & in mdt_intent_opc()
huanghua [Tue, 18 Jul 2006 08:04:29 +0000 (08:04 +0000)]
check readonly file system asap: in mdt_req_handle() & in mdt_intent_opc()

18 years agoBranch: b_new_cmd
wangdi [Mon, 17 Jul 2006 09:49:56 +0000 (09:49 +0000)]
Branch: b_new_cmd
remove md_lov_ctxt from md_lov_info, it is per_thread item

18 years agofile ldiskfs-2.6.18-vanilla.series was added on branch b_new_cmd on 2006-08-20 13...
yury [Sun, 16 Jul 2006 15:38:57 +0000 (15:38 +0000)]
file ldiskfs-2.6.18-vanilla.series was added on branch b_new_cmd on 2006-08-20 13:12:47 +0000

18 years agofile ext3-mballoc2-2.6.18-vanilla.patch was added on branch b_new_cmd on 2006-08...
yury [Sun, 16 Jul 2006 15:38:52 +0000 (15:38 +0000)]
file ext3-mballoc2-2.6.18-vanilla.patch was added on branch b_new_cmd on 2006-08-20 13:12:43 +0000

18 years agofile 2.6.18-vanilla.series was added on branch b_new_cmd on 2006-08-20 13:12:47 ...
yury [Sun, 16 Jul 2006 15:38:47 +0000 (15:38 +0000)]
file 2.6.18-vanilla.series was added on branch b_new_cmd on 2006-08-20 13:12:47 +0000

18 years agofile tcp-zero-copy-2.6.18-vanilla.patch was added on branch b_new_cmd on 2006-08...
yury [Sun, 16 Jul 2006 15:38:42 +0000 (15:38 +0000)]
file tcp-zero-copy-2.6.18-vanilla.patch was added on branch b_new_cmd on 2006-08-20 13:12:43 +0000

18 years agofile nfs-cifs-intent-2.6.18-vanilla.patch was added on branch b_new_cmd on 2006-08...
yury [Sun, 16 Jul 2006 15:38:37 +0000 (15:38 +0000)]
file nfs-cifs-intent-2.6.18-vanilla.patch was added on branch b_new_cmd on 2006-08-20 13:12:43 +0000

18 years agofile ext3-multi-mount-protection-2.6.18-vanilla.patch was added on branch b_new_cmd...
yury [Sun, 16 Jul 2006 15:38:32 +0000 (15:38 +0000)]
file ext3-multi-mount-protection-2.6.18-vanilla.patch was added on branch b_new_cmd on 2006-08-20 13:12:43 +0000

18 years agofile vfs_races-2.6.18-vanilla.patch was added on branch b_new_cmd on 2006-08-20 13...
yury [Sun, 16 Jul 2006 15:38:27 +0000 (15:38 +0000)]
file vfs_races-2.6.18-vanilla.patch was added on branch b_new_cmd on 2006-08-20 13:12:44 +0000

18 years agofile vfs_nointent-2.6.18-vanilla.patch was added on branch b_new_cmd on 2006-08-20...
yury [Sun, 16 Jul 2006 15:38:20 +0000 (15:38 +0000)]
file vfs_nointent-2.6.18-vanilla.patch was added on branch b_new_cmd on 2006-08-20 13:12:44 +0000

18 years agofile vfs_intent-2.6.18-vanilla.patch was added on branch b_new_cmd on 2006-08-20...
yury [Sun, 16 Jul 2006 15:38:15 +0000 (15:38 +0000)]
file vfs_intent-2.6.18-vanilla.patch was added on branch b_new_cmd on 2006-08-20 13:12:44 +0000

18 years agofile jbd-jcberr-2.6.18-vanilla.patch was added on branch b_new_cmd on 2006-08-20...
yury [Sun, 16 Jul 2006 15:38:10 +0000 (15:38 +0000)]
file jbd-jcberr-2.6.18-vanilla.patch was added on branch b_new_cmd on 2006-08-20 13:12:43 +0000

18 years agofile iopen-misc-2.6.18-vanilla.patch was added on branch b_new_cmd on 2006-08-20...
yury [Sun, 16 Jul 2006 15:38:05 +0000 (15:38 +0000)]
file iopen-misc-2.6.18-vanilla.patch was added on branch b_new_cmd on 2006-08-20 13:12:43 +0000

18 years agofile ext3-wantedi-misc-2.6.18-vanilla.patch was added on branch b_new_cmd on 2006...
yury [Sun, 16 Jul 2006 15:38:00 +0000 (15:38 +0000)]
file ext3-wantedi-misc-2.6.18-vanilla.patch was added on branch b_new_cmd on 2006-08-20 13:12:43 +0000

18 years agofile export_symbols-2.6.18-vanilla.patch was added on branch b_new_cmd on 2006-08...
yury [Sun, 16 Jul 2006 15:37:55 +0000 (15:37 +0000)]
file export_symbols-2.6.18-vanilla.patch was added on branch b_new_cmd on 2006-08-20 13:12:42 +0000

18 years agofile export-truncate-2.6.18-vanilla.patch was added on branch b_new_cmd on 2006-08...
yury [Sun, 16 Jul 2006 15:37:50 +0000 (15:37 +0000)]
file export-truncate-2.6.18-vanilla.patch was added on branch b_new_cmd on 2006-08-20 13:12:42 +0000

18 years agofile export-show_task-2.6.18-vanilla.patch was added on branch b_new_cmd on 2006...
yury [Sun, 16 Jul 2006 15:37:45 +0000 (15:37 +0000)]
file export-show_task-2.6.18-vanilla.patch was added on branch b_new_cmd on 2006-08-20 13:12:42 +0000

18 years agofile export-2.6.18-vanilla.patch was added on branch b_new_cmd on 2006-08-20 13:12...
yury [Sun, 16 Jul 2006 15:37:40 +0000 (15:37 +0000)]
file export-2.6.18-vanilla.patch was added on branch b_new_cmd on 2006-08-20 13:12:42 +0000

18 years agofile dev_read_only-2.6.18-vanilla.patch was added on branch b_new_cmd on 2006-08...
yury [Sun, 16 Jul 2006 15:37:35 +0000 (15:37 +0000)]
file dev_read_only-2.6.18-vanilla.patch was added on branch b_new_cmd on 2006-08-20 13:12:42 +0000

18 years agofile ext3-extents-2.6.18-vanilla.patch was added on branch b_new_cmd on 2006-08-20...
yury [Sun, 16 Jul 2006 15:37:28 +0000 (15:37 +0000)]
file ext3-extents-2.6.18-vanilla.patch was added on branch b_new_cmd on 2006-08-20 13:12:43 +0000

18 years agoupdate handle_last_unlink()
tappro [Sun, 16 Jul 2006 12:51:52 +0000 (12:51 +0000)]
update handle_last_unlink()

18 years ago add transaction callbacks to the MDT, use them to manage the transno,
tappro [Sun, 16 Jul 2006 12:50:41 +0000 (12:50 +0000)]
 add transaction callbacks to the MDT, use them to manage the transno,
last_commited/etc

18 years agoadd commit callback in osd level and call commit hooks.
tappro [Sun, 16 Jul 2006 12:45:42 +0000 (12:45 +0000)]
add commit callback in osd level and call commit hooks.

18 years agorevisioned due to inspection result.
huanghua [Sat, 15 Jul 2006 16:30:09 +0000 (16:30 +0000)]
revisioned due to inspection result.

18 years agosome cleanups and clarifications (a by-product of object index dld)
nikita [Fri, 14 Jul 2006 16:03:44 +0000 (16:03 +0000)]
some cleanups and clarifications (a by-product of object index dld)

18 years ago(1) fid is now allocated by client.
huanghua [Fri, 14 Jul 2006 11:39:48 +0000 (11:39 +0000)]
(1) fid is now allocated by client.
(2) transaction number is updated in mdt_intent_policy if request is an intent lock;

18 years agoBranch: b_new_cmd
wangdi [Fri, 14 Jul 2006 10:25:45 +0000 (10:25 +0000)]
Branch: b_new_cmd
fix set lov md for reg file

18 years agoBranch: b_new_cmd
wangdi [Fri, 14 Jul 2006 09:34:22 +0000 (09:34 +0000)]
Branch: b_new_cmd
serval fixes about mdd lov

18 years agofile l_facl.c was added on branch b_new_cmd on 2006-09-24 14:11:02 +0000
fanyong [Fri, 14 Jul 2006 09:03:52 +0000 (09:03 +0000)]
file l_facl.c was added on branch b_new_cmd on 2006-09-24 14:11:02 +0000

18 years agofile remote_perm.c was added on branch b_new_cmd on 2006-09-24 14:10:55 +0000
fanyong [Fri, 14 Jul 2006 09:03:48 +0000 (09:03 +0000)]
file remote_perm.c was added on branch b_new_cmd on 2006-09-24 14:10:55 +0000

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.