Whamcloud - gitweb
huanghua [Fri, 28 Jul 2006 11:34:01 +0000 (11:34 +0000)]
fixed bugs:
(1) using uninitialized variable;
(2) wrong lock type;
wangdi [Fri, 28 Jul 2006 08:40:55 +0000 (08:40 +0000)]
Branch: b_new_cmd
add tmp way to calculate lsm_object_id in mds
yury [Fri, 28 Jul 2006 08:20:30 +0000 (08:20 +0000)]
- fixes with locking. Now mkdir causes client cache flush and thus client always see valid directory content.
nikita [Thu, 27 Jul 2006 22:31:50 +0000 (22:31 +0000)]
new hash-order readdir. Initial implementation
huanghua [Thu, 27 Jul 2006 15:12:40 +0000 (15:12 +0000)]
prevent noisy message from printing
huanghua [Thu, 27 Jul 2006 15:10:00 +0000 (15:10 +0000)]
fixed some open related thing according to inspection results
huanghua [Thu, 27 Jul 2006 14:38:42 +0000 (14:38 +0000)]
(1)reworked last_link handling, using lustre_shrink_reply() to remove unused buffer;
(2) never trust the client provided la_mode except for create
huanghua [Thu, 27 Jul 2006 09:58:50 +0000 (09:58 +0000)]
rework on mdt_handle_last_unlink():
(1) extend reply message if necessary;
(2) getattr & getxattr if necessary;
huanghua [Thu, 27 Jul 2006 05:51:29 +0000 (05:51 +0000)]
we need start a transaction for every open request and return its transaction number back.
huanghua [Wed, 26 Jul 2006 15:08:27 +0000 (15:08 +0000)]
(1) make MDT replayable to eliminate mdc_close() crash on client;
(2) some some debugging code for ll_file_open()/ll_file_release();
(3) add some deugging code for transaction related functions.
wangdi [Wed, 26 Jul 2006 07:15:09 +0000 (07:15 +0000)]
Branch: b_new_cmd
1)keep mdd obd fsfilt and make it support llog.
2)others fixes for llog and lov
huanghua [Wed, 26 Jul 2006 07:01:51 +0000 (07:01 +0000)]
restore tempprary commentted out code in mdc_locks.c:mdc_intent_lock();
some small fixes in other area
nikita [Tue, 25 Jul 2006 20:42:43 +0000 (20:42 +0000)]
osd: implement (trivial) ->dt_body_operaions
yury [Tue, 25 Jul 2006 17:05:57 +0000 (17:05 +0000)]
- many fixes in readdir proto.
huanghua [Tue, 25 Jul 2006 16:14:47 +0000 (16:14 +0000)]
handle ENODATA error
huanghua [Tue, 25 Jul 2006 15:22:57 +0000 (15:22 +0000)]
finally get rid of the defect which caused by a wrong comparism in ldlm_cli_enqueue():
compare with res_id completely.
nikita [Tue, 25 Jul 2006 13:09:32 +0000 (13:09 +0000)]
xattr support in md/dt stack
huanghua [Tue, 25 Jul 2006 07:57:25 +0000 (07:57 +0000)]
fixed some bug during testing:
(1) add osd_mksym() and osd_mknod() empty functions to avoid OOPS;
(2) temporarily commentted out a sanity checking in lsm_lmm_verify_common();
(3) a small fix in mdt_reint_unlink().
huanghua [Tue, 25 Jul 2006 03:29:50 +0000 (03:29 +0000)]
remove compile warning due to incompatible interface definition.
huanghua [Tue, 25 Jul 2006 03:26:58 +0000 (03:26 +0000)]
remove compile warning due to imcompatible interface definition.
huanghua [Tue, 25 Jul 2006 03:10:11 +0000 (03:10 +0000)]
beautify the code.
nikita [Mon, 24 Jul 2006 19:25:57 +0000 (19:25 +0000)]
add ->{do,moo}_xattr_list() method to list existing extended attributes
nikita [Mon, 24 Jul 2006 19:24:28 +0000 (19:24 +0000)]
ext2_check_page(): terminate error message with \n
huanghua [Mon, 24 Jul 2006 09:40:09 +0000 (09:40 +0000)]
fixed a defect in mdt_reint_rename(): if srcdir == dstdir, we only should take a lock to avoid deadlock. Please notice, much more deadlock situations should be avoided in the future!
nikita [Mon, 24 Jul 2006 06:14:59 +0000 (06:14 +0000)]
simplify global lu_* initializations
huanghua [Mon, 24 Jul 2006 03:28:09 +0000 (03:28 +0000)]
some fixes in readpage:
(1) alloc lu_rdpd->rp_pages[][];
(2) remove some unused variables;
wangdi [Sun, 23 Jul 2006 14:19:04 +0000 (14:19 +0000)]
Branch: b_new_cmd
replace !handle with IS_ERR(handle)
yury [Sun, 23 Jul 2006 11:46:26 +0000 (11:46 +0000)]
- rdpg allocated in thread_info instead of stack.
wangdi [Sun, 23 Jul 2006 10:45:22 +0000 (10:45 +0000)]
Branch: b_new_cmd
update lov and llog on mdd
yury [Sun, 23 Jul 2006 10:31:18 +0000 (10:31 +0000)]
- fixes in readdir proto.
yury [Sun, 23 Jul 2006 10:02:00 +0000 (10:02 +0000)]
- added basic readdir stuff;
- fixed bug in mdt_handle_common()
nikita [Sat, 22 Jul 2006 11:07:00 +0000 (11:07 +0000)]
fix typo
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.
nikita [Fri, 21 Jul 2006 19:24:42 +0000 (19:24 +0000)]
osd: add error handling in osd_object_ref_{add,del}()
nikita [Fri, 21 Jul 2006 19:24:03 +0000 (19:24 +0000)]
fix forward declaration
nikita [Fri, 21 Jul 2006 19:23:08 +0000 (19:23 +0000)]
ll_fid_fini(): remove duplicate RETURN()
nikita [Fri, 21 Jul 2006 19:21:59 +0000 (19:21 +0000)]
iam: small cleanups, to remove compiler warnings
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
nikita [Fri, 21 Jul 2006 19:19:25 +0000 (19:19 +0000)]
fld_client_init(): conditionalize label only used by __KERNEL__ code
yury [Fri, 21 Jul 2006 12:40:15 +0000 (12:40 +0000)]
- make liblustre build.
huanghua [Fri, 21 Jul 2006 09:36:26 +0000 (09:36 +0000)]
added some debug code
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.
huanghua [Fri, 21 Jul 2006 07:54:29 +0000 (07:54 +0000)]
cleanup & fix according to code inspection result from nikita
huanghua [Fri, 21 Jul 2006 06:13:09 +0000 (06:13 +0000)]
remove debug code; restore MAX_MD_SIZE to a smaller one
huanghua [Fri, 21 Jul 2006 05:35:02 +0000 (05:35 +0000)]
modified open handling, return lov ea to client.
nikita [Thu, 20 Jul 2006 22:59:08 +0000 (22:59 +0000)]
mdd: ref_{add,del}(): simplifications, cleanups, and fixes
nikita [Thu, 20 Jul 2006 22:58:30 +0000 (22:58 +0000)]
osd: implement ->dt_conf_get()
nikita [Thu, 20 Jul 2006 22:58:11 +0000 (22:58 +0000)]
dt: add ->dt_conf_get() operation
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
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
nikita [Thu, 20 Jul 2006 20:37:16 +0000 (20:37 +0000)]
mdt: some preliminary cleanup of readpage code
nikita [Thu, 20 Jul 2006 20:36:29 +0000 (20:36 +0000)]
osd: implement index iterations dt_index_operations
nikita [Thu, 20 Jul 2006 20:35:41 +0000 (20:35 +0000)]
export iam_it_*() functions
nikita [Thu, 20 Jul 2006 20:35:03 +0000 (20:35 +0000)]
add iterator operations to dt_index_operations
nikita [Thu, 20 Jul 2006 14:54:25 +0000 (14:54 +0000)]
remove pleonastic "_object" from dt_object_operations methods
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.
wangdi [Thu, 20 Jul 2006 10:19:11 +0000 (10:19 +0000)]
Branch: b_new_cmd
add mdd obd for llog and lov
huanghua [Thu, 20 Jul 2006 09:29:04 +0000 (09:29 +0000)]
ugly setattr support. need more work
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
tappro [Wed, 19 Jul 2006 23:19:33 +0000 (23:19 +0000)]
define bit flags for lu_attr and md_attr
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
tappro [Wed, 19 Jul 2006 23:13:22 +0000 (23:13 +0000)]
put transno into mdt_thread_key(), use that key in code
nikita [Wed, 19 Jul 2006 14:52:19 +0000 (14:52 +0000)]
fld_cache_delete(): use safe hlist iteration
nikita [Wed, 19 Jul 2006 13:10:38 +0000 (13:10 +0000)]
pass lu_context to ->o_connect() method
nikita [Wed, 19 Jul 2006 12:00:10 +0000 (12:00 +0000)]
mds_filter_recovery_request(): 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
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
tappro [Wed, 19 Jul 2006 07:59:53 +0000 (07:59 +0000)]
MDT updates 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
tappro [Wed, 19 Jul 2006 07:53:50 +0000 (07:53 +0000)]
update the CMM due to md_attr changes
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
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
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
tappro [Tue, 18 Jul 2006 11:05:13 +0000 (11:05 +0000)]
increase nlink if dir is created
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()
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
tappro [Sun, 16 Jul 2006 12:51:52 +0000 (12:51 +0000)]
update handle_last_unlink()
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
tappro [Sun, 16 Jul 2006 12:45:42 +0000 (12:45 +0000)]
add commit callback in osd level and call commit hooks.
huanghua [Sat, 15 Jul 2006 16:30:09 +0000 (16:30 +0000)]
revisioned due to inspection result.
nikita [Fri, 14 Jul 2006 16:03:44 +0000 (16:03 +0000)]
some cleanups and clarifications (a by-product of object index dld)
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;